GET dz_api/Permission/GetRoleById/{id}

获取角色信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取角色信息

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Msg

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Msg": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model">
  <Data />
  <Msg>sample string 2</Msg>
  <StatusCode>CONTINUE</StatusCode>
  <Success>true</Success>
</MessageModel>