GET PersonType?Sort={Sort}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Sort | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PersonTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonTypeId | integer |
Required |
|
| Code | string |
Required String length: inclusive between 0 and 500 |
|
| Title | string |
Required String length: inclusive between 0 and 500 |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PersonTypeId": 1,
"Code": "sample string 2",
"Title": "sample string 3",
"Description": "sample string 4"
},
{
"PersonTypeId": 1,
"Code": "sample string 2",
"Title": "sample string 3",
"Description": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfPersonTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto">
<PersonTypeDto>
<Code>sample string 2</Code>
<Description>sample string 4</Description>
<PersonTypeId>1</PersonTypeId>
<Title>sample string 3</Title>
</PersonTypeDto>
<PersonTypeDto>
<Code>sample string 2</Code>
<Description>sample string 4</Description>
<PersonTypeId>1</PersonTypeId>
<Title>sample string 3</Title>
</PersonTypeDto>
</ArrayOfPersonTypeDto>