Get day off

GET /data/user/day-offs/{date}

Retrieve day off information for the current user on a specific date.

Path parameters

  • date string(date) Required

    Date to check for day off

Responses

  • 200 application/json

    Day off object for the current user on given date

    Hide response attributes Show response attributes object
    • id string(uuid)

      Day off unique identifier

    • person_id string(uuid)

      Person identifier

    • date string(date)

      Day off date

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Last update timestamp

GET /data/user/day-offs/{date}
curl \
 --request GET 'http://api.example.com/data/user/day-offs/2023-01-01' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "person_id": "b35b7fb5-df86-5776-b181-68564193d36",
  "date": "2023-01-01",
  "created_at": "2023-01-01T12:00:00Z",
  "updated_at": "2023-01-01T12:30:00Z"
}