GET api/roles/{name}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PortalRole
NameDescriptionTypeAdditional 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>