GET api/v1/persons/listitems
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PersonListItem| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonId | globally unique identifier |
None. |
|
| Firstname | string |
None. |
|
| Lastname | string |
None. |
|
| City | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PersonId": "25e5a4ce-120e-4990-a6d2-fafda792e006",
"Firstname": "sample string 2",
"Lastname": "sample string 3",
"City": "sample string 4"
},
{
"PersonId": "25e5a4ce-120e-4990-a6d2-fafda792e006",
"Firstname": "sample string 2",
"Lastname": "sample string 3",
"City": "sample string 4"
}
]
text/html
Sample:
[{"PersonId":"25e5a4ce-120e-4990-a6d2-fafda792e006","Firstname":"sample string 2","Lastname":"sample string 3","City":"sample string 4"},{"PersonId":"25e5a4ce-120e-4990-a6d2-fafda792e006","Firstname":"sample string 2","Lastname":"sample string 3","City":"sample string 4"}]
application/xml, text/xml
Sample:
<ArrayOfPersonListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Person">
<PersonListItem>
<City>sample string 4</City>
<Firstname>sample string 2</Firstname>
<Lastname>sample string 3</Lastname>
<PersonId>25e5a4ce-120e-4990-a6d2-fafda792e006</PersonId>
</PersonListItem>
<PersonListItem>
<City>sample string 4</City>
<Firstname>sample string 2</Firstname>
<Lastname>sample string 3</Lastname>
<PersonId>25e5a4ce-120e-4990-a6d2-fafda792e006</PersonId>
</PersonListItem>
</ArrayOfPersonListItem>