POST api/UOM/Save

Request Information

URI Parameters

None.

Body Parameters

UOM
NameDescriptionTypeAdditional information
UOMStatus

boolean

None.

EntryDate

date

None.

ModifyDate

date

None.

CompanyId

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

UOMCode

string

None.

UOMDescription

string

None.

UOMSymbol

string

None.

Equivalent

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "UOMStatus": true,
  "EntryDate": "2025-10-29T13:11:08.8333382+05:00",
  "ModifyDate": "2025-10-29T13:11:08.8333382+05:00",
  "CompanyId": 4,
  "EntryUser": 5,
  "Id": 6,
  "ModifyUser": 7,
  "OrganizationId": 8,
  "UOMCode": "sample string 9",
  "UOMDescription": "sample string 10",
  "UOMSymbol": "sample string 11",
  "Equivalent": 12.1
}

application/xml, text/xml

Sample:
<UOM 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:11:08.8333382+05:00</EntryDate>
  <EntryUser>5</EntryUser>
  <Equivalent>12.1</Equivalent>
  <Id>6</Id>
  <ModifyDate>2025-10-29T13:11:08.8333382+05:00</ModifyDate>
  <ModifyUser>7</ModifyUser>
  <OrganizationId>8</OrganizationId>
  <UOMCode>sample string 9</UOMCode>
  <UOMDescription>sample string 10</UOMDescription>
  <UOMStatus>true</UOMStatus>
  <UOMSymbol>sample string 11</UOMSymbol>
</UOM>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.