Get Workflows

The below API is used to get workflow list as per user's access.

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": 63,

"WFName": "IMPORT",

"CorType": 0

},

{

"WFID": 52,

"WFName": "JAKARTA-BALIKPAPAN",

"CorType": 2

},

{

"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": 83,

"WFName": "JAKARTA-NUNUKAN",

"CorType": 2

},

{

"WFID": 31,

"WFName": "JAKARTA-PALU",

"CorType": 2

},

{

"WFID": 84,

"WFName": "JAKARTA-PANGKALAN BUN",

"CorType": 2

},

{

"WFID": 80,

"WFName": "JAKARTA-PEKANBARU",

"CorType": 2

},

{

"WFID": 36,

"WFName": "JAKARTA-SAMARINDA",

"CorType": 2

},

{

"WFID": 81,

"WFName": "JAKARTA-SAMPIT",

"CorType": 2

},

{

"WFID": 45,

"WFName": "JAKARTA-SORONG",

"CorType": 2

},

{

"WFID": 85,

"WFName": "JAKARTA-SURABAYA",

"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": 82,

"WFName": "MAKASAR-MANADO",

"CorType": 2

},

{

"WFID": 67,

"WFName": "MAKASAR-SURABAYA",

"CorType": 2

},

{

"WFID": 26,

"WFName": "MAKASSAR-JAKARTA",

"CorType": 2

},

{

"WFID": 25,

"WFName": "MANADO-JAKARTA",

"CorType": 2

},

{

"WFID": 78,

"WFName": "PENGIRIMAN DARAT",

"CorType": 0

},

{

"WFID": 75,

"WFName": "SURABAYA-AMBON",

"CorType": 0

},

{

"WFID": 72,

"WFName": "SURABAYA-GORONTALO",

"CorType": 0

},

{

"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:

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