POST api/UpdateHoursType
Request Information
URI Parameters
None.
Body Parameters
HoursType| Name | Description | Type | Additional information |
|---|---|---|---|
| HoursTypeId | integer |
None. |
|
| Text | string |
None. |
|
| ShowAdmin | boolean |
None. |
|
| ShowAll | boolean |
None. |
|
| CanDelete | boolean |
None. |
|
| Absence | boolean |
None. |
|
| Unpaid | boolean |
None. |
|
| Status | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| DateCreated | date |
None. |
|
| DateModified | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"HoursTypeId": 1,
"Text": "sample string 2",
"ShowAdmin": true,
"ShowAll": true,
"CanDelete": true,
"Absence": true,
"Unpaid": true,
"Status": 8,
"CreatedBy": 9,
"ModifiedBy": 10,
"DateCreated": "2026-04-07T15:43:16.5616794+01:00",
"DateModified": "2026-04-07T15:43:16.5616794+01:00"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.