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": "1bcf825f-45df-41f8-aea0-d6cdffa4fcfc",
"TimeOffCategory": "ac4db91a-2c5f-47b3-8e10-0e8f6ba4a592",
"Start": "2026-02-01T14:07:51.7450584+00:00",
"End": "2026-02-01T14:07:51.7450584+00:00",
"HoursPerDay": 5.0,
"Notes": "sample string 6",
"Status": 0,
"Approver": "62828302-a687-42ec-befc-708db5ff8788",
"DateApproved": "2026-02-01T14:07:51.7450584+00:00",
"HourTP": {
"2026-02-01T14:07:51.7450584+00:00": 2.0
},
"id": "65c1c971-8230-43b5-9526-6b39baccf040",
"ConfigId": "379f0c28-9659-437d-a76b-a620a69784d8"
}