POST api/InventoryCountings
Request Information
URI Parameters
None.
Body Parameters
InventoryCounting| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentEntry | integer |
None. |
|
| DocumentNumber | integer |
None. |
|
| Series | integer |
None. |
|
| CountDate | string |
None. |
|
| CountTime | string |
None. |
|
| Reference2 | string |
None. |
|
| YearEndDate | string |
None. |
|
| Remarks | string |
None. |
|
| InventoryCountingLines | Collection of InventoryCountingLine |
None. |
|
| DocumentStatus | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DocumentEntry": 1,
"DocumentNumber": 2,
"Series": 3,
"CountDate": "sample string 4",
"CountTime": "sample string 5",
"Reference2": "sample string 6",
"YearEndDate": "sample string 7",
"Remarks": "sample string 8",
"InventoryCountingLines": [
{
"ItemCode": "sample string 1",
"ItemDescription": "sample string 2",
"WarehouseCode": "sample string 3",
"BinEntry": 1,
"BarCode": "sample string 4",
"UoMCode": "sample string 5",
"CountedQuantity": 6.1,
"InWarehouseQuantity": 7.1,
"UoMCountedQuantity": 1.1,
"Counted": "sample string 8",
"LineStatus": "sample string 9",
"LineNumber": 10,
"BinCode": "sample string 11",
"UoMName": "sample string 12"
},
{
"ItemCode": "sample string 1",
"ItemDescription": "sample string 2",
"WarehouseCode": "sample string 3",
"BinEntry": 1,
"BarCode": "sample string 4",
"UoMCode": "sample string 5",
"CountedQuantity": 6.1,
"InWarehouseQuantity": 7.1,
"UoMCountedQuantity": 1.1,
"Counted": "sample string 8",
"LineStatus": "sample string 9",
"LineNumber": 10,
"BinCode": "sample string 11",
"UoMName": "sample string 12"
}
],
"DocumentStatus": "sample string 9"
}
application/xml, text/xml
Sample:
<InventoryCounting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS">
<CountDate>sample string 4</CountDate>
<CountTime>sample string 5</CountTime>
<DocumentEntry>1</DocumentEntry>
<DocumentNumber>2</DocumentNumber>
<DocumentStatus>sample string 9</DocumentStatus>
<InventoryCountingLines>
<InventoryCountingLine>
<BarCode>sample string 4</BarCode>
<BinCode>sample string 11</BinCode>
<BinEntry>1</BinEntry>
<Counted>sample string 8</Counted>
<CountedQuantity>6.1</CountedQuantity>
<InWarehouseQuantity>7.1</InWarehouseQuantity>
<ItemCode>sample string 1</ItemCode>
<ItemDescription>sample string 2</ItemDescription>
<LineNumber>10</LineNumber>
<LineStatus>sample string 9</LineStatus>
<UoMCode>sample string 5</UoMCode>
<UoMCountedQuantity>1.1</UoMCountedQuantity>
<UoMName>sample string 12</UoMName>
<WarehouseCode>sample string 3</WarehouseCode>
</InventoryCountingLine>
<InventoryCountingLine>
<BarCode>sample string 4</BarCode>
<BinCode>sample string 11</BinCode>
<BinEntry>1</BinEntry>
<Counted>sample string 8</Counted>
<CountedQuantity>6.1</CountedQuantity>
<InWarehouseQuantity>7.1</InWarehouseQuantity>
<ItemCode>sample string 1</ItemCode>
<ItemDescription>sample string 2</ItemDescription>
<LineNumber>10</LineNumber>
<LineStatus>sample string 9</LineStatus>
<UoMCode>sample string 5</UoMCode>
<UoMCountedQuantity>1.1</UoMCountedQuantity>
<UoMName>sample string 12</UoMName>
<WarehouseCode>sample string 3</WarehouseCode>
</InventoryCountingLine>
</InventoryCountingLines>
<Reference2>sample string 6</Reference2>
<Remarks>sample string 8</Remarks>
<Series>3</Series>
<YearEndDate>sample string 7</YearEndDate>
</InventoryCounting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |