GET api/Employees
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of EmployeesDTOName | Description | Type | Additional information |
---|---|---|---|
PeopleID | integer |
None. |
|
LastName | string |
None. |
|
FirstName | string |
None. |
|
MName | string |
None. |
|
Title | string |
None. |
|
string |
None. |
||
DisplayName | string |
None. |
|
Suffix | string |
None. |
|
CreationDate | date |
None. |
|
ModifiedDate | date |
None. |
|
Languages | Collection of string |
None. |
|
Licenses | Collection of string |
None. |
|
Schools | Collection of EmployeeSchoolDTO |
None. |
|
Offices | Collection of EmployeeOfficeDTO |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PeopleID": 1, "LastName": "sample string 2", "FirstName": "sample string 3", "MName": "sample string 4", "Title": "sample string 5", "Email": "sample string 6", "DisplayName": "sample string 7", "Suffix": "sample string 8", "CreationDate": "2024-11-27T16:47:09.5071333-05:00", "ModifiedDate": "2024-11-27T16:47:09.5071333-05:00", "Languages": [ "sample string 1", "sample string 2" ], "Licenses": [ "sample string 1", "sample string 2" ], "Schools": [ { "SchoolName": "sample string 1", "DegreeTypeAbbr": "sample string 2", "AreaOfStudy": "sample string 3", "GraduationYear": 1, "Honors": "sample string 4" }, { "SchoolName": "sample string 1", "DegreeTypeAbbr": "sample string 2", "AreaOfStudy": "sample string 3", "GraduationYear": 1, "Honors": "sample string 4" } ], "Offices": [ { "OfficeName": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "StateCode": "sample string 5", "StateName": "sample string 6", "CountryCode": "sample string 7", "CountryName": "sample string 8", "PhoneNumber": "sample string 9", "Extension": "sample string 10", "IsPrimaryPhone": true, "IsPrimaryOfice": true }, { "OfficeName": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "StateCode": "sample string 5", "StateName": "sample string 6", "CountryCode": "sample string 7", "CountryName": "sample string 8", "PhoneNumber": "sample string 9", "Extension": "sample string 10", "IsPrimaryPhone": true, "IsPrimaryOfice": true } ] }, { "PeopleID": 1, "LastName": "sample string 2", "FirstName": "sample string 3", "MName": "sample string 4", "Title": "sample string 5", "Email": "sample string 6", "DisplayName": "sample string 7", "Suffix": "sample string 8", "CreationDate": "2024-11-27T16:47:09.5071333-05:00", "ModifiedDate": "2024-11-27T16:47:09.5071333-05:00", "Languages": [ "sample string 1", "sample string 2" ], "Licenses": [ "sample string 1", "sample string 2" ], "Schools": [ { "SchoolName": "sample string 1", "DegreeTypeAbbr": "sample string 2", "AreaOfStudy": "sample string 3", "GraduationYear": 1, "Honors": "sample string 4" }, { "SchoolName": "sample string 1", "DegreeTypeAbbr": "sample string 2", "AreaOfStudy": "sample string 3", "GraduationYear": 1, "Honors": "sample string 4" } ], "Offices": [ { "OfficeName": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "StateCode": "sample string 5", "StateName": "sample string 6", "CountryCode": "sample string 7", "CountryName": "sample string 8", "PhoneNumber": "sample string 9", "Extension": "sample string 10", "IsPrimaryPhone": true, "IsPrimaryOfice": true }, { "OfficeName": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "StateCode": "sample string 5", "StateName": "sample string 6", "CountryCode": "sample string 7", "CountryName": "sample string 8", "PhoneNumber": "sample string 9", "Extension": "sample string 10", "IsPrimaryPhone": true, "IsPrimaryOfice": true } ] } ]
application/xml, text/xml
Sample:
<ArrayOfEmployeesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mintz.EmployeeDirectory.API.Models"> <EmployeesDTO> <CreationDate>2024-11-27T16:47:09.5071333-05:00</CreationDate> <DisplayName>sample string 7</DisplayName> <Email>sample string 6</Email> <FirstName>sample string 3</FirstName> <Languages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Languages> <LastName>sample string 2</LastName> <Licenses xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Licenses> <MName>sample string 4</MName> <ModifiedDate>2024-11-27T16:47:09.5071333-05:00</ModifiedDate> <Offices> <EmployeeOfficeDTO> <City>sample string 4</City> <CountryCode>sample string 7</CountryCode> <CountryName>sample string 8</CountryName> <Extension>sample string 10</Extension> <IsPrimaryOfice>true</IsPrimaryOfice> <IsPrimaryPhone>true</IsPrimaryPhone> <OfficeName>sample string 1</OfficeName> <PhoneNumber>sample string 9</PhoneNumber> <StateCode>sample string 5</StateCode> <StateName>sample string 6</StateName> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </EmployeeOfficeDTO> <EmployeeOfficeDTO> <City>sample string 4</City> <CountryCode>sample string 7</CountryCode> <CountryName>sample string 8</CountryName> <Extension>sample string 10</Extension> <IsPrimaryOfice>true</IsPrimaryOfice> <IsPrimaryPhone>true</IsPrimaryPhone> <OfficeName>sample string 1</OfficeName> <PhoneNumber>sample string 9</PhoneNumber> <StateCode>sample string 5</StateCode> <StateName>sample string 6</StateName> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </EmployeeOfficeDTO> </Offices> <PeopleID>1</PeopleID> <Schools> <EmployeeSchoolDTO> <AreaOfStudy>sample string 3</AreaOfStudy> <DegreeTypeAbbr>sample string 2</DegreeTypeAbbr> <GraduationYear>1</GraduationYear> <Honors>sample string 4</Honors> <SchoolName>sample string 1</SchoolName> </EmployeeSchoolDTO> <EmployeeSchoolDTO> <AreaOfStudy>sample string 3</AreaOfStudy> <DegreeTypeAbbr>sample string 2</DegreeTypeAbbr> <GraduationYear>1</GraduationYear> <Honors>sample string 4</Honors> <SchoolName>sample string 1</SchoolName> </EmployeeSchoolDTO> </Schools> <Suffix>sample string 8</Suffix> <Title>sample string 5</Title> </EmployeesDTO> <EmployeesDTO> <CreationDate>2024-11-27T16:47:09.5071333-05:00</CreationDate> <DisplayName>sample string 7</DisplayName> <Email>sample string 6</Email> <FirstName>sample string 3</FirstName> <Languages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Languages> <LastName>sample string 2</LastName> <Licenses xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Licenses> <MName>sample string 4</MName> <ModifiedDate>2024-11-27T16:47:09.5071333-05:00</ModifiedDate> <Offices> <EmployeeOfficeDTO> <City>sample string 4</City> <CountryCode>sample string 7</CountryCode> <CountryName>sample string 8</CountryName> <Extension>sample string 10</Extension> <IsPrimaryOfice>true</IsPrimaryOfice> <IsPrimaryPhone>true</IsPrimaryPhone> <OfficeName>sample string 1</OfficeName> <PhoneNumber>sample string 9</PhoneNumber> <StateCode>sample string 5</StateCode> <StateName>sample string 6</StateName> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </EmployeeOfficeDTO> <EmployeeOfficeDTO> <City>sample string 4</City> <CountryCode>sample string 7</CountryCode> <CountryName>sample string 8</CountryName> <Extension>sample string 10</Extension> <IsPrimaryOfice>true</IsPrimaryOfice> <IsPrimaryPhone>true</IsPrimaryPhone> <OfficeName>sample string 1</OfficeName> <PhoneNumber>sample string 9</PhoneNumber> <StateCode>sample string 5</StateCode> <StateName>sample string 6</StateName> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </EmployeeOfficeDTO> </Offices> <PeopleID>1</PeopleID> <Schools> <EmployeeSchoolDTO> <AreaOfStudy>sample string 3</AreaOfStudy> <DegreeTypeAbbr>sample string 2</DegreeTypeAbbr> <GraduationYear>1</GraduationYear> <Honors>sample string 4</Honors> <SchoolName>sample string 1</SchoolName> </EmployeeSchoolDTO> <EmployeeSchoolDTO> <AreaOfStudy>sample string 3</AreaOfStudy> <DegreeTypeAbbr>sample string 2</DegreeTypeAbbr> <GraduationYear>1</GraduationYear> <Honors>sample string 4</Honors> <SchoolName>sample string 1</SchoolName> </EmployeeSchoolDTO> </Schools> <Suffix>sample string 8</Suffix> <Title>sample string 5</Title> </EmployeesDTO> </ArrayOfEmployeesDTO>