curl --request GET \
--url https://api.projectcor.com/v1/working-time/company/with/users \
--header 'Authorization: Bearer <token>'{
"12345": [
{
"daily_hours": 9,
"day_of_week": 1,
"start_at": "09:00:00",
"end_at": "18:00:00",
"user_id": 12345,
"break_time": 0
},
{
"daily_hours": 8,
"day_of_week": 2,
"start_at": "09:00:00",
"end_at": "18:00:00",
"user_id": 12345,
"break_time": 1
}
]
}Gets information about working time for all users in the company. The response is an object where keys are user IDs and values are arrays of working time entries.
curl --request GET \
--url https://api.projectcor.com/v1/working-time/company/with/users \
--header 'Authorization: Bearer <token>'{
"12345": [
{
"daily_hours": 9,
"day_of_week": 1,
"start_at": "09:00:00",
"end_at": "18:00:00",
"user_id": 12345,
"break_time": 0
},
{
"daily_hours": 8,
"day_of_week": 2,
"start_at": "09:00:00",
"end_at": "18:00:00",
"user_id": 12345,
"break_time": 1
}
]
}