POST horizon/v1/administration/employees
Creates a new Employee
Request Information
URI Parameters
None.
Body Parameters
Milenio3.Horizon.Dto.Entities.Configuration.NewEmployeeUserDto| Name | Description | Type | Additional information |
|---|---|---|---|
| RedirectionUrl | string |
Required |
|
| Claims | Collection of string |
None. |
|
| CompanyCode | integer |
Required |
|
| FullName | string |
Required Max length: 120 |
|
| DisplayName | string |
Required Max length: 120 |
|
| JobTitle | string |
Max length: 40 |
|
| Birthday | date |
None. |
|
| Gender | Milenio3.Horizon.Dto.Entities.Common.GenderType |
None. |
|
| string |
Max length: 120 |
||
| PIN | unsigned integer |
None. |
|
| CardKey | string |
Max length: 40 |
|
| KeypadNumber | unsigned integer |
None. |
|
| Admission | date |
None. |
|
| Rescision | date |
None. |
|
| PhotoId | integer |
None. |
|
| Photo | Milenio3.Horizon.Dto.Entities.Configuration.ImageDto |
None. |
|
| AudioId | integer |
None. |
|
| FirstNameAudio | Milenio3.Horizon.Dto.Entities.Configuration.AudioDto |
None. |
|
| AuthorizationUnitId | integer |
None. |
|
| LocalHolidayId | integer |
None. |
|
| WorkScheduleId | integer |
None. |
|
| WorkingTime | integer |
None. |
|
| WorkScheduleReferenceDate | date |
None. |
|
| WorkSchedulePosition | integer |
None. |
|
| AnnualLeave | unsigned integer |
None. |
|
| OvertimeApprovals | unsigned integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RedirectionUrl": "sample string 1",
"Claims": [
"sample string 1",
"sample string 2"
],
"CompanyCode": 2,
"FullName": "sample string 3",
"DisplayName": "sample string 4",
"JobTitle": "sample string 5",
"Birthday": "2026-06-21T01:10:56.80645+01:00",
"Gender": 0,
"Email": "sample string 6",
"PIN": 1,
"CardKey": "sample string 7",
"KeypadNumber": 1,
"Admission": "2026-06-21T01:10:56.80645+01:00",
"Rescision": "2026-06-21T01:10:56.80645+01:00",
"PhotoId": 1,
"Photo": {
"RowData": "QEA=",
"Id": 1
},
"AudioId": 1,
"FirstNameAudio": {
"RowData": "QEA=",
"Id": 1
},
"AuthorizationUnitId": 1,
"LocalHolidayId": 1,
"WorkScheduleId": 1,
"WorkingTime": 1,
"WorkScheduleReferenceDate": "2026-06-21T01:10:56.8147957+01:00",
"WorkSchedulePosition": 9,
"AnnualLeave": 1,
"OvertimeApprovals": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The created Employee stream
Milenio3.Horizon.Dto.Entities.Configuration.EmployeeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyCode | integer |
Required |
|
| FullName | string |
Required Max length: 120 |
|
| DisplayName | string |
Required Max length: 120 |
|
| JobTitle | string |
Max length: 40 |
|
| Birthday | date |
None. |
|
| Gender | Milenio3.Horizon.Dto.Entities.Common.GenderType |
None. |
|
| string |
Max length: 120 |
||
| PIN | integer |
None. |
|
| CardKey | string |
Max length: 40 |
|
| KeypadNumber | integer |
None. |
|
| Admission | date |
None. |
|
| Rescision | date |
None. |
|
| PhotoId | integer |
None. |
|
| Photo | Milenio3.Horizon.Dto.Entities.Configuration.ImageDto |
None. |
|
| AudioId | integer |
None. |
|
| FirstNameAudio | Milenio3.Horizon.Dto.Entities.Configuration.AudioDto |
None. |
|
| AuthorizationUnitId | integer |
None. |
|
| LocalHolidayId | integer |
None. |
|
| WorkScheduleId | integer |
None. |
|
| WorkScheduleReferenceDate | date |
None. |
|
| WorkSchedulePosition | integer |
None. |
|
| WorkingTime | integer |
None. |
|
| AnnualLeave | integer |
None. |
|
| OvertimeApprovals | integer |
None. |
|
| Claims | Collection of string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"CompanyCode": 1,
"FullName": "sample string 2",
"DisplayName": "sample string 3",
"JobTitle": "sample string 4",
"Birthday": "2026-06-21T01:10:56.8304769+01:00",
"Gender": 0,
"Email": "sample string 5",
"PIN": 1,
"CardKey": "sample string 6",
"KeypadNumber": 1,
"Admission": "2026-06-21T01:10:56.8304769+01:00",
"Rescision": "2026-06-21T01:10:56.8304769+01:00",
"PhotoId": 1,
"Photo": {
"RowData": "QEA=",
"Id": 1
},
"AudioId": 1,
"FirstNameAudio": {
"RowData": "QEA=",
"Id": 1
},
"AuthorizationUnitId": 1,
"LocalHolidayId": 1,
"WorkScheduleId": 1,
"WorkScheduleReferenceDate": "2026-06-21T01:10:56.8304769+01:00",
"WorkSchedulePosition": 8,
"WorkingTime": 1,
"AnnualLeave": 1,
"OvertimeApprovals": 1,
"Claims": [
"sample string 1",
"sample string 2"
],
"CreatedOn": "2026-06-21T01:10:56.8304769+01:00",
"CreatedBy": 10,
"ModifiedOn": "2026-06-21T01:10:56.8304769+01:00",
"ModifiedBy": 1,
"Id": 11
}