Get Workflows

The below API is used to get list of active workflows.

Request: GET

Signature: /api/mobile/GetWorkflows?Token={Login_Token}

Sample: /api/mobile/GetWorkflows?Token=VomYEMiECFFyAQ3==

Response:

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 0,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": [
        {
            "WFID": 1,
            "WFName": "ASIANAGRO AGUNGJAYA",
            "CorType": 0
        },
        {
            "WFID": 59,
            "WFName": "BONGKARAN-JAKARTA",
            "CorType": 2
        },
        {
            "WFID": 62,
            "WFName": "EXPORT",
            "CorType": 1
        },
        {
            "WFID": 53,
            "WFName": "JAKARTA-BANJARMASIN",
            "CorType": 2
        },
        {
            "WFID": 32,
            "WFName": "JAKARTA-BATAM",
            "CorType": 0
        },
        {
            "WFID": 51,
            "WFName": "JAKARTA-DUMAI",
            "CorType": 2
        },
        {
            "WFID": 47,
            "WFName": "JAKARTA-GORONTALO",
            "CorType": 2
        },
        {
            "WFID": 49,
            "WFName": "JAKARTA-JAYAPURA",
            "CorType": 2
        },
        {
            "WFID": 5,
            "WFName": "JAKARTA-KENDARI",
            "CorType": 2
        },
        {
            "WFID": 64,
            "WFName": "JAKARTA-LAMPUNG",
            "CorType": 2
        },
        {
            "WFID": 38,
            "WFName": "JAKARTA-LUWUK",
            "CorType": 2
        },
        {
            "WFID": 21,
            "WFName": "JAKARTA-MAKASSAR",
            "CorType": 2
        },
        {
            "WFID": 29,
            "WFName": "JAKARTA-MAKASSAR LCL",
            "CorType": 2
        },
        {
            "WFID": 2,
            "WFName": "JAKARTA-MANADO",
            "CorType": 2
        },
        {
            "WFID": 28,
            "WFName": "JAKARTA-MANADO LCL",
            "CorType": 2
        },
        {
            "WFID": 65,
            "WFName": "JAKARTA-MANOKWARI",
            "CorType": 2
        },
        {
            "WFID": 60,
            "WFName": "JAKARTA-NABIRE",
            "CorType": 2
        },
        {
            "WFID": 45,
            "WFName": "JAKARTA-SORONG",
            "CorType": 2
        },
        {
            "WFID": 48,
            "WFName": "JAKARTA-TARAKAN",
            "CorType": 2
        },
        {
            "WFID": 27,
            "WFName": "JAKARTA-TERNATE",
            "CorType": 2
        },
        {
            "WFID": 69,
            "WFName": "JAKARTA-TIMIKA",
            "CorType": 2
        },
        {
            "WFID": 68,
            "WFName": "JHONLIN BANJARMASIN",
            "CorType": 2
        },
        {
            "WFID": 76,
            "WFName": "MAKASAR-GORONTALO",
            "CorType": 2
        },
        {
            "WFID": 73,
            "WFName": "SURABAYA-KENDARI",
            "CorType": 0
        },
        {
            "WFID": 79,
            "WFName": "SURABAYA-LUWUK",
            "CorType": 0
        },
        {
            "WFID": 77,
            "WFName": "SURABAYA-MAKASSAR",
            "CorType": 0
        },
        {
            "WFID": 74,
            "WFName": "SURABAYA-MANADO",
            "CorType": 0
        },
        {
            "WFID": 43,
            "WFName": "TRUCKING SAP",
            "CorType": 1
        }
    ]
}

Things to know about this API:

    • Login_Token (You can get the Login_Token using Login API)