PUT
/
members
/
{id}
/
allowance
/
{allowance_type_id}
/
{year}
curl --request PUT \
  --url https://api.absentify.com/api/v1/members/{id}/allowance/{allowance_type_id}/{year} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "allowance": 123,
  "compensatory_time_off": 123,
  "brought_forward": 123,
  "reason": "<string>",
  "overwrite_brought_forward": true
}'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required
allowance_type_id
string
required
year
number
required

Body

application/json
allowance
number
required
compensatory_time_off
number
required
brought_forward
number
reason
string
overwrite_brought_forward
boolean

Response

200
application/json
Successful response

The response is of type string.