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