POST api/Busi/SellTicket/SellTicketTran_V5NT
在一个事务内完成售票操作
Request Information
URI Parameters
None.
Body Parameters
CSellTicketTranParmV5OfCSellTicketTranTicketItem| Name | Description | Type | Additional information |
|---|---|---|---|
| DH | string |
Required Max length: 20 |
|
| SPZDDM | string |
Required Max length: 2 |
|
| YHDLM | string |
None. |
|
| MPRQ | string |
None. |
|
| RQSJ | string |
None. |
|
| DJSID | globally unique identifier |
None. |
|
| DJSBMID | globally unique identifier |
None. |
|
| ZTSID | globally unique identifier |
None. |
|
| ZTSBMID | globally unique identifier |
None. |
|
| XYDWID | globally unique identifier |
None. |
|
| PZDH | string |
None. |
|
| DYZH | string |
None. |
|
| YWYDM | string |
None. |
|
| YWGS | string |
None. |
|
| JYLY | string |
None. |
|
| QHDM | string |
None. |
|
| TDLX | string |
None. |
|
| BL1 | string |
None. |
|
| BL2 | string |
None. |
|
| TeamCode | string |
None. |
|
| BZ | string |
None. |
|
| YDDH | string |
None. |
|
| XFFAID | string |
None. |
|
| KHXFYEBills | Collection of KHXFYEBill |
None. |
|
| UseSDH | boolean |
None. |
|
| AutoSelectedSDH | boolean |
None. |
|
| timespanindex | integer |
None. |
|
| servicecode | string |
None. |
|
| YYRQ | string |
None. |
|
| TicketList | Collection of CSellTicketTranTicketItem |
None. |
|
| MemberId | integer |
None. |
|
| KeyContactId | string |
Max length: 20 |
|
| DelayActBill | string |
Max length: 1 |
|
| DelayActExtMode | integer |
None. |
|
| DelayActEndDate | string |
Max length: 8 |
|
| KeyContactFName | string |
Max length: 32 |
|
| KeyContactMobile | string |
Max length: 11 |
|
| PayList | Collection of CSellTicketTranTicketPayItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"DH": "sample string 1",
"SPZDDM": "sample string 2",
"YHDLM": "sample string 3",
"MPRQ": "sample string 4",
"RQSJ": "sample string 5",
"DJSID": "46294eed-bef8-4077-9627-990fcbc16aa8",
"DJSBMID": "b3fa7fae-78fb-4612-abed-1592f8e2d741",
"ZTSID": "714827c2-6e3e-4f1f-a4ec-32020455ea95",
"ZTSBMID": "932deace-598f-4623-b218-dc0a7aa6e6a3",
"XYDWID": "4440f56d-cea9-4b97-9bb7-38214129a2f6",
"PZDH": "sample string 11",
"DYZH": "sample string 12",
"YWYDM": "sample string 13",
"YWGS": "sample string 14",
"JYLY": "sample string 15",
"QHDM": "sample string 16",
"TDLX": "sample string 17",
"BL1": "sample string 18",
"BL2": "sample string 19",
"TeamCode": "sample string 20",
"BZ": "sample string 21",
"YDDH": "sample string 22",
"XFFAID": "sample string 23",
"KHXFYEBills": [
{},
{}
],
"UseSDH": true,
"AutoSelectedSDH": true,
"timespanindex": 26,
"servicecode": "sample string 27",
"YYRQ": "sample string 28",
"TicketList": [
{
"MPLXID": "e853e5f1-c7f6-404b-8d04-c1db36bf1fa7",
"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",
"InsuranceSex": "sample string 5",
"InsuranceBirthDay": "sample string 6",
"InsuranceCertTypeName": "sample string 7",
"InsuranceCertTypeCode": "sample string 8",
"Birthday": "sample string 9",
"SJHM": "sample string 10",
"AdditonalReduceIdType": "sample string 11",
"AddtionalReduceId": "sample string 12"
},
{
"ZJLX": "sample string 1",
"ZJHM": "sample string 2",
"XM": "sample string 3",
"XB": "sample string 4",
"InsuranceSex": "sample string 5",
"InsuranceBirthDay": "sample string 6",
"InsuranceCertTypeName": "sample string 7",
"InsuranceCertTypeCode": "sample string 8",
"Birthday": "sample string 9",
"SJHM": "sample string 10",
"AdditonalReduceIdType": "sample string 11",
"AddtionalReduceId": "sample string 12"
}
],
"HoleTeamChk": "sample string 14",
"BuyInsurance": "sample string 15",
"InsurancePrice": 1.0,
"InsuranceCount": 1,
"InsurancePlanCode": "sample string 16",
"InsurancePlanName": "sample string 17",
"InsuranceDestZone": "sample string 18",
"InsuranceTimeRange": 1,
"InsuranceHolderType": "sample string 19",
"InsuranceHolderCompanyName": "sample string 20",
"InsuranceHolderCompanyCode": "sample string 21",
"InsuranceHolderAddress": "sample string 22",
"InsuranceHolderContactName": "sample string 23",
"InsuranceHolderContactPhone": "sample string 24",
"InsuranceHolderEmail": "sample string 25"
},
{
"MPLXID": "e853e5f1-c7f6-404b-8d04-c1db36bf1fa7",
"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",
"InsuranceSex": "sample string 5",
"InsuranceBirthDay": "sample string 6",
"InsuranceCertTypeName": "sample string 7",
"InsuranceCertTypeCode": "sample string 8",
"Birthday": "sample string 9",
"SJHM": "sample string 10",
"AdditonalReduceIdType": "sample string 11",
"AddtionalReduceId": "sample string 12"
},
{
"ZJLX": "sample string 1",
"ZJHM": "sample string 2",
"XM": "sample string 3",
"XB": "sample string 4",
"InsuranceSex": "sample string 5",
"InsuranceBirthDay": "sample string 6",
"InsuranceCertTypeName": "sample string 7",
"InsuranceCertTypeCode": "sample string 8",
"Birthday": "sample string 9",
"SJHM": "sample string 10",
"AdditonalReduceIdType": "sample string 11",
"AddtionalReduceId": "sample string 12"
}
],
"HoleTeamChk": "sample string 14",
"BuyInsurance": "sample string 15",
"InsurancePrice": 1.0,
"InsuranceCount": 1,
"InsurancePlanCode": "sample string 16",
"InsurancePlanName": "sample string 17",
"InsuranceDestZone": "sample string 18",
"InsuranceTimeRange": 1,
"InsuranceHolderType": "sample string 19",
"InsuranceHolderCompanyName": "sample string 20",
"InsuranceHolderCompanyCode": "sample string 21",
"InsuranceHolderAddress": "sample string 22",
"InsuranceHolderContactName": "sample string 23",
"InsuranceHolderContactPhone": "sample string 24",
"InsuranceHolderEmail": "sample string 25"
}
],
"MemberId": 1,
"KeyContactId": "sample string 29",
"DelayActBill": "sample string 30",
"DelayActExtMode": 31,
"DelayActEndDate": "sample string 32",
"KeyContactFName": "sample string 33",
"KeyContactMobile": "sample string 34",
"PayList": [
{
"FKFSID": "sample string 1",
"FKFSMC": "sample string 2",
"FKJE": 3.0
},
{
"FKFSID": "sample string 1",
"FKFSMC": "sample string 2",
"FKJE": 3.0
}
]
}
application/xml, text/xml
Sample:
<CSellTicketTranParmV5OfCSellTicketTranTicketItemlTRO8TLE 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 18</BL1>
<BL2>sample string 19</BL2>
<BZ>sample string 21</BZ>
<DH>sample string 1</DH>
<DJSBMID>b3fa7fae-78fb-4612-abed-1592f8e2d741</DJSBMID>
<DJSID>46294eed-bef8-4077-9627-990fcbc16aa8</DJSID>
<DYZH>sample string 12</DYZH>
<DelayActBill>sample string 30</DelayActBill>
<DelayActEndDate>sample string 32</DelayActEndDate>
<DelayActExtMode>31</DelayActExtMode>
<JYLY>sample string 15</JYLY>
<KHXFYEBills>
<KHXFYEBill />
<KHXFYEBill />
</KHXFYEBills>
<KeyContactFName>sample string 33</KeyContactFName>
<KeyContactId>sample string 29</KeyContactId>
<KeyContactMobile>sample string 34</KeyContactMobile>
<MPRQ>sample string 4</MPRQ>
<MemberId>1</MemberId>
<PZDH>sample string 11</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 16</QHDM>
<RQSJ>sample string 5</RQSJ>
<SPZDDM>sample string 2</SPZDDM>
<TDLX>sample string 17</TDLX>
<TeamCode>sample string 20</TeamCode>
<TicketList>
<CSellTicketTranTicketItem>
<BL1>sample string 11</BL1>
<BL2>sample string 12</BL2>
<BL3>sample string 13</BL3>
<BuyInsurance>sample string 15</BuyInsurance>
<DZCP>sample string 5</DZCP>
<HoleTeamChk>sample string 14</HoleTeamChk>
<ICCARD>sample string 10</ICCARD>
<InsuranceCount>1</InsuranceCount>
<InsuranceDestZone>sample string 18</InsuranceDestZone>
<InsuranceHolderAddress>sample string 22</InsuranceHolderAddress>
<InsuranceHolderCompanyCode>sample string 21</InsuranceHolderCompanyCode>
<InsuranceHolderCompanyName>sample string 20</InsuranceHolderCompanyName>
<InsuranceHolderContactName>sample string 23</InsuranceHolderContactName>
<InsuranceHolderContactPhone>sample string 24</InsuranceHolderContactPhone>
<InsuranceHolderEmail>sample string 25</InsuranceHolderEmail>
<InsuranceHolderType>sample string 19</InsuranceHolderType>
<InsurancePlanCode>sample string 16</InsurancePlanCode>
<InsurancePlanName>sample string 17</InsurancePlanName>
<InsurancePrice>1</InsurancePrice>
<InsuranceTimeRange>1</InsuranceTimeRange>
<JG>4</JG>
<LBSBHs>
<CSellTicketTranTicketCardItemV2 />
<CSellTicketTranTicketCardItemV2 />
</LBSBHs>
<MPLXID>e853e5f1-c7f6-404b-8d04-c1db36bf1fa7</MPLXID>
<RS>2</RS>
<RedefinedTimeExpired>true</RedefinedTimeExpired>
<SpecialValidDayEnd>sample string 9</SpecialValidDayEnd>
<SpecialValidDayStart>sample string 8</SpecialValidDayStart>
<TicketIdentityItem>
<CSellTicketTranTicketIdentityItem>
<AdditonalReduceIdType>sample string 11</AdditonalReduceIdType>
<AddtionalReduceId>sample string 12</AddtionalReduceId>
<Birthday>sample string 9</Birthday>
<InsuranceBirthDay>sample string 6</InsuranceBirthDay>
<InsuranceCertTypeCode>sample string 8</InsuranceCertTypeCode>
<InsuranceCertTypeName>sample string 7</InsuranceCertTypeName>
<InsuranceSex>sample string 5</InsuranceSex>
<SJHM>sample string 10</SJHM>
<XB>sample string 4</XB>
<XM>sample string 3</XM>
<ZJHM>sample string 2</ZJHM>
<ZJLX>sample string 1</ZJLX>
</CSellTicketTranTicketIdentityItem>
<CSellTicketTranTicketIdentityItem>
<AdditonalReduceIdType>sample string 11</AdditonalReduceIdType>
<AddtionalReduceId>sample string 12</AddtionalReduceId>
<Birthday>sample string 9</Birthday>
<InsuranceBirthDay>sample string 6</InsuranceBirthDay>
<InsuranceCertTypeCode>sample string 8</InsuranceCertTypeCode>
<InsuranceCertTypeName>sample string 7</InsuranceCertTypeName>
<InsuranceSex>sample string 5</InsuranceSex>
<SJHM>sample string 10</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>
<BuyInsurance>sample string 15</BuyInsurance>
<DZCP>sample string 5</DZCP>
<HoleTeamChk>sample string 14</HoleTeamChk>
<ICCARD>sample string 10</ICCARD>
<InsuranceCount>1</InsuranceCount>
<InsuranceDestZone>sample string 18</InsuranceDestZone>
<InsuranceHolderAddress>sample string 22</InsuranceHolderAddress>
<InsuranceHolderCompanyCode>sample string 21</InsuranceHolderCompanyCode>
<InsuranceHolderCompanyName>sample string 20</InsuranceHolderCompanyName>
<InsuranceHolderContactName>sample string 23</InsuranceHolderContactName>
<InsuranceHolderContactPhone>sample string 24</InsuranceHolderContactPhone>
<InsuranceHolderEmail>sample string 25</InsuranceHolderEmail>
<InsuranceHolderType>sample string 19</InsuranceHolderType>
<InsurancePlanCode>sample string 16</InsurancePlanCode>
<InsurancePlanName>sample string 17</InsurancePlanName>
<InsurancePrice>1</InsurancePrice>
<InsuranceTimeRange>1</InsuranceTimeRange>
<JG>4</JG>
<LBSBHs>
<CSellTicketTranTicketCardItemV2 />
<CSellTicketTranTicketCardItemV2 />
</LBSBHs>
<MPLXID>e853e5f1-c7f6-404b-8d04-c1db36bf1fa7</MPLXID>
<RS>2</RS>
<RedefinedTimeExpired>true</RedefinedTimeExpired>
<SpecialValidDayEnd>sample string 9</SpecialValidDayEnd>
<SpecialValidDayStart>sample string 8</SpecialValidDayStart>
<TicketIdentityItem>
<CSellTicketTranTicketIdentityItem>
<AdditonalReduceIdType>sample string 11</AdditonalReduceIdType>
<AddtionalReduceId>sample string 12</AddtionalReduceId>
<Birthday>sample string 9</Birthday>
<InsuranceBirthDay>sample string 6</InsuranceBirthDay>
<InsuranceCertTypeCode>sample string 8</InsuranceCertTypeCode>
<InsuranceCertTypeName>sample string 7</InsuranceCertTypeName>
<InsuranceSex>sample string 5</InsuranceSex>
<SJHM>sample string 10</SJHM>
<XB>sample string 4</XB>
<XM>sample string 3</XM>
<ZJHM>sample string 2</ZJHM>
<ZJLX>sample string 1</ZJLX>
</CSellTicketTranTicketIdentityItem>
<CSellTicketTranTicketIdentityItem>
<AdditonalReduceIdType>sample string 11</AdditonalReduceIdType>
<AddtionalReduceId>sample string 12</AddtionalReduceId>
<Birthday>sample string 9</Birthday>
<InsuranceBirthDay>sample string 6</InsuranceBirthDay>
<InsuranceCertTypeCode>sample string 8</InsuranceCertTypeCode>
<InsuranceCertTypeName>sample string 7</InsuranceCertTypeName>
<InsuranceSex>sample string 5</InsuranceSex>
<SJHM>sample string 10</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>
<XFFAID>sample string 23</XFFAID>
<XYDWID>4440f56d-cea9-4b97-9bb7-38214129a2f6</XYDWID>
<YDDH>sample string 22</YDDH>
<YHDLM>sample string 3</YHDLM>
<YWGS>sample string 14</YWGS>
<YWYDM>sample string 13</YWYDM>
<YYRQ>sample string 28</YYRQ>
<ZTSBMID>932deace-598f-4623-b218-dc0a7aa6e6a3</ZTSBMID>
<ZTSID>714827c2-6e3e-4f1f-a4ec-32020455ea95</ZTSID>
<servicecode>sample string 27</servicecode>
<timespanindex>26</timespanindex>
</CSellTicketTranParmV5OfCSellTicketTranTicketItemlTRO8TLE>
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
在一个事务内完成售票操作
JQSellTicketTranReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| DH |
售票单号 |
string |
None. |
| ErrorMessage |
错误信息 |
string |
None. |
| ErrorCode |
故障码 |
integer |
None. |
| MPLXList |
成功出售的门票列表 |
Collection of SellTicketMPLXRetItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"DH": "sample string 1",
"ErrorMessage": "sample string 2",
"ErrorCode": 3,
"MPLXList": [
{
"MPLXID": "e978b721-a45a-4db4-946d-239818fd3456",
"DHs": [
"sample string 1",
"sample string 2"
]
},
{
"MPLXID": "e978b721-a45a-4db4-946d-239818fd3456",
"DHs": [
"sample string 1",
"sample string 2"
]
}
]
}
application/xml, text/xml
Sample:
<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>e978b721-a45a-4db4-946d-239818fd3456</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>e978b721-a45a-4db4-946d-239818fd3456</MPLXID>
</SellTicketMPLXRetItem>
</MPLXList>
</JQSellTicketTranReturn>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.