POST api/lookup/create

Request Information

URI Parameters

None.

Body Parameters

DTOSYSUserLookup
NameDescriptionTypeAdditional information
SYSUserLookupID

integer

None.

LinkTable

string

None.

Title

string

None.

Type

string

None.

Description

string

None.

GenerateUserQuery

boolean

None.

IsSystem

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedByUserID

integer

None.

UpdatedByUserID

integer

None.

FlagDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SYSUserLookupID": 1,
  "LinkTable": "sample string 2",
  "Title": "sample string 3",
  "Type": "sample string 4",
  "Description": "sample string 5",
  "GenerateUserQuery": true,
  "IsSystem": true,
  "DateCreated": "2025-10-26T11:12:05.0484521+08:00",
  "DateUpdated": "2025-10-26T11:12:05.0484521+08:00",
  "CreatedByUserID": 10,
  "UpdatedByUserID": 11,
  "FlagDeleted": true
}

application/xml, text/xml

Sample:
<DTOSYSUserLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <CreatedByUserID>10</CreatedByUserID>
  <DateCreated>2025-10-26T11:12:05.0484521+08:00</DateCreated>
  <DateUpdated>2025-10-26T11:12:05.0484521+08:00</DateUpdated>
  <Description>sample string 5</Description>
  <FlagDeleted>true</FlagDeleted>
  <GenerateUserQuery>true</GenerateUserQuery>
  <IsSystem>true</IsSystem>
  <LinkTable>sample string 2</LinkTable>
  <SYSUserLookupID>1</SYSUserLookupID>
  <Title>sample string 3</Title>
  <Type>sample string 4</Type>
  <UpdatedByUserID>11</UpdatedByUserID>
</DTOSYSUserLookup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DTOSYSUserLookup'.

Response Information

Resource Description

DTOSYSUserLookup
NameDescriptionTypeAdditional information
SYSUserLookupID

integer

None.

LinkTable

string

None.

Title

string

None.

Type

string

None.

Description

string

None.

GenerateUserQuery

boolean

None.

IsSystem

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedByUserID

integer

None.

UpdatedByUserID

integer

None.

FlagDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "SYSUserLookupID": 1,
  "LinkTable": "sample string 2",
  "Title": "sample string 3",
  "Type": "sample string 4",
  "Description": "sample string 5",
  "GenerateUserQuery": true,
  "IsSystem": true,
  "DateCreated": "2025-10-26T11:12:05.0640777+08:00",
  "DateUpdated": "2025-10-26T11:12:05.0640777+08:00",
  "CreatedByUserID": 10,
  "UpdatedByUserID": 11,
  "FlagDeleted": true
}

application/xml, text/xml

Sample:
<DTOSYSUserLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <CreatedByUserID>10</CreatedByUserID>
  <DateCreated>2025-10-26T11:12:05.0640777+08:00</DateCreated>
  <DateUpdated>2025-10-26T11:12:05.0640777+08:00</DateUpdated>
  <Description>sample string 5</Description>
  <FlagDeleted>true</FlagDeleted>
  <GenerateUserQuery>true</GenerateUserQuery>
  <IsSystem>true</IsSystem>
  <LinkTable>sample string 2</LinkTable>
  <SYSUserLookupID>1</SYSUserLookupID>
  <Title>sample string 3</Title>
  <Type>sample string 4</Type>
  <UpdatedByUserID>11</UpdatedByUserID>
</DTOSYSUserLookup>