Get employee time off activities
GET {{baseUrl}}/v1/employees/:employee_uuid/time_off_activities?time_off_type=<string>
Get employee time off activities.
scope: employee_time_off_activities:read
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
time_off_type | string | (Required) The time off type name you want to query data for. ex: 'sick' or 'vacation' |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Accept | string |
RESPONSES
status: OK
[{"policy_uuid":"a7838f74-4c29-4b70-9bfb-02a4e3e60709","time_off_type":"vacation","policy_name":"Paid Time Off","event_type":"TimeOffEvent::AddToPolicy","event_description":"Added to policy: Vacation Per Hour Worked","effective_time":"2022-09-27T13:43:03.000-07:00","balance":"0.0","balance_change":"0.0"},{"policy_uuid":"a7838f74-4c29-4b70-9bfb-02a4e3e60709","time_off_type":"vacation","policy_name":"Paid Time Off","event_type":"TimeOffEvent::Accrual","event_description":"Accrual","effective_time":"2022-09-27T14:43:03.000-07:00","balance":"2.0","balance_change":"2.0"}]