Record a punch (clock in/out) for the current employee
Attendance
Record a punch (clock in/out) for the current employee
Record a punch (clock in/out) for the current employee
POST
Record a punch (clock in/out) for the current employee
Authorizations
Issue keys in Settings → API. Send them as Authorization: Bearer ont_… (an X-Api-Key: ont_… header is also accepted). Session-cookie routes are used by the OnTime web apps and are shown for completeness.
Body
application/json
Available options:
IN, OUT Available options:
MobileGPS, SelfieGPS, Biometric, Web Required range:
-9007199254740991 <= x <= 9007199254740991Available options:
Inside, Outside, Pending Response
200 - application/json
Success
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Available options:
IN, OUT Available options:
MobileGPS, SelfieGPS, Biometric, Web Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Required range:
-9007199254740991 <= x <= 9007199254740991Available options:
Inside, Outside, Pending Available options:
Approved, Pending, Rejected Calendar matrix: per-employee status cells for the monthPresigned PUT for a punch selfie (stored via the storage