time off retrieve
GET {{baseUrl}}/time-off/:id
Returns a TimeOff
object with the given id
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. | |
remote_fields | string | Which fields should be returned in non-normalized form. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
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}