GET api/{DataId}/employees
Vráti zoznam všetkých zamestnancov
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DataId |
Číslo dátového prostredia |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
EmployeeName | Description | Type | Additional information |
---|---|---|---|
EmployeeId |
Interný databázový identifikátor zamestnanca (Oid) |
globally unique identifier |
None. |
Name |
Meno |
string |
None. |
Surname |
Priezvisko |
string |
None. |
Title |
Titul pred menom |
string |
None. |
TitleAfter |
Titul za menom |
string |
None. |
BirthSurname |
Rodné priezvisko |
string |
None. |
Gender |
Pohlavie |
Gender |
None. |
JobClassification |
Pracovné zaradenie |
string |
None. |
EmploymentStatusActive |
Pracovný pomer |
boolean |
None. |
StartDate |
Dátum začiatku pracovného pomeru |
date |
None. |
EndDate |
Dátum ukončenia pracovného pomeru |
date |
None. |
Firemný email |
string |
None. |
|
PersonalEmail |
Osobný email |
string |
None. |
MobilePhone |
Firemná telefónne číslo |
string |
None. |
PersonalPhone |
Osobné telefónne číslo |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "EmployeeId": "7cea543b-01df-47af-9495-766dac520448", "Name": "sample string 2", "Surname": "sample string 3", "Title": "sample string 4", "TitleAfter": "sample string 5", "BirthSurname": "sample string 6", "Gender": 1, "JobClassification": "sample string 7", "EmploymentStatusActive": true, "StartDate": "2025-07-01T05:27:54.6216163+02:00", "EndDate": "2025-07-01T05:27:54.6216163+02:00", "Email": "sample string 11", "PersonalEmail": "sample string 12", "MobilePhone": "sample string 13", "PersonalPhone": "sample string 14" }
application/xml, text/xml
Sample:
<Employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <EmployeeId>7cea543b-01df-47af-9495-766dac520448</EmployeeId> <Name>sample string 2</Name> <Surname>sample string 3</Surname> <Title>sample string 4</Title> <TitleAfter>sample string 5</TitleAfter> <BirthSurname>sample string 6</BirthSurname> <Gender>Male</Gender> <JobClassification>sample string 7</JobClassification> <EmploymentStatusActive>true</EmploymentStatusActive> <StartDate>2025-07-01T05:27:54.6216163+02:00</StartDate> <EndDate>2025-07-01T05:27:54.6216163+02:00</EndDate> <Email>sample string 11</Email> <PersonalEmail>sample string 12</PersonalEmail> <MobilePhone>sample string 13</MobilePhone> <PersonalPhone>sample string 14</PersonalPhone> </Employee>