POST Admin/GetOperationRight

Request Information

URI Parameters

None.

Body Parameters

AdminOperateRightDTO
NameDescriptionTypeAdditional information
UserId

integer

None.

RightId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "RightId": 2
}

application/xml, text/xml

Sample:
<AdminOperateRightDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO">
  <RightId>2</RightId>
  <UserId>1</UserId>
</AdminOperateRightDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>