ClockIt-Online API integration documentation for method CLOCK_IN_OUT
CLOCK_IN_OUT
Use this method to write your own clock punch in / out software with ClockIt-Online integration. Note: ClockIt-Online will calculate whether the POST is a punch in or out based on previous punches.
All parameters are POST to URL http://v5.clockit-online.net/api/api.php
Parameter | Type | Value |
---|---|---|
method | string | CLOCK_IN_OUT |
ADMIN_TOKEN | string | value locally saved or obtained by calling GET_CLOCKIT_OFFLINE_ADMIN_TOKEN |
password | string | MD5 hashed string of the user password. |
PIN | string | PIN / Personnel ID of the employee, set at the My profile page. |
datetimeYmdHMS | string | Clock time stamp format yyyy/mm/dd-hh:nn:ss |
Responses are in JSON format
Parameter | Type | Value |
---|---|---|
swError | string | "true"/"false" |
errorMsg | string | Filled in with the errormessage or blank in case swError = true |
infoMessage | string | Functional feedback message for user |
lastActions | array | 20 last actions performed by all members. SubJSON containing functional employee name, functional datetime and performed action. |