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": "2226ecd4-0038-4838-a511-9424431d06eb", "TimeOffCategory": "27570f23-a5b9-4dc1-89e4-c1be4cb98d10", "Start": "2025-04-04T02:33:55.1446718+00:00", "End": "2025-04-04T02:33:55.1446718+00:00", "HoursPerDay": 5.0, "Notes": "sample string 6", "Status": 0, "Approver": "c4b5a7d4-394e-4450-b07b-882df684df2c", "DateApproved": "2025-04-04T02:33:55.1446718+00:00", "HourTP": { "2025-04-04T02:33:55.1446718+00:00": 2.0 }, "id": "59845fee-bde7-432d-ab1f-4b208e5aee92", "ConfigId": "b47a3c8a-1aad-4c2c-9662-d4b3bbf7923d" }