GET api/InventoryLookupReport/allocation-orders?deckSKU={deckSKU}&warehouseCode={warehouseCode}&siteID={siteID}
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| deckSKU | string |
Required |
|
| warehouseCode | string |
Required |
|
| siteID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
| Name | Description | Type | Additional Information |
|---|---|---|---|
| Orders | Dictionary of string [key] and integer [value] |
None. |
|
| ResponseCode | APIResponseCodes |
None. |
|
| Message | string |
None. |
|
| CorrelationId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Orders": {
"sample string 1": 2,
"sample string 3": 4
},
"ResponseCode": 0,
"Message": "sample string 1",
"CorrelationId": "sample string 2"
}
application/xml, text/xml
Sample:
<AllocationOrdersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.PIM.Domain.Models.API">
<CorrelationId xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API">sample string 2</CorrelationId>
<Message xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API">sample string 1</Message>
<ResponseCode xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API">Success</ResponseCode>
<Orders xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringint>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>2</d2p1:Value>
</d2p1:KeyValueOfstringint>
<d2p1:KeyValueOfstringint>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>4</d2p1:Value>
</d2p1:KeyValueOfstringint>
</Orders>
</AllocationOrdersResponse>