Skip to content

Get Actual Time Off

Request

Fetches an actual time off record by id.

Security
ApiKey
Path
idstring, (uuid)required

ID of the resource

curl -i -X GET \
  'https://developer.getparallax.com/_mock/api-documentation/swagger/v1/actual-time-off/{id}' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
idstring, (uuid)

The id of the actual time off entry.

person_idstring, (uuid)

The id of the person to whom the actual time off belongs.

recorded_datestring, (date)

The date on which the time off was recorded, in YYYY-MM-DD format.

hoursnumber, (double)

The number of hours of time off recorded.

time_off_categorystring(TimeOffCategory)

The category of time off.

Enum:"personal_time_off""holiday"
descriptionstring or null

Optional notes associated with the actual time off entry.

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550", "recorded_date": "2019-08-24", "hours": 0.1, "time_off_category": "personal_time_off", "description": "string" }