Get day off object for given person and date.

GET /data/persons/{person_id}/day-offs/{date}

Path parameters

  • person_id string(uuid) Required
  • date string(date) Required

Responses

  • 200 application/json

    Day off object for given person and date

    Hide response attributes Show response attributes object
    • id string(uuid)
    • person_id string(uuid)
    • date string(date)
    • type string
  • 400

    Wrong date format

  • 404

    Person not found

GET /data/persons/{person_id}/day-offs/{date}
curl \
 --request GET 'http://api.example.com/data/persons/a24a6ea4-ce75-4665-a070-57453082c25/day-offs/2022-07-12' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "id": "string",
  "person_id": "string",
  "date": "2025-05-04",
  "type": "string"
}