AWB Box Details

From WMS Wiki
Jump to: navigation, search

Contents

URL

http://<wms-url>/api/awb.house.box.list

Description

Receives a master and a house AWB and returns the box details for the house AWB.

Request

  • authenticationToken [varchar]
  • masterAwb [varchar]
  • houseAwb [varchar]

Response

  • status [int]: returns 1 when successful and 0 when unsuccessful.
  • error [varchar]: returns "Invalid Security Token" if status is 0.
  • boxes [array]
    • boxCode [varchar]
    • productDescription [varchar]
    • productId [varchar]
    • boxType [varchar]
    • boxStatus [int]

Example

Request

     http://<wms-url>/api/awb.house.box.list?authenticationToken=YOUR_TOKEN&masterAwb=729-0101-0202&houseAwb=001

Response

Successful
  1. {
  2.     "boxes": [
  3.         {
  4.             "boxCode": "656654",
  5.             "productDescription": "Rose Red Freedom 60",
  6.             "productId": "10291"
  7.             "boxType": "HB",
  8.             "boxStatus": 1
  9.         },
  10.         {
  11.             "boxCode": "656655",
  12.             "productDescription": "Rose Red Freedom 60",
  13.             "productId": "10291"
  14.             "boxType": "HB",
  15.             "boxStatus": 1
  16.         },
  17.         {
  18.             "boxCode": "656656",
  19.             "productDescription": "Rose Red Freedom 60",
  20.             "productId": "10291"
  21.             "boxType": "HB",
  22.             "boxStatus": 1
  23.         }
  24.     ],
  25.     "status": 1
  26. }
Unsuccessful
     {"error":"Invalid Security Token.","status":0}


Available Methods

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox