POST api/ItemType/Save

Request Information

URI Parameters

None.

Body Parameters

ItemType
NameDescriptionTypeAdditional information
PostState

boolean

None.

EntryDate

date

None.

ModifyDate

date

None.

PostDate

date

None.

CompanyId

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

PostUser

integer

None.

Type

integer

None.

TypeCode

string

None.

TypeDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PostState": true,
  "EntryDate": "2025-10-29T13:14:36.9006294+05:00",
  "ModifyDate": "2025-10-29T13:14:36.9006294+05:00",
  "PostDate": "2025-10-29T13:14:36.9006294+05:00",
  "CompanyId": 4,
  "EntryUser": 5,
  "Id": 6,
  "ModifyUser": 7,
  "OrganizationId": 8,
  "PostUser": 9,
  "Type": 10,
  "TypeCode": "sample string 11",
  "TypeDescription": "sample string 12"
}

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.