GET System/Role/GetRoleRight/{roleId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roleId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RightResponseDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Parent

integer

None.

Title

string

None.

URL

string

None.

Level

integer

None.

IsCheck

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Parent": 2,
    "Title": "sample string 3",
    "URL": "sample string 4",
    "Level": 5,
    "IsCheck": 6
  },
  {
    "Id": 1,
    "Parent": 2,
    "Title": "sample string 3",
    "URL": "sample string 4",
    "Level": 5,
    "IsCheck": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfRightResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO">
  <RightResponseDTO>
    <Id>1</Id>
    <IsCheck>6</IsCheck>
    <Level>5</Level>
    <Parent>2</Parent>
    <Title>sample string 3</Title>
    <URL>sample string 4</URL>
  </RightResponseDTO>
  <RightResponseDTO>
    <Id>1</Id>
    <IsCheck>6</IsCheck>
    <Level>5</Level>
    <Parent>2</Parent>
    <Title>sample string 3</Title>
    <URL>sample string 4</URL>
  </RightResponseDTO>
</ArrayOfRightResponseDTO>