Get WO KPI

The below API is used to refresh Work Order KPI.

Request: GET

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

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

Response:

{

"Code": 1,

"Info": "",

"RowsAffected": 0,

"Scalar": null,

"Identity": 0,

"RetInfo": {

"KPIs": {

"ColorCode": 0,

"Values": [

{

"KPI": "Batas Waktu Muat",

"Target": "12h",

"Actual": "",

"Color": "green"

},

{

"KPI": "Batas waktu submit Final SI",

"Target": "6h",

"Actual": "",

"Color": "green"

},

{

"KPI": "Bikin Kartu Export",

"Target": "1h",

"Actual": "",

"Color": "green"

},

{

"KPI": "Batas Kirim Invoice",

"Target": "4d 0h",

"Actual": "",

"Color": "green"

},

{

"KPI": "Terms Of Payment",

"Target": "30d 0h",

"Actual": "",

"Color": "green"

}

]

}

}

}

Things to know about this API:

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