Overview

Returns a list of AWBs that were previously loaded in the system for the future. 

Request

https://api.kometsales.com/api/awb.future.list

  • Method: GET
  • Content-Type: URL Params

Input parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • awb (required) (number:4): Last four digits of the AWB. This filter is required if the ship date is not provided. 
  • shipDate (required) (date): awb ship date (date format YYYY-MM-DD). This filter is required if the awb number is not provided. 
  • originCode (optional)(string:5): Origin code. Example: UIO, MDE, BOG, etc. 


Sample 1
https://api.kometsales.com/api/awb.future.list?authenticationToken=token_info_goes_here&shipDate=2017-11-15

 

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • awbs: array of awbs. 
    • awbId (integer:20): Komet Sales internal AWB ID.
    • awb (string:15): AWB number.
    • originCode (string:5): Code of the origin. Example: UIO, MDE, BOG, etc. 
    • shipDate (date): ship date of the AWB. (date format YYYY-MM-DD).
    • instructions (string:50): Special instructions entered for the AWB. 
    • houses: array of houses associated to the AWB. 
      • house (string:20): House number.
      • vendorCode (string:20): Vendor code associated to the House number. 
      • locationCode (string:20): Location code associated to the House number. It applies for Multi Location companies. 
      • instructions (string:50): Special instructions entered for the House number.  

Output Sample
{
    "status" : 1,
    "message" : "OK",
    "awbs" :
    [
        {
            "awbId" : 148807,
            "awb" : "234-2367-0983",
            "originCode" : "UIO",
            "shipDate" : "2017-11-15",
            "instructions" : "awb changed, previous AWB 4567",
			"houses" :
    			[
					{
						"house" : "CM-93242111",
						"vendorCode" : "ABC",								
						"locationCode" : "06",
						"instructions" : "use for customer HJS"
					},
					{

						"house" : "CM-3242378",
						"vendorCode" : "HUJ",								
						"locationCode" : "09",
						"instructions" : "use for customer JAB"
					}
				]
        },
        {
			"awbId" : 1013767,
            "awb" : "991-0182-0765",
            "originCode" : "UIO",
            "shipDate" : "2017-11-15",
            "instructions" : "",
			"houses" :
    			[
					{

						"house" : "CM-8761522",
						"vendorCode" : "DEG",								
						"locationCode" : "06",
						"instructions" : ""
					},
					{

						"house" : "CM-76152033",
						"vendorCode" : "KLL",								
						"locationCode" : "09",
						"instructions" : ""
					}
				]
		}  
    ]
}