GET zd/Roles/Get/{id}

获取角色

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

角色编号

integer

Required

Body Parameters

None.

Response Information

Resource Description

ZD_Roles
NameDescriptionTypeAdditional information
Id

integer

Required

ParentId

integer

Required

Name

string

None.

Code

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ParentId": 1,
  "Name": "sample string 2",
  "Code": "sample string 3"
}

application/x-msgpack

Sample:

Sample not available.