POST api/CRMLookUp/GenrateCode

Request Information

URI Parameters

None.

Body Parameters

CRMLookUp
NameDescriptionTypeAdditional information
PostState

boolean

None.

EntryDate

date

None.

PostDate

date

None.

Code

integer

None.

CompanyId

integer

None.

CRMLookupTypeId

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

PostUser

integer

None.

LookupName

string

None.

ModifyDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PostState": true,
  "EntryDate": "2025-10-29T13:11:08.739464+05:00",
  "PostDate": "2025-10-29T13:11:08.739464+05:00",
  "Code": 4,
  "CompanyId": 5,
  "CRMLookupTypeId": 6,
  "EntryUser": 7,
  "Id": 8,
  "ModifyUser": 9,
  "OrganizationId": 10,
  "PostUser": 11,
  "LookupName": "sample string 12",
  "ModifyDate": "2025-10-29T13:11:08.739464+05:00"
}

application/xml, text/xml

Sample:
<CRMLookUp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.CRM">
  <CRMLookupTypeId>6</CRMLookupTypeId>
  <Code>4</Code>
  <CompanyId>5</CompanyId>
  <EntryDate>2025-10-29T13:11:08.739464+05:00</EntryDate>
  <EntryUser>7</EntryUser>
  <Id>8</Id>
  <LookupName>sample string 12</LookupName>
  <ModifyDate>2025-10-29T13:11:08.739464+05:00</ModifyDate>
  <ModifyUser>9</ModifyUser>
  <OrganizationId>10</OrganizationId>
  <PostDate>2025-10-29T13:11:08.739464+05:00</PostDate>
  <PostState>true</PostState>
  <PostUser>11</PostUser>
</CRMLookUp>

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 'CRMLookUp'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.