Time

Update overtime request

PUT
/api/public/v3/time/overtime_requests/{id}

Path Parameters

id*integer

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/api/public/v3/time/overtime_requests/0" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{  "data": {    "id": 0,    "date": "string",    "starts_at": "string",    "ends_at": "string",    "minutes": 0,    "comment": "string",    "state": "string",    "project": null,    "employee": {      "id": 0,      "first_name": "string",      "last_name": "string"    },    "created_at": "string",    "updated_at": "string"  }}