PUT horizon/v1/administration/attendancecategories
Updates an existing attendanceCategory stream
Request Information
URI Parameters
None.
Body Parameters
Milenio3.Horizon.Dto.Entities.Configuration.AttendanceCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TimePeriod | Milenio3.Horizon.Dto.Entities.Common.TimePeriodType |
None. |
|
| AppliesTo | Milenio3.Horizon.Dto.Entities.Common.AppliesToType |
None. |
|
| Accounting | Milenio3.Horizon.Dto.Entities.Common.AccountingType |
None. |
|
| PayrollCode | string |
None. |
|
| AuthorizationBy | Milenio3.Horizon.Dto.Entities.Common.AuthorizationByType |
None. |
|
| AuthorizationOf | Milenio3.Horizon.Dto.Entities.Common.AuthorizationOfType |
None. |
|
| AuthorizationUnitDtoId | integer |
None. |
|
| Name | string |
Required Max length: 40 |
|
| Description | string |
Required Max length: 40 |
|
| Inactive | boolean |
Required |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TimePeriod": 10,
"AppliesTo": 10,
"Accounting": 10,
"PayrollCode": "sample string 1",
"AuthorizationBy": 10,
"AuthorizationOf": 10,
"AuthorizationUnitDtoId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Inactive": true,
"CreatedOn": "2026-06-21T01:11:49.8860781+01:00",
"CreatedBy": 6,
"ModifiedOn": "2026-06-21T01:11:49.8860781+01:00",
"ModifiedBy": 1,
"Id": 7
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The updated attendanceCategory stream
Milenio3.Horizon.Dto.Entities.Configuration.AttendanceCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TimePeriod | Milenio3.Horizon.Dto.Entities.Common.TimePeriodType |
None. |
|
| AppliesTo | Milenio3.Horizon.Dto.Entities.Common.AppliesToType |
None. |
|
| Accounting | Milenio3.Horizon.Dto.Entities.Common.AccountingType |
None. |
|
| PayrollCode | string |
None. |
|
| AuthorizationBy | Milenio3.Horizon.Dto.Entities.Common.AuthorizationByType |
None. |
|
| AuthorizationOf | Milenio3.Horizon.Dto.Entities.Common.AuthorizationOfType |
None. |
|
| AuthorizationUnitDtoId | integer |
None. |
|
| Name | string |
Required Max length: 40 |
|
| Description | string |
Required Max length: 40 |
|
| Inactive | boolean |
Required |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"TimePeriod": 10,
"AppliesTo": 10,
"Accounting": 10,
"PayrollCode": "sample string 1",
"AuthorizationBy": 10,
"AuthorizationOf": 10,
"AuthorizationUnitDtoId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Inactive": true,
"CreatedOn": "2026-06-21T01:11:49.8860781+01:00",
"CreatedBy": 6,
"ModifiedOn": "2026-06-21T01:11:49.8860781+01:00",
"ModifiedBy": 1,
"Id": 7
}