POST api/UnPos/EntRole/V/Query/ById
依据角色ID查询单个角色信息,并以复杂类型返回。
Request Information
URI Parameters
None.
Body Parameters
MerchantRoleParmName | Description | Type | Additional information |
---|---|---|---|
roleid |
角色ID char(4) NOT NULL. |
string |
Required Max length: 4 |
Request Formats
application/json, text/json
Sample:
{ "roleid": "sample string 1" }
application/xml, text/xml
Sample:
<MerchantRoleParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <roleid>sample string 1</roleid> </MerchantRoleParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
依据角色ID查询单个角色信息,并以复杂类型返回。
CommonOperationResultWithTagOfV_UnPos_EntRoleDataTableName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": null }
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.