PATCH api/timeoff/{Id}/ApproveReject?Approval={Approval}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
Required |
|
| Approval | TimeOffStatusEnum |
Required |
Body Parameters
None.
Response Information
Resource Description
TimeOff| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| TimeOffCategory | globally unique identifier |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| HoursPerDay | decimal number |
None. |
|
| Notes | string |
None. |
|
| Status | TimeOffStatusEnum |
None. |
|
| Approver | globally unique identifier |
None. |
|
| DateApproved | date |
None. |
|
| HourTP | Dictionary of date [key] and decimal number [value] |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserId": "18a4a0b4-1064-4c4e-8550-c6086cd4efdd",
"TimeOffCategory": "2bc57fca-2f21-4d12-a3c6-9e4adf390137",
"Start": "2026-07-01T16:19:08.1016211+00:00",
"End": "2026-07-01T16:19:08.1016211+00:00",
"HoursPerDay": 5.0,
"Notes": "sample string 6",
"Status": 0,
"Approver": "b90a6f8e-22d9-43ef-b4a5-d9399531907b",
"DateApproved": "2026-07-01T16:19:08.1016211+00:00",
"HourTP": {
"2026-07-01T16:19:08.1016211+00:00": 2.0
},
"id": "07e1de18-91a7-4c45-9433-b0c8746482ea",
"ConfigId": "5ac4c6c1-61dc-4a7f-8d81-2735e7d83792"
}