terminal.clockin

Terminal clockin management.

SUPPORTED METHODS:

GET

Parameters

Type

Description

token (required)

Valid token

terminal_key (required)

integer

Terminal key

id (accepted)

varchar

Employee id

photo (accepted)

varchar

eg.{"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)

varchar

Computer id – required if there is no IP address

ip (accepted)

varchar

IP adress – requred if there is no computer_id

notes (accepted)

varchar

Notes

tips (accepted)

varchar

Tips

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"
}