Time
List overtime requests
GET
date[gte]?stringFormat
datedate[lte]?stringFormat
dateemployee_ids[]?array<>page?integerWhich page of results to return. Defaults to 1.
Format
int32Range
1 <= valuestates[]?array<>A page of overtime requests.
application/json- response
data*array<>metadata*curl -X GET 'https://app.peopleforce.io/api/public/v3/time/overtime_requests'Example Response
{ "data": [ { "id": 0, "date": "2019-08-24", "starts_at": "2019-08-24T14:15:22Z", "ends_at": "2019-08-24T14:15:22Z", "minutes": 0, "comment": "string", "state": "pending", "project": { "id": 0, "name": "string" }, "employee": { "id": 0, "first_name": "string", "last_name": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "metadata": { "pagination": { "page": 0, "pages": 0, "count": 0, "items": 0 } }}