POST api/UnPos/Merchant/Sell/GuiderOrCustomer/BindOrDisBind
绑定或解绑导游/客户端和售货单
Request Information
URI Parameters
None.
Body Parameters
绑定的参数
MerchantSellBindGuiderParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
@BillNum char(20),--单据号 |
string |
Max length: 20 |
OpType |
@OpType char(1),--操作类型 B-绑定 D-解除绑定 |
string |
Max length: 1 |
DisType |
@DisType char(1),--解除绑定的范围 A-全部 G-导游 C-客户单位 |
string |
Max length: 1 |
GuiderNum |
@GuiderNum varchar(20),--导游证号 |
string |
Max length: 20 |
DWLX |
@DWLX char(1),--单位类型 |
string |
Max length: 1 |
DWID |
@DWID varchar(36),--单位ID |
string |
Max length: 36 |
MerchantId |
@MerchantId int, --商户ID |
integer |
None. |
UserCode |
@UserCode int --用户代码 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "BillNum": "sample string 1", "OpType": "sample string 2", "DisType": "sample string 3", "GuiderNum": "sample string 4", "DWLX": "sample string 5", "DWID": "sample string 6", "MerchantId": 7, "UserCode": 8 }
application/xml, text/xml
Sample:
<MerchantSellBindGuiderParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <BillNum>sample string 1</BillNum> <DWID>sample string 6</DWID> <DWLX>sample string 5</DWLX> <DisType>sample string 3</DisType> <GuiderNum>sample string 4</GuiderNum> <MerchantId>7</MerchantId> <OpType>sample string 2</OpType> <UserCode>8</UserCode> </MerchantSellBindGuiderParm>
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
绑定或解绑导游/客户端和售货单
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
Sample:
<CommonOperationResult 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>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.