GET api/roles/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PortalRoleName | Description | Type | Additional information |
---|---|---|---|
Role | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Role": "sample string 1" }, { "Role": "sample string 1" } ]
text/javascript
Sample:
[{"Role":"sample string 1"},{"Role":"sample string 1"}]
application/xml, text/xml
Sample:
<ArrayOfPortalRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pomona.WebApi.Models"> <PortalRole> <Role>sample string 1</Role> </PortalRole> <PortalRole> <Role>sample string 1</Role> </PortalRole> </ArrayOfPortalRole>