POST api/UnPos/EntRole/Permit/T/Delete
通过存储过程为角色移除权限。
Request Information
URI Parameters
None.
Body Parameters
MerchantEntRolePermitParmName | Description | Type | Additional information |
---|---|---|---|
RoleId |
角色ID char(4) NOT NULL. |
string |
Required Max length: 4 |
PermitList |
权限 UnPos_PermitList |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "RoleId": "sample string 1", "PermitList": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<MerchantEntRolePermitParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <PermitList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PermitList> <RoleId>sample string 1</RoleId> </MerchantEntRolePermitParm>
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
通过存储过程为角色移除权限。
CommonOperationResultWithTagOfInt32Name | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": 3 }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>3</tag> </CommonOperationResultWithTagOfint>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.