timeclock.preclockin

Employee is on his/her way (Default: Authenticated User)

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (Required)Valid token
employee (accepted)integerEmployee id

CREATE

ParametersTypeDescription
token (required)Valid token
employee (accepted)integerEmployee id

DOCUMENTATION

GET
Get employees preclockins (Default: Authenticated User)
Level 5 is required (all users can fetch this module)

--

Example Request:

{
   "status":1,
   "data":{
      "id":"47",
      "timestamp":"1342453561",
      "status":"0"
   },
   "token":"xxxxxxx"
}

CREATE
Employee is on his/her way (Default: Authenticated User)
Level 5 is required (all users can fetch this module)

--

Example Request:

{
   "module":"timeclock.preclockin",
   "method":"CREATE",
   "request":{
   }
}

Example Response:

{
   "status":1,
   "data":{
      "id":"1152",
      "timestamp":1342453561
   },
   "token":"xxxxxxx"
}