POST
/
members
/
{id}
/
schedule
curl --request POST \
  --url https://api.absentify.com/api/v1/members/{id}/schedule \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "from": "2023-11-07T05:31:56Z",
  "monday_am_start": "2023-11-07T05:31:56Z",
  "monday_am_end": "2023-11-07T05:31:56Z",
  "monday_pm_start": "2023-11-07T05:31:56Z",
  "monday_pm_end": "2023-11-07T05:31:56Z",
  "monday_am_enabled": true,
  "monday_pm_enabled": true,
  "monday_deduct_fullday": true,
  "tuesday_am_start": "2023-11-07T05:31:56Z",
  "tuesday_am_end": "2023-11-07T05:31:56Z",
  "tuesday_pm_start": "2023-11-07T05:31:56Z",
  "tuesday_pm_end": "2023-11-07T05:31:56Z",
  "tuesday_am_enabled": true,
  "tuesday_pm_enabled": true,
  "tuesday_deduct_fullday": true,
  "wednesday_am_start": "2023-11-07T05:31:56Z",
  "wednesday_am_end": "2023-11-07T05:31:56Z",
  "wednesday_pm_start": "2023-11-07T05:31:56Z",
  "wednesday_pm_end": "2023-11-07T05:31:56Z",
  "wednesday_am_enabled": true,
  "wednesday_pm_enabled": true,
  "wednesday_deduct_fullday": true,
  "thursday_am_start": "2023-11-07T05:31:56Z",
  "thursday_am_end": "2023-11-07T05:31:56Z",
  "thursday_pm_start": "2023-11-07T05:31:56Z",
  "thursday_pm_end": "2023-11-07T05:31:56Z",
  "thursday_am_enabled": true,
  "thursday_pm_enabled": true,
  "thursday_deduct_fullday": true,
  "friday_am_start": "2023-11-07T05:31:56Z",
  "friday_am_end": "2023-11-07T05:31:56Z",
  "friday_pm_start": "2023-11-07T05:31:56Z",
  "friday_pm_end": "2023-11-07T05:31:56Z",
  "friday_am_enabled": true,
  "friday_pm_enabled": true,
  "friday_deduct_fullday": true,
  "saturday_am_start": "2023-11-07T05:31:56Z",
  "saturday_am_end": "2023-11-07T05:31:56Z",
  "saturday_pm_start": "2023-11-07T05:31:56Z",
  "saturday_pm_end": "2023-11-07T05:31:56Z",
  "saturday_am_enabled": true,
  "saturday_pm_enabled": true,
  "saturday_deduct_fullday": true,
  "sunday_am_start": "2023-11-07T05:31:56Z",
  "sunday_am_end": "2023-11-07T05:31:56Z",
  "sunday_pm_start": "2023-11-07T05:31:56Z",
  "sunday_pm_end": "2023-11-07T05:31:56Z",
  "sunday_am_enabled": true,
  "sunday_pm_enabled": true,
  "sunday_deduct_fullday": true
}'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Body

application/json

Response

200
application/json
Successful response

The response is of type string.