Skip to main content
GET
/
hours
/
by-day
/
{datetime}
Get Hours By Date
curl --request GET \
  --url https://api.projectcor.com/v1/hours/by-day/{datetime} \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "task_log_id": 123,
    "start": "2023-11-07T05:31:56Z",
    "stop": "2023-11-07T05:31:56Z",
    "status": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

datetime
integer<int64>
required

In UNIX Time

Response

200 - application/json

Hours for the specified date

id
integer
task_log_id
integer
start
string<date-time>
stop
string<date-time>
status
string