terminal.clockout

Terminal clockout management.

SUPPORTED METHODS:

GET

Parameters

Type

Description

token (required)

Valid token

terminal_key (required)

varchar

Terminal key

id (accepted)

integer

Employee id

photo (accepted)

varchar

JSON
eg. {"large":"timeclock/pic_250834.13540.jpg", "small":"timeclock/sm_250834.13540.jpg",
"tiny":"timeclock/ti_250834.13540.jpg"}*

schedule (accepted)

integer

Schedule id

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 address – requred if there is no computer_id

notes (accepted)

varchar

Notes

tips (accepted)

varchar

Tips

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