Api doc


SDK's


Api Modules

terminal.clockin

Terminal clockin management.



Supported Methods:

GET
Params
  • token (Required): valid token
  • terminal_key (Required): varchar
  • id: integer
  • photo: varchar
  • logout: enum (0, 1)
  • computer_id: varchar
  • ip: varchar
  • notes: varchar
  • tips: varchar


Documentation

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

--

Parameters:

  1. "terminal_key": required //Terminal key (varchar)
  2. "id": accepted //Employee id (integer)
  3. "photo": accepted /*Photo (varchar)
  4.   *eg.{"large":"timeclock/pic_250834.135402.jpg",
  5.   * "small":"timeclock/sm_250834.135402.jpg",
  6.   * "tiny":"timeclock/ti_250834.135402.jpg"}*/
  7. "logout": accepted //Automatically logout employee from terminal after clockin (enum[0,1])
  8. /* 1: Logout
  9.   * 0: Do not logout */
  10. "computer_id": accepted //Computer id – required if there is no IP adress (varchar)
  11. "ip": accepted //IP adress – requred if there is no computer_id (varchar)
  12. "notes": accepted //Notes (varchar)
  13. "tips": accepted //Tips (double)
  14. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"terminal.clockin",
  3. "method":"GET",
  4. "request":{
  5. "terminal_key":"xxxxxxx",
  6. "id": 245698,
  7. "logout": 1,
  8. "ip":"xxx.xxx.xx.x"
  9. }
  10. }

Example Response:

  1. {
  2.    "status":1,
  3.    "data": "You are now clocked in & logged out",
  4.    "token":"xxxxxxx"
  5. }

GET STARTED NOW

Free Trial. No Credit Card Required.

close
(e.g.+14158675309 or +1415-8675-309)

By clicking "Create my Humanity Account" you agree to the Terms of Service and Privacy Policy.

Have a promotional code?Click Here


LIVE CHAT DEMO REQUEST!

Please provide information below.

close
INSTANT DEMOSCHEDULED DEMO
Connect with a Humanity Team Member for a live demo right now!
 

RESELLER REQUEST!

Please provide information below.

close