GET api/v1/Persons/{id}/PersonRoles
Gets all person roles linked to given Person ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Person ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PersonRole| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonRole_ID |
ID |
globally unique identifier |
None. |
| Name |
Name |
string |
None. |
| Description |
Description |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PersonRole_ID": "b84df837-03d1-4f63-b634-5babda36129d",
"Name": "sample string 2",
"Description": "sample string 3"
},
{
"PersonRole_ID": "b84df837-03d1-4f63-b634-5babda36129d",
"Name": "sample string 2",
"Description": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfPersonRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iloq.manager.server.bus">
<PersonRole>
<Description>sample string 3</Description>
<Name>sample string 2</Name>
<PersonRole_ID>b84df837-03d1-4f63-b634-5babda36129d</PersonRole_ID>
</PersonRole>
<PersonRole>
<Description>sample string 3</Description>
<Name>sample string 2</Name>
<PersonRole_ID>b84df837-03d1-4f63-b634-5babda36129d</PersonRole_ID>
</PersonRole>
</ArrayOfPersonRole>