POST Role/GetRoleInfo

Request Information

URI Parameters

None.

Body Parameters

View_Role
NameDescriptionTypeAdditional information
Role_ID

integer

None.

Role_Name

string

None.

Role_State

integer

None.

Role_Menus

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Role_ID": 1,
  "Role_Name": "sample string 2",
  "Role_State": 1,
  "Role_Menus": "sample string 3"
}

application/xml, text/xml

Sample:
<View_Role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cunzhi.WebAPI.Models">
  <Role_ID>1</Role_ID>
  <Role_Menus>sample string 3</Role_Menus>
  <Role_Name>sample string 2</Role_Name>
  <Role_State>1</Role_State>
</View_Role>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.