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": "a6e03e0a-064b-4279-ac94-54030de2a367",
"TimeOffCategory": "a996383f-d37e-4920-8472-75bb347120c3",
"Start": "2025-12-03T13:04:46.6939436+00:00",
"End": "2025-12-03T13:04:46.6939436+00:00",
"HoursPerDay": 5.0,
"Notes": "sample string 6",
"Status": 0,
"Approver": "7c40da26-8c0e-46b9-ba2d-2eae5a4c8153",
"DateApproved": "2025-12-03T13:04:46.6939436+00:00",
"HourTP": {
"2025-12-03T13:04:46.6939436+00:00": 2.0
},
"id": "615d1fcf-5613-4e90-a1a5-9f25408d0ad9",
"ConfigId": "69126c4c-bd63-4574-98c2-8d02dc13545c"
}