POST api/v1/WH_StockAdjustmentReason

Retrieve list of all stock adjustment reason codes

Request Information

URI Parameters

None.

Body Parameters

WH_StockAdjustmentReason_Params
NameDescriptionTypeAdditional information
apiKey

Please contact Caliq support to get your key

string

Required

WarehouseID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "apiKey": "sample string 1",
  "WarehouseID": 2
}

application/xml, text/xml

Sample:
<WH_StockAdjustmentReason_Params xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <apiKey>sample string 1</apiKey>
  <WarehouseID>2</WarehouseID>
</WH_StockAdjustmentReason_Params>

Response Information

Resource Description

Returns:
200 OK Returns a collection of reason codes
400 Bad Request - parameters supplied cannot be properly interpreted
401 Not Authorised if supplied api key is not valid
204 No Content
503 Service Unavailable

WH_StockAdjustmentReasons
NameDescriptionTypeAdditional information
WH_StockAdjustmentReasonList

Collection of WH_StockAdjustmentReason

None.

Response Formats

application/json, text/json

Sample:
{
  "WH_StockAdjustmentReasonList": [
    {
      "Code": "sample string 1",
      "Description": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Description": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<WH_StockAdjustmentReasons xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WH_StockAdjustmentReason>
    <Code>sample string 1</Code>
    <Description>sample string 2</Description>
  </WH_StockAdjustmentReason>
  <WH_StockAdjustmentReason>
    <Code>sample string 1</Code>
    <Description>sample string 2</Description>
  </WH_StockAdjustmentReason>
</WH_StockAdjustmentReasons>