admin.nrequests

Returns a count of all requests.

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)valid token

DOCUMENTATION

GET

Retrieves a count of all requests. Available shifts, vacations needing approving, shifts needing approving, shifts pickups needing approval, shift trades needding approval before or after, and shifts available to pickup.
Level 3 is required.

--

Example Request:

{
        "module":"admin.nrequest",
        "method":"GET",
        "request":{
 
        }
     }

Example Response:

{
        "status":1,
        "data":{
           "total":354,
           "vacation":4,
           "shift_available":107,
           "shift_approval":349,
           "shift_request_waiting":0,
           "trade_approval":1
        },
        "token":"xxxxxxx"
     }