Get WO Depot List

The below API is used to refresh work order depot list.

Request: GET

Signature: /api/mobile/GetWODepotList?Token={Login_Token}&WONum={WorkOrder_ID}

Sample: /api/mobile/GetWODepotList?Token=VomYEMiECFFyAQ3==&WONum=18457

Response:

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 8,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": [
        {
            "WODepotID": "32I6sy7OQ-emx2AD_fw=",
            "DepotName": "Mombasa - Direct Trucking",
            "Distance": 0,
            "TravelTime": 0
        },
        {
            "WODepotID": "32I6sy7OlrerUlP5_vI=",
            "DepotName": "Mombasa - Direct Trucking",
            "Distance": 0,
            "TravelTime": 0
        },
        {
            "WODepotID": "32I6sy7Ohj_bTyPhdZY=",
            "DepotName": "Mombasa - Direct Trucking",
            "Distance": 0,
            "TravelTime": 0
        },
        {
            "WODepotID": "32I6sy7OTUpZlQ6tqOA=",
            "DepotName": "Mombasa - Makupa CFS",
            "Distance": 0,
            "TravelTime": 0
        },
        {
            "WODepotID": "32I6sy7O3DKmoH6D1ew=",
            "DepotName": "Mombasa - Mombasa ICD",
            "Distance": 0,
            "TravelTime": 0
        },
        {
            "WODepotID": "32I6sy7OWFAW8pJqvrc=",
            "DepotName": "Mombasa - Direct Trucking",
            "Distance": 0,
            "TravelTime": 0
        },
        {
            "WODepotID": "32I6sy7Om2UELTE_bMg=",
            "DepotName": "Mombasa - Makupa CFS",
            "Distance": 0,
            "TravelTime": 0
        },
        {
            "WODepotID": "32I6sy7OHaiqOaxdLlE=",
            "DepotName": "Mombasa - Mombasa ICD",
            "Distance": 0,
            "TravelTime": 0
        }
    ]
}

Things to know about this API:

    1. Token - You can use Login API to get token displayed under Info