POST api/v1/WH_LoadingBay_Set

Set loading bay against a shipment

Request Information

URI Parameters

None.

Body Parameters

WH_LoadingBay_Set_Params
NameDescriptionTypeAdditional information
apiKey

Please contact Caliq support to get your key

string

Required

ShipmentID

Caliq unique shipment identifier

integer

Required

HandlingArea

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "apiKey": "sample string 1",
  "ShipmentID": 2,
  "HandlingArea": 3
}

application/xml, text/xml

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

Response Information

Resource Description

Returns:
200 OK Deliverable ID is returned
400 Bad Request - parameters supplied cannot be properly interpreted
401 Not Authorised if supplied api key is not valid
503 Service Unavailable
Messages returned for error: 86,90

WH_LoadingBay_Set_Results
NameDescriptionTypeAdditional information
OK

boolean

None.

WH_LoadingBay_Set_Results_Issues

Collection of WH_LoadingBay_Set_Results_Issue

None.

Response Formats

application/json, text/json

Sample:
{
  "OK": true,
  "WH_LoadingBay_Set_Results_Issues": [
    {
      "ID": 1,
      "Message": "sample string 2",
      "ExtraData": "sample string 3"
    },
    {
      "ID": 1,
      "Message": "sample string 2",
      "ExtraData": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<WH_LoadingBay_Set_Results xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OK>true</OK>
  <WH_LoadingBay_Set_Results_Issues>
    <WH_LoadingBay_Set_Results_Issue>
      <ID>1</ID>
      <Message>sample string 2</Message>
      <ExtraData>sample string 3</ExtraData>
    </WH_LoadingBay_Set_Results_Issue>
    <WH_LoadingBay_Set_Results_Issue>
      <ID>1</ID>
      <Message>sample string 2</Message>
      <ExtraData>sample string 3</ExtraData>
    </WH_LoadingBay_Set_Results_Issue>
  </WH_LoadingBay_Set_Results_Issues>
</WH_LoadingBay_Set_Results>