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 |
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. |
|
string |
None. |
|
MobilePhone |
Telefónne číslo |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "EmployeeId": "a87bccc4-291e-496d-86fb-022d3aba4eb2", "Name": "sample string 2", "Surname": "sample string 3", "Title": "sample string 4", "BirthSurname": "sample string 5", "Gender": 1, "JobClassification": "sample string 6", "EmploymentStatusActive": true, "StartDate": "2024-05-19T19:43:15.5765+02:00", "EndDate": "2024-05-19T19:43:15.5765+02:00", "Email": "sample string 10", "MobilePhone": "sample string 11" }
application/xml, text/xml
Sample:
<Employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <EmployeeId>a87bccc4-291e-496d-86fb-022d3aba4eb2</EmployeeId> <Name>sample string 2</Name> <Surname>sample string 3</Surname> <Title>sample string 4</Title> <BirthSurname>sample string 5</BirthSurname> <Gender>Male</Gender> <JobClassification>sample string 6</JobClassification> <EmploymentStatusActive>true</EmploymentStatusActive> <StartDate>2024-05-19T19:43:15.5765+02:00</StartDate> <EndDate>2024-05-19T19:43:15.5765+02:00</EndDate> <Email>sample string 10</Email> <MobilePhone>sample string 11</MobilePhone> </Employee>