POST api/Busi/SP_NK_SZ/Set
设置门票IC卡的API。
Request Information
URI Parameters
None.
Body Parameters
TicketICCardSetParmName | Description | Type | Additional information |
---|---|---|---|
DH |
单据单号 |
string |
Required Max length: 20 |
LBSBH |
内部识别号 |
string |
Required Max length: 32 |
CZLX |
操作类型 操作类型 1绑定或更换IC卡,2-取消IC卡绑定 ,3-挂失IC卡 4-解挂IC卡。 |
string |
Required Max length: 1 Min length: 1 |
SPZDDM |
售票站点代码 |
string |
Required Max length: 2 Min length: 2 |
YICCARD |
原IC卡卡号 |
string |
Max length: 50 |
XICCARD |
新IC卡卡号 |
string |
Max length: 50 |
SHJE |
收费金额,记录到其他收入中 |
decimal number |
None. |
BL1 |
保留一 |
string |
Max length: 25 |
BL2 |
保留二 |
string |
Max length: 25 |
BZ |
备注 |
string |
Max length: 100 |
Request Formats
application/json, text/json
Sample:
{ "DH": "sample string 1", "LBSBH": "sample string 2", "CZLX": "sample string 3", "SPZDDM": "sample string 4", "YICCARD": "sample string 5", "XICCARD": "sample string 6", "SHJE": 7.0, "BL1": "sample string 8", "BL2": "sample string 9", "BZ": "sample string 10" }
application/xml, text/xml
Sample:
<TicketICCardSetParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <BL1>sample string 8</BL1> <BL2>sample string 9</BL2> <BZ>sample string 10</BZ> <CZLX>sample string 3</CZLX> <DH>sample string 1</DH> <LBSBH>sample string 2</LBSBH> <SHJE>7</SHJE> <SPZDDM>sample string 4</SPZDDM> <XICCARD>sample string 6</XICCARD> <YICCARD>sample string 5</YICCARD> </TicketICCardSetParm>
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
设置门票IC卡的API。
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.