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
TimeOffName | 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": "d484b2f1-10d6-405e-9725-4571ec993b1a", "TimeOffCategory": "cbf2411a-4b83-44eb-854a-72f9677ba8b4", "Start": "2025-10-19T09:06:51.413333+00:00", "End": "2025-10-19T09:06:51.413333+00:00", "HoursPerDay": 5.0, "Notes": "sample string 6", "Status": 0, "Approver": "d14bb913-1aa8-4a7f-8c20-cf4dc5b2ac7f", "DateApproved": "2025-10-19T09:06:51.413333+00:00", "HourTP": { "2025-10-19T09:06:51.413333+00:00": 2.0 }, "id": "f21dae00-0744-4dbe-bdf5-e1ba444f4c26", "ConfigId": "3bfb8dfc-f5b8-4780-a4b8-e8deeaaad748" }