PUT Timeclock event
Changed on/timeclocks/event/{timeclock} Permission level: 5
put/timeclocks/event/{timeclock}?access_token=xxxxxxx
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Query parameters
timeclockinteger required
Time clock ID to which we want to add an event
Request body application/x-www-form-urlencoded
Response
200
Example response
{
"status": 1,
"data": {
"status": "Clock time updated.",
"events": {
"100022881": {
"id": "100022881",
"type": "3",
"timestamp": "2017-09-11 09:27:00",
"clock_time": "70558246",
"data": {
"notes": "Added note"
}
},
"100022882": {
"id": "100022882",
"type": "6",
"timestamp": "2017-09-11 09:27:00",
"clock_time": "70558246",
"data": {
"position": 743314
}
},
"100022883": {
"id": "100022883",
"type": "4",
"timestamp": "2017-09-11 09:27:00",
"clock_time": "70558246",
"data": {
"location": 358844
}
},
"100023219": {
"id": "100023219",
"type": "1",
"timestamp": "2017-09-11 10:45:00",
"clock_time": "70558246"
},
"100023567": {
"id": "100023567",
"type": "2",
"timestamp": "2017-09-11 11:00:00",
"clock_time": "70558246",
"data": {
"breakin": 100023219
}
}
}
},
"token": "xxxxxxx"
}Changes
- info
endpoint added
- info