POST api/Busi/SellTicket/IndivisualSellTicket
天门山散客分时段售票 整体提交 整体失败 散客票必须实名制、 身份证和指纹任选其一 by tangyu 2016-06-28 2016-10-27 CAOMIN 修改 将所有业务标识为来自于自助机或前台售票
Request Information
URI Parameters
None.
Body Parameters
CSellTicketIndividualTranParmV5Name | 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. |
PZDH |
凭证单号 |
string |
None. |
DYZH |
导游证号 |
string |
None. |
QHDM |
区划代码 |
string |
None. |
TDLX |
团队类型 |
string |
None. |
BZ |
备注 |
string |
None. |
YWGS | string |
None. |
|
SPZDDM |
售票站点代码 |
string |
None. |
YHDLM |
用户登录名 |
string |
None. |
RQSJ |
日期时间 |
string |
None. |
DH |
单号 |
string |
None. |
LBSBH |
内部识别号 |
string |
None. |
ZJLX |
证件类型 |
string |
None. |
ZJHM |
证件号码 |
string |
None. |
KH |
卡号 |
string |
None. |
XM |
姓名 |
string |
None. |
MPLXMC |
门票类型名称 |
string |
None. |
MPFZMC |
门票分组名称 |
string |
None. |
MPLXID |
门票类型 |
globally unique identifier |
None. |
SL |
数量 |
integer |
None. |
JG |
价格 |
decimal number |
None. |
MPRQ |
门票日期 |
string |
None. |
DZCP |
单张出票 |
string |
None. |
SFBS1 |
身份标识1 |
Collection of byte |
None. |
SFBS2 |
身份标识2 |
Collection of byte |
None. |
SFBS3 |
身份标识3 |
Collection of byte |
None. |
SFBS4 |
身份标识4 |
Collection of byte |
None. |
BL1 |
保留一 |
string |
None. |
BL2 |
保留二 此字段一般用于保存"预订单出票"或"换票单出票"字样 |
string |
None. |
YYRQ |
预约日期 在时段模式下,必须确定预约日期且人为指定. 若门票为一日有效门票,则预约日期必须与门票日期相同 若门票为多日有效,则可以是有效期内的任意一天 |
string |
None. |
servicecode |
检票站点(服务项目)ID 在时段模式下,一次只能出售一个检票站点(服务项目)对应的门票类型 |
string |
None. |
YYDH |
当使用预约单据出票时,此值指定预约单据的单号 |
string |
None. |
timespanindex |
当指定特定时段时,此值指示要求的时段,当预约单号不为空,且此值不为-1时,表示放弃预约单号的时段,改用此时段,但预约单据同时失效 此值为-1或NULL时,表示当前字段没有义意 |
integer |
None. |
UseSDH |
是否启用时段售票 当此值为FALSE时,表示不启用时段售票,YYDH,YYRQ,JPZDID,SDH和AutoSelectedSDH的输入将没有意义 |
boolean |
None. |
AutoSelectedSDH |
是否自动选择时段号 当此值为True,且无SDH,YYDH的值时,系统将自动为当前请求选择时段 当此值为True,有SDH或YYDH时,指定时段不能满足的,将自动选择指定时段的下一时段,当天没有下一时段的,将提示失败 当此值为False时,必须有SDH或YYDH其中之一,指定时段不能满足的,将发生错误 |
boolean |
None. |
LBSBHs |
当前类型的内部识别号 |
Collection of TicketCardItem |
None. |
TicketList |
即将销售的门票类型的列表和证件号例表 |
Collection of CSellTicketTranTicketItem |
None. |
PayList |
付款内容的集合 |
Collection of CSellTicketTranTicketPayItem |
None. |
MemberId |
会员ID |
integer |
None. |
Request Formats
application/json, text/json
{ "DJSID": "eac4c900-a229-45db-876c-d59373451fbb", "DJSBMID": "6094ecc7-5ae5-404d-af40-2adf93adcd27", "ZTSID": "090d34b9-303e-4508-96e4-286e95026b95", "ZTSBMID": "883a4462-05ba-436c-bdf8-a2793d51f159", "XYDWID": "e538bc7c-05ad-4748-af4a-92f4b7daade7", "XYDWBMID": "df3a1745-1b2d-40d5-9027-c3839db8c4e1", "PZDH": "sample string 7", "DYZH": "sample string 8", "QHDM": "sample string 9", "TDLX": "sample string 10", "BZ": "sample string 11", "YWGS": "sample string 12", "SPZDDM": "sample string 13", "YHDLM": "sample string 14", "RQSJ": "sample string 15", "DH": "sample string 16", "LBSBH": "sample string 17", "ZJLX": "sample string 18", "ZJHM": "sample string 19", "KH": "sample string 20", "XM": "sample string 21", "MPLXMC": "sample string 22", "MPFZMC": "sample string 23", "MPLXID": "d65969d7-11a1-4458-92ae-7ac5193386ad", "SL": 25, "JG": 26.0, "MPRQ": "sample string 27", "DZCP": "sample string 28", "SFBS1": "QEA=", "SFBS2": "QEA=", "SFBS3": "QEA=", "SFBS4": "QEA=", "BL1": "sample string 29", "BL2": "sample string 30", "YYRQ": "sample string 31", "servicecode": "sample string 32", "YYDH": "sample string 33", "timespanindex": 34, "UseSDH": true, "AutoSelectedSDH": true, "LBSBHs": [ { "LBSBH": "sample string 1", "ZJLX": "sample string 2", "ZJHM": "sample string 3", "KH": "sample string 4", "XM": "sample string 5" }, { "LBSBH": "sample string 1", "ZJLX": "sample string 2", "ZJHM": "sample string 3", "KH": "sample string 4", "XM": "sample string 5" } ], "TicketList": [ { "MPLXID": "5a39fc88-cdf2-49f7-a933-a05ed1700d3e", "LBSBHs": [ {}, {} ], "RS": 2, "ZSRS": 3, "JG": 4.0, "DZCP": "sample string 5", "RedefinedTimeExpired": true, "TimeExpiredReDefinedDays": 7, "SpecialValidDayStart": "sample string 8", "SpecialValidDayEnd": "sample string 9", "ICCARD": "sample string 10", "BL1": "sample string 11", "BL2": "sample string 12", "BL3": "sample string 13", "TicketIdentityItem": [ { "ZJLX": "sample string 1", "ZJHM": "sample string 2", "XM": "sample string 3", "XB": "sample string 4", "SJHM": "sample string 5" }, { "ZJLX": "sample string 1", "ZJHM": "sample string 2", "XM": "sample string 3", "XB": "sample string 4", "SJHM": "sample string 5" } ] }, { "MPLXID": "5a39fc88-cdf2-49f7-a933-a05ed1700d3e", "LBSBHs": [ {}, {} ], "RS": 2, "ZSRS": 3, "JG": 4.0, "DZCP": "sample string 5", "RedefinedTimeExpired": true, "TimeExpiredReDefinedDays": 7, "SpecialValidDayStart": "sample string 8", "SpecialValidDayEnd": "sample string 9", "ICCARD": "sample string 10", "BL1": "sample string 11", "BL2": "sample string 12", "BL3": "sample string 13", "TicketIdentityItem": [ { "ZJLX": "sample string 1", "ZJHM": "sample string 2", "XM": "sample string 3", "XB": "sample string 4", "SJHM": "sample string 5" }, { "ZJLX": "sample string 1", "ZJHM": "sample string 2", "XM": "sample string 3", "XB": "sample string 4", "SJHM": "sample string 5" } ] } ], "PayList": [ { "FKFSID": "sample string 1", "FKFSMC": "sample string 2", "FKJE": 3.0 }, { "FKFSID": "sample string 1", "FKFSMC": "sample string 2", "FKJE": 3.0 } ], "MemberId": 1 }
application/xml, text/xml
<CSellTicketIndividualTranParmV5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <AutoSelectedSDH>true</AutoSelectedSDH> <BL1>sample string 29</BL1> <BL2>sample string 30</BL2> <BZ>sample string 11</BZ> <DH>sample string 16</DH> <DJSBMID>6094ecc7-5ae5-404d-af40-2adf93adcd27</DJSBMID> <DJSID>eac4c900-a229-45db-876c-d59373451fbb</DJSID> <DYZH>sample string 8</DYZH> <DZCP>sample string 28</DZCP> <JG>26</JG> <KH>sample string 20</KH> <LBSBH>sample string 17</LBSBH> <LBSBHs xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.YearCard"> <d2p1:TicketCardItem> <d2p1:KH>sample string 4</d2p1:KH> <d2p1:LBSBH>sample string 1</d2p1:LBSBH> <d2p1:XM>sample string 5</d2p1:XM> <d2p1:ZJHM>sample string 3</d2p1:ZJHM> <d2p1:ZJLX>sample string 2</d2p1:ZJLX> </d2p1:TicketCardItem> <d2p1:TicketCardItem> <d2p1:KH>sample string 4</d2p1:KH> <d2p1:LBSBH>sample string 1</d2p1:LBSBH> <d2p1:XM>sample string 5</d2p1:XM> <d2p1:ZJHM>sample string 3</d2p1:ZJHM> <d2p1:ZJLX>sample string 2</d2p1:ZJLX> </d2p1:TicketCardItem> </LBSBHs> <MPFZMC>sample string 23</MPFZMC> <MPLXID>d65969d7-11a1-4458-92ae-7ac5193386ad</MPLXID> <MPLXMC>sample string 22</MPLXMC> <MPRQ>sample string 27</MPRQ> <MemberId>1</MemberId> <PZDH>sample string 7</PZDH> <PayList> <CSellTicketTranTicketPayItem> <FKFSID>sample string 1</FKFSID> <FKFSMC>sample string 2</FKFSMC> <FKJE>3</FKJE> </CSellTicketTranTicketPayItem> <CSellTicketTranTicketPayItem> <FKFSID>sample string 1</FKFSID> <FKFSMC>sample string 2</FKFSMC> <FKJE>3</FKJE> </CSellTicketTranTicketPayItem> </PayList> <QHDM>sample string 9</QHDM> <RQSJ>sample string 15</RQSJ> <SFBS1>QEA=</SFBS1> <SFBS2>QEA=</SFBS2> <SFBS3>QEA=</SFBS3> <SFBS4>QEA=</SFBS4> <SL>25</SL> <SPZDDM>sample string 13</SPZDDM> <TDLX>sample string 10</TDLX> <TicketList> <CSellTicketTranTicketItem> <BL1>sample string 11</BL1> <BL2>sample string 12</BL2> <BL3>sample string 13</BL3> <DZCP>sample string 5</DZCP> <ICCARD>sample string 10</ICCARD> <JG>4</JG> <LBSBHs> <CSellTicketTranTicketCardItemV2 /> <CSellTicketTranTicketCardItemV2 /> </LBSBHs> <MPLXID>5a39fc88-cdf2-49f7-a933-a05ed1700d3e</MPLXID> <RS>2</RS> <RedefinedTimeExpired>true</RedefinedTimeExpired> <SpecialValidDayEnd>sample string 9</SpecialValidDayEnd> <SpecialValidDayStart>sample string 8</SpecialValidDayStart> <TicketIdentityItem> <CSellTicketTranTicketIdentityItem> <SJHM>sample string 5</SJHM> <XB>sample string 4</XB> <XM>sample string 3</XM> <ZJHM>sample string 2</ZJHM> <ZJLX>sample string 1</ZJLX> </CSellTicketTranTicketIdentityItem> <CSellTicketTranTicketIdentityItem> <SJHM>sample string 5</SJHM> <XB>sample string 4</XB> <XM>sample string 3</XM> <ZJHM>sample string 2</ZJHM> <ZJLX>sample string 1</ZJLX> </CSellTicketTranTicketIdentityItem> </TicketIdentityItem> <TimeExpiredReDefinedDays>7</TimeExpiredReDefinedDays> <ZSRS>3</ZSRS> </CSellTicketTranTicketItem> <CSellTicketTranTicketItem> <BL1>sample string 11</BL1> <BL2>sample string 12</BL2> <BL3>sample string 13</BL3> <DZCP>sample string 5</DZCP> <ICCARD>sample string 10</ICCARD> <JG>4</JG> <LBSBHs> <CSellTicketTranTicketCardItemV2 /> <CSellTicketTranTicketCardItemV2 /> </LBSBHs> <MPLXID>5a39fc88-cdf2-49f7-a933-a05ed1700d3e</MPLXID> <RS>2</RS> <RedefinedTimeExpired>true</RedefinedTimeExpired> <SpecialValidDayEnd>sample string 9</SpecialValidDayEnd> <SpecialValidDayStart>sample string 8</SpecialValidDayStart> <TicketIdentityItem> <CSellTicketTranTicketIdentityItem> <SJHM>sample string 5</SJHM> <XB>sample string 4</XB> <XM>sample string 3</XM> <ZJHM>sample string 2</ZJHM> <ZJLX>sample string 1</ZJLX> </CSellTicketTranTicketIdentityItem> <CSellTicketTranTicketIdentityItem> <SJHM>sample string 5</SJHM> <XB>sample string 4</XB> <XM>sample string 3</XM> <ZJHM>sample string 2</ZJHM> <ZJLX>sample string 1</ZJLX> </CSellTicketTranTicketIdentityItem> </TicketIdentityItem> <TimeExpiredReDefinedDays>7</TimeExpiredReDefinedDays> <ZSRS>3</ZSRS> </CSellTicketTranTicketItem> </TicketList> <UseSDH>true</UseSDH> <XM>sample string 21</XM> <XYDWBMID>df3a1745-1b2d-40d5-9027-c3839db8c4e1</XYDWBMID> <XYDWID>e538bc7c-05ad-4748-af4a-92f4b7daade7</XYDWID> <YHDLM>sample string 14</YHDLM> <YWGS>sample string 12</YWGS> <YYDH>sample string 33</YYDH> <YYRQ>sample string 31</YYRQ> <ZJHM>sample string 19</ZJHM> <ZJLX>sample string 18</ZJLX> <ZTSBMID>883a4462-05ba-436c-bdf8-a2793d51f159</ZTSBMID> <ZTSID>090d34b9-303e-4508-96e4-286e95026b95</ZTSID> <servicecode>sample string 32</servicecode> <timespanindex>34</timespanindex> </CSellTicketIndividualTranParmV5>
application/x-www-form-urlencoded
Sample not available.
application/bson
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
天门山散客分时段售票 整体提交 整体失败 散客票必须实名制、 身份证和指纹任选其一 by tangyu 2016-06-28 2016-10-27 CAOMIN 修改 将所有业务标识为来自于自助机或前台售票
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": "3c9beb76-ad2f-4351-bf3e-0f1ce4a08744", "DHs": [ "sample string 1", "sample string 2" ] }, { "MPLXID": "3c9beb76-ad2f-4351-bf3e-0f1ce4a08744", "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>3c9beb76-ad2f-4351-bf3e-0f1ce4a08744</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>3c9beb76-ad2f-4351-bf3e-0f1ce4a08744</MPLXID> </SellTicketMPLXRetItem> </MPLXList> </JQSellTicketTranReturn>
application/bson
Binary JSON content. See http://bsonspec.org for details.