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": "2d26d6e8-b15c-43d8-ab0e-487e31cf49fa", "TimeOffCategory": "5a0a0139-c956-42f9-a17c-5f39628f50dc", "Start": "2024-12-18T20:19:09.0254515+00:00", "End": "2024-12-18T20:19:09.0254515+00:00", "HoursPerDay": 5.0, "Notes": "sample string 6", "Status": 0, "Approver": "7a1ed347-0d9e-45e0-85f8-52dca0fb7ca1", "DateApproved": "2024-12-18T20:19:09.0254515+00:00", "HourTP": { "2024-12-18T20:19:09.0254515+00:00": 2.0 }, "id": "1a732609-b0bb-48ba-a626-f87d980151b6", "ConfigId": "c8f4e493-aa7e-4aa8-8bf7-71e2af954a4a" }