terminal.clockin

Terminal clockin management.

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token
terminal_key (required)integerTerminal key
id (accepted)varcharEmployee id
photo (accepted)varchareg.{"large":"timeclock/pic_250834.135402.jpg",
"small":"timeclock/sm_250834.135402.jpg",
"tiny":"timeclock/ti_250834.135402.jpg"}
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 adress – requred if there is no computer_id
notes (accepted)varcharNotes
tips (accepted)varcharTips

DOCUMENTATION

GET

Employee ClockIn trough terminal.
All users can fetch this module.

--
Example Request:

{
   "module":"terminal.clockin",
   "method":"GET",
   "request":{
    "terminal_key":"xxxxxxx",
    "id": 245698,
    "logout": 1,
    "ip":"xxx.xxx.xx.x"
    }
}

Example Response:

{
   "status":1,
   "data": "You are now clocked in & logged out",
   "token":"xxxxxxx"
}