POST api/UpdateHoursType

Request Information

URI Parameters

None.

Body Parameters

HoursType
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HoursType'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.