POST api/Busi/Sell/YearCard
整体成功、整体失败的方式提交年卡售票事务 《1》调用Sp_Sp_Spd_Add保存售票单记录 《2》调用Sp_Sp_Spd_Mx_Add保存售票单明细记录 《3》调用Sp_Sp_Mp_Zh_Add门票账户记录 《4》调用Sp_Sp_Mp_Zh_Sfbs_Add门票账户身份标识记录 《5》调用Sp_Sp_Spd_Sk_Add保存售票单收款记录 《6》调用Sp_Sp_Spd_Complete保存售票单事务提交完成记录
Request Information
URI Parameters
None.
Body Parameters
YearCardSellTicketTranParmName | Description | Type | Additional information |
---|---|---|---|
DJSID |
地接社ID |
globally unique identifier |
None. |
DJSBMID |
地接社部门ID |
globally unique identifier |
None. |
ZTSID |
组团社ID |
globally unique identifier |
None. |
ZTSBMID |
组团社部门ID |
globally unique identifier |
None. |
XYDWID |
协议单位ID |
globally unique identifier |
None. |
XYDWBMID |
协议单位部门ID |
globally unique identifier |
None. |
DYZH |
导游证号 |
string |
Max length: 20 |
YWYDM |
业务员代码 |
string |
Max length: 20 |
QHDM |
区划代码 |
string |
Max length: 8 |
TDLX |
团队类型 |
string |
Max length: 2 |
BL1 |
BL1 |
string |
Max length: 50 |
BL2 |
BL2 |
string |
Max length: 50 |
BZ |
备注 |
string |
Max length: 100 |
YWGS |
业务归属 |
string |
Max length: 1 |
SPZDDM |
售票站点代码 |
string |
Required Max length: 2 |
YHDLM |
用户登陆名 |
string |
Required Max length: 20 |
RQSJ |
日期时间 |
string |
Required Max length: 14 |
DH |
单号 |
string |
Required Max length: 20 |
LBSBH |
内部识别号 |
string |
Max length: 32 |
JYLY |
交易来源 |
string |
Max length: 1 |
ZJLX |
证件类型 |
string |
Max length: 1 |
ZJHM |
证件号码 |
string |
Max length: 20 |
ICCard |
IC卡序列号 |
string |
Max length: 50 |
KH |
卡号 |
string |
Max length: 32 |
XM |
姓名 |
string |
Max length: 50 |
MPLXID |
门票类型 |
globally unique identifier |
None. |
SL |
数量 |
integer |
None. |
JG |
价格 |
decimal number |
None. |
MPRQ |
门票日期 |
string |
None. |
SFBS1 |
身份标识1 |
Collection of byte |
Max length: 4096 |
SFBS2 |
身份标识2 |
Collection of byte |
Max length: 4096 |
SFBS3 |
身份标识3 |
Collection of byte |
Max length: 4096 |
SFBS4 |
身份标识4 |
Collection of byte |
Max length: 4096 |
PayList |
付款内容的集合 |
Collection of CSellTicketTranTicketPayItem |
None. |
Face_YSTZ |
原始生物特征。 |
Collection of byte |
Max length: 8388608 |
Face_Extract |
人脸提取后的特征值。 |
Collection of byte |
Max length: 8388608 |
MemberId |
会员ID |
integer |
None. |
MemberInfo |
会员信息 |
string |
None. |
Face_ExtParm |
地平线的额外的生物特征的值。 |
byte |
None. |
SJHM |
手机号码 |
string |
Max length: 20 |
DelayActBill |
是否延迟激活单据,1是,0不是。空表示否。 |
string |
Max length: 1 |
DelayActExtMode |
延迟激活的扩展模式。 0 = 使用票型设置 , 1 = 至多延迟至门票日期所在日期。, 2 = 至多延迟至指定日期。 |
integer |
None. |
DelayActEndDate |
当延迟激活模式=2时此值有意义,指定延迟激活的截止期限,取值为YYYYMMDD。 |
string |
Max length: 8 |
Request Formats
application/json, text/json
{ "DJSID": "b45754b2-a1d3-4f60-bd00-a4ef4486a869", "DJSBMID": "fe26f407-8358-43e6-b0aa-d3baeac4c6d7", "ZTSID": "854bd0a2-41d8-4d89-a9bd-242d01ad5203", "ZTSBMID": "45ea83b1-7b11-46f2-bb75-d4399233a601", "XYDWID": "39697f18-01be-42c8-a458-ae968722169a", "XYDWBMID": "cf9d4b72-f61f-43a4-be48-04231cc7e139", "DYZH": "sample string 7", "YWYDM": "sample string 8", "QHDM": "sample string 9", "TDLX": "sample string 10", "BL1": "sample string 11", "BL2": "sample string 12", "BZ": "sample string 13", "YWGS": "sample string 14", "SPZDDM": "sample string 15", "YHDLM": "sample string 16", "RQSJ": "sample string 17", "DH": "sample string 18", "LBSBH": "sample string 19", "JYLY": "sample string 20", "ZJLX": "sample string 21", "ZJHM": "sample string 22", "ICCard": "sample string 23", "KH": "sample string 24", "XM": "sample string 25", "MPLXID": "71d3a1b9-fcae-493c-83f6-be90ebff997f", "SL": 27, "JG": 28.0, "MPRQ": "sample string 29", "SFBS1": "QEA=", "SFBS2": "QEA=", "SFBS3": "QEA=", "SFBS4": "QEA=", "PayList": [ { "FKFSID": "sample string 1", "FKFSMC": "sample string 2", "FKJE": 3.0 }, { "FKFSID": "sample string 1", "FKFSMC": "sample string 2", "FKJE": 3.0 } ], "Face_YSTZ": "QEA=", "Face_Extract": "QEA=", "MemberId": 1, "MemberInfo": "sample string 30", "Face_ExtParm": 64, "SJHM": "sample string 32", "DelayActBill": "sample string 33", "DelayActExtMode": 34, "DelayActEndDate": "sample string 35" }
application/xml, text/xml
<YearCardSellTicketTranParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.YearCard"> <BL1>sample string 11</BL1> <BL2>sample string 12</BL2> <BZ>sample string 13</BZ> <DH>sample string 18</DH> <DJSBMID>fe26f407-8358-43e6-b0aa-d3baeac4c6d7</DJSBMID> <DJSID>b45754b2-a1d3-4f60-bd00-a4ef4486a869</DJSID> <DYZH>sample string 7</DYZH> <DelayActBill>sample string 33</DelayActBill> <DelayActEndDate>sample string 35</DelayActEndDate> <DelayActExtMode>34</DelayActExtMode> <Face_ExtParm>64</Face_ExtParm> <Face_Extract>QEA=</Face_Extract> <Face_YSTZ>QEA=</Face_YSTZ> <ICCard>sample string 23</ICCard> <JG>28</JG> <JYLY>sample string 20</JYLY> <KH>sample string 24</KH> <LBSBH>sample string 19</LBSBH> <MPLXID>71d3a1b9-fcae-493c-83f6-be90ebff997f</MPLXID> <MPRQ>sample string 29</MPRQ> <MemberId>1</MemberId> <MemberInfo>sample string 30</MemberInfo> <PayList xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <d2p1:CSellTicketTranTicketPayItem> <d2p1:FKFSID>sample string 1</d2p1:FKFSID> <d2p1:FKFSMC>sample string 2</d2p1:FKFSMC> <d2p1:FKJE>3</d2p1:FKJE> </d2p1:CSellTicketTranTicketPayItem> <d2p1:CSellTicketTranTicketPayItem> <d2p1:FKFSID>sample string 1</d2p1:FKFSID> <d2p1:FKFSMC>sample string 2</d2p1:FKFSMC> <d2p1:FKJE>3</d2p1:FKJE> </d2p1:CSellTicketTranTicketPayItem> </PayList> <QHDM>sample string 9</QHDM> <RQSJ>sample string 17</RQSJ> <SFBS1>QEA=</SFBS1> <SFBS2>QEA=</SFBS2> <SFBS3>QEA=</SFBS3> <SFBS4>QEA=</SFBS4> <SJHM>sample string 32</SJHM> <SL>27</SL> <SPZDDM>sample string 15</SPZDDM> <TDLX>sample string 10</TDLX> <XM>sample string 25</XM> <XYDWBMID>cf9d4b72-f61f-43a4-be48-04231cc7e139</XYDWBMID> <XYDWID>39697f18-01be-42c8-a458-ae968722169a</XYDWID> <YHDLM>sample string 16</YHDLM> <YWGS>sample string 14</YWGS> <YWYDM>sample string 8</YWYDM> <ZJHM>sample string 22</ZJHM> <ZJLX>sample string 21</ZJLX> <ZTSBMID>45ea83b1-7b11-46f2-bb75-d4399233a601</ZTSBMID> <ZTSID>854bd0a2-41d8-4d89-a9bd-242d01ad5203</ZTSID> </YearCardSellTicketTranParm>
application/x-www-form-urlencoded
Sample not available.
application/bson
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
整体成功、整体失败的方式提交年卡售票事务 《1》调用Sp_Sp_Spd_Add保存售票单记录 《2》调用Sp_Sp_Spd_Mx_Add保存售票单明细记录 《3》调用Sp_Sp_Mp_Zh_Add门票账户记录 《4》调用Sp_Sp_Mp_Zh_Sfbs_Add门票账户身份标识记录 《5》调用Sp_Sp_Spd_Sk_Add保存售票单收款记录 《6》调用Sp_Sp_Spd_Complete保存售票单事务提交完成记录
JQSellTicketTranReturnName | Description | Type | Additional information |
---|---|---|---|
DH |
售票单号 |
string |
None. |
ErrorMessage |
错误信息 |
string |
None. |
ErrorCode |
故障码 |
integer |
None. |
MPLXList |
成功出售的门票列表 |
Collection of SellTicketMPLXRetItem |
None. |
Response Formats
application/json, text/json
{ "DH": "sample string 1", "ErrorMessage": "sample string 2", "ErrorCode": 3, "MPLXList": [ { "MPLXID": "55b4581d-75b6-4025-9de5-0c36f969d2d6", "DHs": [ "sample string 1", "sample string 2" ] }, { "MPLXID": "55b4581d-75b6-4025-9de5-0c36f969d2d6", "DHs": [ "sample string 1", "sample string 2" ] } ] }
application/xml, text/xml
<JQSellTicketTranReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.YearCard"> <DH>sample string 1</DH> <ErrorCode>3</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> <MPLXList> <SellTicketMPLXRetItem> <DHs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </DHs> <MPLXID>55b4581d-75b6-4025-9de5-0c36f969d2d6</MPLXID> </SellTicketMPLXRetItem> <SellTicketMPLXRetItem> <DHs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </DHs> <MPLXID>55b4581d-75b6-4025-9de5-0c36f969d2d6</MPLXID> </SellTicketMPLXRetItem> </MPLXList> </JQSellTicketTranReturn>
application/bson
Binary JSON content. See http://bsonspec.org for details.