Box Statuses

From WMS Wiki
Jump to: navigation, search

Contents

URL

http://<wms-url>/api/status.list

Description

Request

  • authenticationToken [varchar]

Response

  • status [int]: returns 1 when successful and 0 when unsuccessful.
  • error [varchar]: returns "Invalid Security Token" if status is 0.

Example

Request

     http://<wms-url>/api/status.list?authenticationToken=u4njcd18p7vt1dc3jposlq2kf1

Response

Successful
  1. {
  2.     "status": 1,
  3.     "statuses": [
  4.         {
  5.             "statusId": 1,
  6.             "statusName": "Farm Shipped"
  7.         },
  8.         {
  9.             "statusId": 2,
  10.             "statusName": "Received Miami"
  11.         },
  12.         {
  13.             "statusId": 3,
  14.             "statusName": "Shipped Miami"
  15.         },
  16.         {
  17.             "statusId": 4,
  18.             "statusName": "Received Destination"
  19.         },
  20.         {
  21.             "statusId": 5,
  22.             "statusName": "PQ"
  23.         }
  24.     ]
  25. }
    Bulb.png These are the real box statuses used by the system.
Unsuccessful
     {"error":"Invalid Security Token.","status":0}


Available Methods

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox