time off retrieve

GET {{baseUrl}}/time-off/:id

Returns a TimeOff object with the given id.

Request Params

KeyDatatypeRequiredDescription
expandstringWhich relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
include_remote_databooleanWhether to include the original data Merge fetched from the third-party to produce these models.
remote_fieldsstringWhich fields should be returned in non-normalized form.

HEADERS

KeyDatatypeRequiredDescription
X-Account-Tokenstring(Required) Token identifying the end user.
Acceptstring

RESPONSES

status: OK

{"id":"91b2b905-e866-40c8-8be2-efe53827a0aa","remote_id":"19202938","employee":"d2f972d0-2526-434b-9409-4c3b468e08f0","approver":"9efbc633-3387-4306-aa55-e2c635e6bb4f","status":"DECLINED","employee_note":"Moving into the new apartment Kendall Roy gave me!","units":"HOURS","amount":3,"request_type":"BEREAVEMENT","start_time":"2020-11-10T00:00:00Z","end_time":"2020-11-17T00:00:00Z","remote_data":[{"path":"ex","data":{"fugiat_da":{},"officia_03":{},"dolord":{},"exercitation1e":{}}},{"path":"ex id in","data":{"Duis_8":{}}}],"remote_was_deleted":false}