POST api/UnPos/EntUser/Role/T/Delete
通过存储过程移除角色
Request Information
URI Parameters
None.
Body Parameters
MerchantEntUserRoleParmName | Description | Type | Additional information |
---|---|---|---|
UserCode |
用户代码 int |
integer |
Required |
ShopId |
门店ID char(4) NOT NULL. |
string |
Required Max length: 4 |
RoleList |
角色 UnPos_RoleList |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserCode": 1, "ShopId": "sample string 2", "RoleList": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<MerchantEntUserRoleParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <RoleList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </RoleList> <ShopId>sample string 2</ShopId> <UserCode>1</UserCode> </MerchantEntUserRoleParm>
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.