POST register/ScanItem?ItemID={ItemID}&Used={Used}&Quantity={Quantity}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemID | string |
Required |
|
| Used | boolean |
Required |
|
| Quantity | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
InventoryScan| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemID | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| CategoryID | string |
None. |
|
| DepartmentID | string |
None. |
|
| NewInStock | integer |
None. |
|
| NewScanned | integer |
None. |
|
| UsedInStock | integer |
None. |
|
| UsedScanned | integer |
None. |
|
| NewPrice | string |
None. |
|
| UsedPrice | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ItemID": "sample string 1",
"Name": "sample string 2",
"Description": "sample string 3",
"CategoryID": "sample string 4",
"DepartmentID": "sample string 5",
"NewInStock": 6,
"NewScanned": 7,
"UsedInStock": 8,
"UsedScanned": 9,
"NewPrice": "sample string 10",
"UsedPrice": "sample string 11"
}
application/xml, text/xml
Sample:
<InventoryScan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RegisterService.Models"> <CategoryID>sample string 4</CategoryID> <DepartmentID>sample string 5</DepartmentID> <Description>sample string 3</Description> <ItemID>sample string 1</ItemID> <Name>sample string 2</Name> <NewInStock>6</NewInStock> <NewPrice>sample string 10</NewPrice> <NewScanned>7</NewScanned> <UsedInStock>8</UsedInStock> <UsedPrice>sample string 11</UsedPrice> <UsedScanned>9</UsedScanned> </InventoryScan>