Returns a list of requests.
SUPPORTED METHODS:
UPDATE
Parameters | Type | Description |
---|---|---|
token (required) | Valid token | |
id (required) | integer | Request id |
type (required) | enum (openshifts) | openshifts: Open shifts |
mode (required) | enum (approve, reject) | approve: Approve schedule reject: Reject schedule |
DOCUMENTATION
UPDATE
Updates requests.
Level 5 is required (all users can fetch this module)
--
Example Request:
{
"module":"schedule.requests",
"method":"GET",
"request":{
"id":"352",
"type":"openshifts",
"mode":"reject"
}
}
Example Response:
{
"status":1,
"data":"",
"token":"xxxxxxx"
}