GET api/Account/Roles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of IdentityRole
NameDescriptionTypeAdditional information
Users

Collection of IdentityUserRole

None.

Id

string

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Users": [],
    "Id": "sample string 1",
    "Name": "sample string 2"
  },
  {
    "Users": [],
    "Id": "sample string 1",
    "Name": "sample string 2"
  }
]

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--