POST api/Common/GetRoleInfo
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResultDTOOfListOfResultRolePublic| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| data | Collection of ResultRolePublic |
None. |
|
| msg | string |
None. |
|
| Exception | Object |
None. |
|
| Exception1 | Object |
None. |
|
| count | integer |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"data": [
{
"RoleID": 1,
"RoleName": "sample string 2"
},
{
"RoleID": 1,
"RoleName": "sample string 2"
}
],
"msg": "sample string 2",
"Exception": {},
"Exception1": {},
"count": 5,
"PageSize": 6,
"PageIndex": 7
}
application/xml, text/xml
Sample:
<ResultDTOOfArrayOfResultRolePublic3G4q1gKH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
<Exception />
<Exception1 />
<PageIndex>7</PageIndex>
<PageSize>6</PageSize>
<code>1</code>
<count>5</count>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.ResultModels">
<d2p1:ResultRolePublic>
<d2p1:RoleID>1</d2p1:RoleID>
<d2p1:RoleName>sample string 2</d2p1:RoleName>
</d2p1:ResultRolePublic>
<d2p1:ResultRolePublic>
<d2p1:RoleID>1</d2p1:RoleID>
<d2p1:RoleName>sample string 2</d2p1:RoleName>
</d2p1:ResultRolePublic>
</data>
<msg>sample string 2</msg>
</ResultDTOOfArrayOfResultRolePublic3G4q1gKH>