Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • API Location:
    /consignment/tracking

  • Params:(POST or GET)
    tracking_reference(mandatory field): track references imploded by ',';
    newest(true/false default to be false): true with results not loading from cache.

  • Response Data:
    success(true/false): true with data returns and false with message returns;
    data(array): track info in associate array like ['TRACK_REFERENCE' => [TIME_LINE]];
    message(string): error info.

  • For Example:
    You send a request like: 
    http://api.birdsystem.com/consignment/tracking?tracking_references=BSLZZ1020007635YQ
    or  
    http://api.birdsystem.com/consignment/tracking?tracking_references=BSLZZ1020007635YQ&newest=true


    It will returns json data like:

    Code Block
    languagejs
    themeConfluence
    linenumberstrue
    {
      "success":true,
      "data":{
        "16465436BSLZZ1020007635YQ":[
          {"create_time":"20152016-01-01 08:10:1910-20T02:16:48+01:00","current_status":"PREPARING","note":"Create consignment, preparing."},
    
         {"create_time":"20152016-01-01 08:10:1910-20T02:16:49+01:00","current_status":"PENDING","note":"Consignment from [PREPARING] to [PENDING]"},
          {"create_time":"20152016-01-02 15:48:4010-20T06:57:04+01:00","current_status":"WAIT_PICKING","note":"Consignment from [PENDING] to [WAIT_PICKING]"},
        {"create_time":"2016-10-20T06:58:49+01:00","current_status":"PICKING","note":"Consignment from [WAIT_PICKING] to [PICKING]"},
        {"create_time":"2016-10-20T10:18:54+01:00","current_status":"FINISHED","note":"Consignment from [PROCESSING] to [FINISHED]"}]},
      "message":[]
    }

    or error response like:

    Code Block
    languagejs
    themeConfluence
    linenumberstrue
    {
      "success": false,
      "data": [],
      "message": "Invalid track reference."
    }

Related pages

Filter by label (Content by label)
showLabelsfalse
spacesBIRDAPI
showSpacefalse
sorttitle
typepage
cqllabel = "documentation-space-sample" and type = "page" and space = "BIRDAPI"
labelsdocumentation-space-sample

Info
titleUseful hint

Confluence Administrators can also make templates that are available across your whole Confluence instance.