Get WO Header

The below API is used to refresh work order header.

Request: GET

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

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

Response:

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 0,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": {
        "Header": [
            {
                "Code": "CC",
                "Name": "Contractual Customer",
                "Value": "Asianagro Agung Jaya",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": true,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "SR",
                "Name": "Shipper",
                "Value": "Asianagro Agung Jaya",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "RC",
                "Name": "Receiver",
                "Value": "Asianagro Agung Jaya",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "ST",
                "Name": "Shipment Type",
                "Value": "20'",
                "Type": "List",
                "AutoComplete": false,
                "ListValues": "20';20' (Open Door);21';40' (Flatrack);40' (High Cube);40' (Open Door);40' (Standard);Door To Door;Door To Port;Export;Import;Port To Door;Port To Port",
                "FirstListItem": "---",
                "IsMandatory": false,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "CG",
                "Name": "Cargo Type",
                "Value": "Full Container Load (FCL)",
                "Type": "List",
                "AutoComplete": false,
                "ListValues": "Full Container Load (FCL);Less than Container Load (LCL);Bulk;Break-Bulk;Air Freight;Charter;Bags;Other",
                "FirstListItem": "[Unspecified]",
                "IsMandatory": false,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "OD",
                "Name": "Origin Depot",
                "Value": "Mombasa - Direct Trucking",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": true,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": false
            },
            {
                "Code": "DD",
                "Name": "Destination Depot",
                "Value": "Mombasa - Direct Trucking",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": true,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": false
            },
            {
                "Code": "DL",
                "Name": "Depot List",
                "DepotList": [
                    {
                        "WODepotID": "9LXHUbERmZ2Jmq_l6uI=",
                        "DepotName": "Mombasa - Direct Trucking",
                        "Distance": 0,
                        "TravelTime": 0
                    },
                    {
                        "WODepotID": "9LXHUbERtmuKgG4vQIc=",
                        "DepotName": "Mombasa - Direct Trucking",
                        "Distance": 0,
                        "TravelTime": 0
                    }
                ],
                "Type": "Text",
                "AutoComplete": false,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "CR",
                "Name": "Carrier",
                "Value": "Container Maritime Activities",
                "Type": "List",
                "AutoComplete": false,
                "ListValues": "APL;B 9177 Uem;B 9182 Uem;B 9258 Uiv;B 9268 Uxt;B 9569 Uiv;Ben Line Agencies;Cakra Indo Mitra Indonesia;Caraka Tirta Perkasa;CK Line;Container Maritime Activities;Coscon Container Lines;Evergreen Line;Haspul Internasional Indonesia;Hyundai Merchant Marine;Jakarta Interntional Container Terminal;Kan;Kcargo Agencies;Kmtc Line;Kyowa Shipping Co,.Ltd;Lintas Kumala Abadi;Maersk Line;Mcc Transport;Mediterranean Shipping Company;Meratus Line;Multi Cargo Line;Nyk Line;Ocean Network Express;Orient Overseas Container Line;Pacific International Lines;Pesaka Internasional Logistindo;Pt Harta Gading Indonesia;Pt Mitsui O.S.K Lines Indonesia;Pt. \"K\" Line;Pt. Bahari Maju Sentosa;Pt. Laut Mas;Pt. Pelayaran Samudera Selatan;Pt. Samudra Lautan Luas;Pt. Translindo Nusa Pacific;Pt. Tresna Muda Sejati;Safmarine;Samudera Indonesia Tbk;Sap;Serasi Shipping Indonesia;Sinokor;Sitcline;Spil;Swire Shipping;Tanto Intim Line;Temas;Tresna Muda Sejati;Tri Tunggal;Union Trans Internusa;United Arab Shipping Co.;Wan Hai Lines;Yang Ming Marine Transport;Zhonghai Indo Shipping",
                "FirstListItem": "---",
                "IsMandatory": true,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "CO",
                "Name": "Commodity",
                "Value": "CAMAR COOKING OIL 20L",
                "Type": "Text",
                "AutoComplete": false,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "VE",
                "Name": "Vertical",
                "Value": "Unspecified",
                "Type": "List",
                "AutoComplete": false,
                "ListValues": "Agricultural;Automotive;Spare Parts;Unspecified",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "CY",
                "Name": "Country of Origin",
                "Value": "Indonesia",
                "Type": "List",
                "AutoComplete": false,
                "ListValues": "Albania;Argentina;Australia;Brazil;Canada;Chile;China;Congo, DR;Germany;Ghana;Honduras;India;Indonesia;Israel;Italy;Jamaica;Japan;Kenya;Los Angeles;Myanmar;Nicaragua;Nigeria;Papua New Guinea;Philipines;Rusia;Saudi Arabia;Singapore;South Africa;SOUTH KOREA;Sri Lanka;Uganda;Ukraine;United States of America;Vietnam",
                "FirstListItem": "< Not Specified >",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "FD",
                "Name": "Final Destination",
                "Value": "Indonesia",
                "Type": "List",
                "AutoComplete": false,
                "ListValues": "Albania;Argentina;Australia;Brazil;Canada;Chile;China;Congo, DR;Germany;Ghana;Honduras;India;Indonesia;Israel;Italy;Jamaica;Japan;Kenya;Los Angeles;Myanmar;Nicaragua;Nigeria;Papua New Guinea;Philipines;Rusia;Saudi Arabia;Singapore;South Africa;SOUTH KOREA;Sri Lanka;Uganda;Ukraine;United States of America;Vietnam",
                "FirstListItem": "< Not Specified >",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "CN",
                "Name": "Container No.",
                "Value": "TBAU0018457",
                "Type": "Text",
                "AutoComplete": false,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": false,
                "Validate": true,
                "CanUpdate": true
            },
            {
                "Code": "LD",
                "Name": "Manifest",
                "Value": "",
                "Type": "Text",
                "AutoComplete": false,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "CT",
                "Name": "Container Type",
                "Value": "22G1",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "CW",
                "Name": "Weight",
                "Value": "0",
                "Type": "Number",
                "AutoComplete": false,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "VL",
                "Name": "Volume",
                "Value": "-",
                "Type": "Number",
                "AutoComplete": false,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "SN",
                "Name": "Seal Number",
                "Value": "",
                "Type": "Text",
                "AutoComplete": false,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": false,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "SC",
                "Name": "Shipper Container",
                "Value": "No",
                "Type": "Boolean",
                "AutoComplete": false,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "BA",
                "Name": "Bond Agent",
                "Value": "",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "CA",
                "Name": "CFS/Port Details",
                "Value": "",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "TR",
                "Name": "Transporter",
                "Value": "",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            },
            {
                "Code": "RT",
                "Name": "Return Transporter",
                "Value": "",
                "Type": "Text",
                "AutoComplete": true,
                "ListValues": "",
                "FirstListItem": "",
                "IsMandatory": false,
                "ApplyToAll": true,
                "Validate": false,
                "CanUpdate": true
            }
        ]
    }
}

Things to know about this API:

    1. Token - You can use Login API to get token displayed under Info
    2. WorkOrder_ID (Unique WorkOrderID)