Truck Box Details

From WMS Wiki
Jump to: navigation, search

Contents

URL

http://<wms-url>/api/truck.location.box.list

Description

This method returns the grower, product and box quantity under each status for a specific carrier, truck date and consignee.

Request

  • authenticationToken [varchar]
  • carrierId [int]
  • consigneeId [int]
  • truckDate [date]

Response

  • status [int]: returns 1 when successful and 0 when unsuccessful.
  • error [varchar]: returns "Invalid Security Token" if status is 0.
  • boxes [array]
    • productDescription [varchar]
    • totalFullBoxEquivalence [decimal]
    • grower [varchar]
    • qtyFarmShipped [int]
    • qtyPQ [int]
    • qtyReceivedMiami [int
    • qtyShippedMiami [int]
    • totalPieces [int]

Example

Request

     http://<wms-url>/api/truck.location.box.list?authenticationToken=YOUR_TOKEN&truckDate=01/10/2012&carrier=103&consignee=18757

Response

Successful
  1. {
  2.     "boxes": [
  3.         {
  4.             "qtyFarmShipped": 0,
  5.             "productDescription": "CARN RED FANCY NELSON",
  6.             "totalFullBoxEquivalence": 0.625,
  7.             "grower": "CARN GROWER S.A.",
  8.             "totalPieces": 5,
  9.             "qtyShippedMiami": 5,
  10.             "qtyReceivedMiami": 0,
  11.             "qtyPQ": 0
  12.         }
  13.     ],
  14.     "status": 1
  15. }
Unsuccessful
     {"error":"Invalid Security Token.","status":0}


Available Methods

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox