PATCH api/timeoff/{Id}
Update time off
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "cac122b1-f3ba-46dc-a744-538d27fe86d3",
"TimeOffCategory": "30608463-7ecf-4fce-8140-3933335550af",
"Start": "2026-09-29T19:18:19.7066841+00:00",
"End": "2026-09-29T19:18:19.7066841+00:00",
"HoursPerDay": 5.0,
"Notes": "sample string 6",
"Status": 0,
"Approver": "2e1ec061-75a3-45e6-b885-29e0c47f6ce5",
"DateApproved": "2026-09-29T19:18:19.7066841+00:00",
"HourTP": {
"2026-09-29T19:18:19.7066841+00:00": 2.0
},
"__app__": "WORKPLANNER",
"__entity_kind__": "WorkPlanner.Models.TimeOff",
"id": "d8b53625-4e1b-434c-9fee-f220301513e0",
"RestoreFromId": "00000000-0000-0000-0000-000000000000",
"ConfigId": "3f160169-1bdf-4462-bf2e-97426f278105",
"_ts": 0
}
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": "b0f932c2-7128-42fb-a501-c1beb412e680",
"TimeOffCategory": "fcbcb924-33f1-4ab1-83f3-c281b3320054",
"Start": "2026-09-29T19:18:19.7066841+00:00",
"End": "2026-09-29T19:18:19.7066841+00:00",
"HoursPerDay": 5.0,
"Notes": "sample string 6",
"Status": 0,
"Approver": "af5fbcad-2da7-44c1-b37c-9289992e677e",
"DateApproved": "2026-09-29T19:18:19.7066841+00:00",
"HourTP": {
"2026-09-29T19:18:19.7066841+00:00": 2.0
},
"id": "69387af8-75a8-463d-b4ef-86351845553f",
"ConfigId": "2fcae5ec-6940-4ef6-9211-53fd6b32e781"
}