POST Web/inventory/saveitem

Request Information

URI Parameters

None.

Body Parameters

ItemDto
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Code

string

None.

Decription

string

None.

UOM

string

None.

SOR

string

None.

PackageId

integer

None.

ScopeQuantity

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Code": "sample string 3",
  "Decription": "sample string 4",
  "UOM": "sample string 5",
  "SOR": "sample string 6",
  "PackageId": 7,
  "ScopeQuantity": 8
}

text/html

Sample:
{"Id":1,"Name":"sample string 2","Code":"sample string 3","Decription":"sample string 4","UOM":"sample string 5","SOR":"sample string 6","PackageId":7,"ScopeQuantity":8}

application/xml, text/xml

Sample:
<ItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tracking.Entity">
  <Code>sample string 3</Code>
  <Decription>sample string 4</Decription>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <PackageId>7</PackageId>
  <SOR>sample string 6</SOR>
  <ScopeQuantity>8</ScopeQuantity>
  <UOM>sample string 5</UOM>
</ItemDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.