POST
/
timmi-timesheet
/
api
/
timesheets
/
{id}
/
approve
curl --request POST \
  --url https://{host}/timmi-timesheet/api/timesheets/{id}/approve \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "transfers": [
    {
      "transferAuthorizationId": 2,
      "amount": {
        "iso": "PT7H30M",
        "unit": "day"
      },
      "comment": "<string>"
    }
  ]
}'
[
  {
    "id": 123,
    "exceptionMessage": "<string>",
    "startsOn": "2023-12-25",
    "endsOn": "2023-12-25",
    "expectedNextActor": {},
    "status": "<string>"
  }
]

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer
required

timesheet id

Body

The body is of type object.

Response

200
application/json

OK

The response is of type object[].