curl --location -g --request PUT 'https://.daftra.com/api2/time_tracking/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"TimeTracking": {
"user_id": 0,
"staff_id": 0,
"project_id": 0,
"activity_id": 0,
"date": "2008-12-09",
"time": "8:17",
"notes": "",
"work_order_id": null
}
}'
{
"code": 200,
"result": "successful"
}