Add New Lookup Type
post
/obedm-common-services/lookuptype
This endpoint is used to add a new Lookup Type.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId(required): string
The ID of the Application.
-
branchCode(required): string
The branch code associated with the request.
-
contentType: string
The Content Type of The Request.
-
tenantId: string
The ID of the Tenant.
-
userId(required): string
The ID of the User.
Request Body that contains data required for creating a new Lookup Type.
Root Schema : DmTmLookupTypeDTO
Type:
Show Source
object
-
DmTmLookupCodeDTO:
array DmTmLookupCodeDTO
-
lookupTypeCd:
string
The lookup type code.
-
lookupTypeDesc:
string
The lookup type description.
Nested Schema : DmTmLookupCodeDTO
Type:
Show Source
object
-
enabledFlg:
boolean
Enabled Flag
-
id:
string
ID
-
lookupCd:
string
Lookup Code
-
lookupDesc:
string
Lookup Description
-
lookupTypeMasterId:
string
Lookup Type Master ID
-
seqNo:
integer
Minimum Value:
0
Maximum Value:999
Sequence Number -
subCodeOne:
string
Sub Code One
-
subCodeTwo:
string
Sub Code Two
-
sysDefFlg:
boolean
System Def Flag
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure.
Headers
-
Location: string
URL of newly created Lookup Type.
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes:
array codes
An array of response codes.
-
getResponse:
object NotesCollection
Collection of Notes.
-
id:
string
The ID of the response.
-
requestId:
string
The ID of the request associated with the response.
-
saveResponse:
object inlineResponse201
ID of the newly created order.
-
status:
string
The status of the response.
Nested Schema : codes
Type:
array
An array of response codes.
Show Source
-
Array of:
object ResponseCode
Response code for account.
Nested Schema : ResponseCode
Type:
object
Response code for account.
Show Source
-
arg:
string
The argument used in the response message.
-
args:
array args
The arguments used in the response message.
-
Code:
string
The code representing the response status.
-
Desc:
string
The description of the response status.
-
Language:
string
The language used for the response message.
-
Type:
string
The type of the response status.
Nested Schema : items
Type:
object
Nested Schema : NotesModel
Type:
object
Notes model
Show Source
-
accountId:
string
The unique identifier of the account for which the note is created.
-
actionId:
string
Action ID linked to the Note
-
alert:
string
Alert Flag
-
applyToAllAccounts:
boolean
Apply To All Accounts Flag
-
capturedBy:
string
The unique identifier of the user who captured the note.
-
caseId:
string
Case Id
-
createdDate:
string
Created Date
-
desc:
string
A description of the note.
-
notesId:
string
The unique identifier of the note.
-
notesType:
string
The type of the note.
-
status:
string
The status of the note.
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error