POST register/ScanPIItem

Request Information

URI Parameters

None.

Body Parameters

InventoryScanRequest
NameDescriptionTypeAdditional information
ItemID

string

None.

Quantity

integer

None.

Used

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemID": "sample string 1",
  "Quantity": 2,
  "Used": true
}

application/xml, text/xml

Sample:
<InventoryScanRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RegisterService.Models">
  <ItemID>sample string 1</ItemID>
  <Quantity>2</Quantity>
  <Used>true</Used>
</InventoryScanRequest>

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

Response Information

Resource Description

JsonResultOfInventoryScan
NameDescriptionTypeAdditional information
Content

InventoryScan

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.