Get Request
Get a specific time off request
get/v1/time-off/requests/{requestId}
Request
- Base URLhttps://app.untetherlabs.com/api
- URLhttps://app.untetherlabs.com/api/v1/time-off/requests/{requestId}
- AuthHTTP bearer
Path parameters
requestIdstring uuid required
Query parameters
expandstring
Available expansions: policy, provider, rejectedBy
See Query Parameters for more information on expansions.
Response
Example response
{
"createdAt": "2024-11-20T07:43:34+0000",
"status": "approved",
"startDate": "2024-11-20T07:43:34+0000",
"endDate": "2024-11-20T07:43:34+0000",
"policy": {
"createdAt": "2024-11-20T07:43:34+0000",
"type": "vacation",
"name": "QC Vacation",
"description": "Vacation policy for Quebec-based employees.",
"payCode": {
"name": "Overtime",
"shorthandName": "OT",
"hexColor": "#f97316",
"value": 1.5
}
},
"provider": {
"name": "Bruce Wayne",
"email": "bruce.wayne@goodhealth.com",
"hireDate": "2024-11-20T07:43:34+0000",
"jobTitle": "Registered Nurse",
"status": "active"
},
"note": "Going on vacation with my family.",
"dailyHours": [
{
"date": "2024-10-06T00:00:00.000Z",
"duration": 0
},
{
"date": "2024-10-07T00:00:00.000Z",
"duration": 8
},
{
"date": "2024-10-08T00:00:00.000Z",
"duration": 8
}
],
"paidHours": 32,
"syncError": {
"createdAt": "2024-11-20T07:43:34+0000"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.