terminal.clockout

Terminal clockout management.

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token
terminal_key (required)varcharTerminal key
id (accepted)integerEmployee id
photo (accepted)varcharJSON
eg. {"large":"timeclock/pic_250834.13540.jpg", "small":"timeclock/sm_250834.13540.jpg",
"tiny":"timeclock/ti_250834.13540.jpg"}*
schedule (accepted)integerSchedule id
logout (accepted)enum (0, 1)/Automatically logout employee from terminal after clockin
1: Logout
0: Do not logout
computer_id (accepted)varcharComputer id – required if there is no IP address
ip (accepted)varcharIP address – requred if there is no computer_id
notes (accepted)varcharNotes
tips (accepted)varcharTips

DOCUMENTATION

GET
Employee ClockOut trough terminal.
All users can fetch this module.

--
Example Request:

{
   "module":"terminal.clockout",
   "method":"GET",
   "request":{
    "terminal_key":"xxxxxxx",
    "id": 245698,
    "logout": 0,
    "schedule": 132548,
    "ip":"xxx.xxx.xx.x"
    }
}

Example Response:

{
   "status":1,
   "data": "You are clocked out",
   "token":"xxxxxxx"
}