Operation
GET /schedule/active
Request parameters:
- company [mandatory]: The company name or id.
- session [mandatory]: The Id of the active session.
- process: process to which the order is assigned.
Response:
- status: returns "0" on success, and an error code in any other case.
- data: returns list of work orders that match the indicated criteria on success or the link to the request help on error.
- message: "Success" or a descriptive information of the error in any other case.
Example:
Request:
/schedule/active
{
"session": 01qgmfcZmZ4nqg2eNGpxY4JlpmhJuKw1H31p5rtD1a112SSK8S8odROFIKgn
"company": DEMO04
}
Reponse (success):
{
"status":0,
"data":[
"OrderWO": "85767261",
"ProdTotalWO": "60",
"ProdTheorTotalWO": "6500",
"TimeSetupWO": "0:00:00",
"TimeTeardownWO": "0",
"DueDateWO": "18/04/2017 5:10:09",
"StartedWO": "15/04/2017 0:33:00",
"CommentWO": "",
"PriorityWO": "0",
"EstimationWO": "53816",
"ProdGoodWO": "60",
"ProdBadWO": "0",
"ProdReworkWO": "0",
"ProdRemainingWO": "6440"
]
"message":"Success
}