GET api/InventoryLookupReport/allocation-orders?deckSKU={deckSKU}&warehouseCode={warehouseCode}&siteID={siteID}&topN={topN}

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
deckSKU

string

Required

warehouseCode

string

Required

siteID

integer

Required

topN

integer

Default value is 20

Body Parameters

None.

Response Information

Resource Description

AllocationOrdersResponse

NameDescriptionTypeAdditional Information
Orders

Dictionary of string [key] and integer [value]

None.

TotalCount

integer

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
  },
  "TotalCount": 1,
  "ResponseCode": 0,
  "Message": "sample string 2",
  "CorrelationId": "sample string 3"
}

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 3</CorrelationId>
  <Message xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API">sample string 2</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>
  <TotalCount>1</TotalCount>
</AllocationOrdersResponse>