POST api/AddAbsence
Request Information
URI Parameters
None.
Body Parameters
Absence| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| HoursTypeId | integer |
None. |
|
| Notes | string |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| CreatedBy | integer |
None. |
|
| AllUsers | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"HoursTypeId": 2,
"Notes": "sample string 3",
"Start": "2026-04-07T15:41:14.7961966+01:00",
"End": "2026-04-07T15:41:14.7961966+01:00",
"CreatedBy": 5,
"AllUsers": true
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.