GET api/v1/user/roles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RoleResponse
NameDescriptionTypeAdditional information
ID

integer

None.

ApplicationID

string

None.

StoreID

string

None.

UserID

string

None.

SsoID

string

None.

Grant

string

None.

_meta

ResponseMeta

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "ApplicationID": "sample string 2",
    "StoreID": "sample string 3",
    "UserID": "sample string 4",
    "SsoID": "sample string 5",
    "Grant": "sample string 6",
    "_meta": {
      "Messages": [
        "sample string 1",
        "sample string 2"
      ],
      "ChangeType": "Created"
    }
  },
  {
    "ID": 1,
    "ApplicationID": "sample string 2",
    "StoreID": "sample string 3",
    "UserID": "sample string 4",
    "SsoID": "sample string 5",
    "Grant": "sample string 6",
    "_meta": {
      "Messages": [
        "sample string 1",
        "sample string 2"
      ],
      "ChangeType": "Created"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfRoleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Response">
  <RoleResponse>
    <ApplicationID>sample string 2</ApplicationID>
    <Grant>sample string 6</Grant>
    <ID>1</ID>
    <SsoID>sample string 5</SsoID>
    <StoreID>sample string 3</StoreID>
    <UserID>sample string 4</UserID>
    <_meta>
      <ChangeType>Created</ChangeType>
      <Messages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Messages>
    </_meta>
  </RoleResponse>
  <RoleResponse>
    <ApplicationID>sample string 2</ApplicationID>
    <Grant>sample string 6</Grant>
    <ID>1</ID>
    <SsoID>sample string 5</SsoID>
    <StoreID>sample string 3</StoreID>
    <UserID>sample string 4</UserID>
    <_meta>
      <ChangeType>Created</ChangeType>
      <Messages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Messages>
    </_meta>
  </RoleResponse>
</ArrayOfRoleResponse>

multipart/form-data

Sample:

An exception has occurred while using the formatter 'MultiPartMediaFormat' to generate sample for media type 'multipart/form-data'. Exception message: The media type formatter of type 'MultiPartMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/png

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/png'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/jpg

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/jpg'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/jpeg

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/jpeg'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/bmp

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/bmp'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.