POST api/Allocation/GetItemBatchAllocations?docType={docType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| docType | integer |
Required |
Body Parameters
Collection of BasicBatch| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemCode | string |
None. |
|
| WhsCode | string |
None. |
|
| BatchNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ItemCode": "sample string 1",
"WhsCode": "sample string 2",
"BatchNumber": "sample string 3"
},
{
"ItemCode": "sample string 1",
"WhsCode": "sample string 2",
"BatchNumber": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfBasicBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ROUTE.MODELS">
<BasicBatch>
<BatchNumber>sample string 3</BatchNumber>
<ItemCode>sample string 1</ItemCode>
<WhsCode>sample string 2</WhsCode>
</BasicBatch>
<BasicBatch>
<BatchNumber>sample string 3</BatchNumber>
<ItemCode>sample string 1</ItemCode>
<WhsCode>sample string 2</WhsCode>
</BasicBatch>
</ArrayOfBasicBatch>
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. |