GET All Time Tracking
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
GET
https://{{subdomain}}.daftra.com/api2
Time Tracking
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://.daftra.com/api2/time_tracking' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
"code": 200,
"result": "successful",
"data": [
{
"TimeTracking": {
"id": 123,
"user_id": 0,
"staff_id": 0,
"project_id": 0,
"activity_id": 0,
"date": "2008-12-09",
"time": "8:17",
"notes": "",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06",
"cost": 12.354,
"currency": "EGP",
"work_order_id": null,
"time_formatted": {
"hours": "1",
"minutes": "30",
"seconds": "0",
"string": "01:30"
}
}
}
],
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}
Request
Path Params
format
stringÂ
required
Query Params
limit
integerÂ
optional
>= 1<= 1000
Default:
20
page
integerÂ
optional
>= 1
Default:
1
Header Params
Accept
stringÂ
optional
Default:
application/json
Content-Type
stringÂ
optional
Default:
application/json
Authorization
stringÂ
optional
Default:
Bearer {{access_token}}
apikey
stringÂ
deprecated
Default:
{{apikey}}