POST api/Busi/SellTicket/Rebate/SellTicketTran_V5
第五版景区返利票出售业务提交API。
Request Information
URI Parameters
None.
Body Parameters
ParmJQFKSellTicketTranOfCSellTicketTranTicketItemName | Description | Type | Additional information |
---|---|---|---|
TicketType | string |
None. |
|
MPRQ | string |
None. |
|
SPZDDM | string |
None. |
|
YHDLM | string |
None. |
|
RQSJ | string |
None. |
|
DH | string |
None. |
|
DWLX | string |
None. |
|
DWID | string |
None. |
|
QHDM | string |
None. |
|
TDLX | string |
None. |
|
BZ | string |
None. |
|
DYZH | string |
None. |
|
BL1 | string |
None. |
|
BL2 | string |
None. |
|
TicketList | Collection of CSellTicketTranTicketItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "TicketType": "sample string 1", "MPRQ": "sample string 2", "SPZDDM": "sample string 3", "YHDLM": "sample string 4", "RQSJ": "sample string 5", "DH": "sample string 6", "DWLX": "sample string 7", "DWID": "sample string 8", "QHDM": "sample string 9", "TDLX": "sample string 10", "BZ": "sample string 11", "DYZH": "sample string 12", "BL1": "sample string 13", "BL2": "sample string 14", "TicketList": [ { "MPLXID": "6c8b9113-ea37-4868-8166-349dbaf74846", "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": "6c8b9113-ea37-4868-8166-349dbaf74846", "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" } ] } ] }
application/xml, text/xml
Sample:
<ParmJQFKSellTicketTranOfCSellTicketTranTicketItemlTRO8TLE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <BL1>sample string 13</BL1> <BL2>sample string 14</BL2> <BZ>sample string 11</BZ> <DH>sample string 6</DH> <DWID>sample string 8</DWID> <DWLX>sample string 7</DWLX> <DYZH>sample string 12</DYZH> <MPRQ>sample string 2</MPRQ> <QHDM>sample string 9</QHDM> <RQSJ>sample string 5</RQSJ> <SPZDDM>sample string 3</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>6c8b9113-ea37-4868-8166-349dbaf74846</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>6c8b9113-ea37-4868-8166-349dbaf74846</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> <TicketType>sample string 1</TicketType> <YHDLM>sample string 4</YHDLM> </ParmJQFKSellTicketTranOfCSellTicketTranTicketItemlTRO8TLE>
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
第五版景区返利票出售业务提交API。
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
Sample:
{ "DH": "sample string 1", "ErrorMessage": "sample string 2", "ErrorCode": 3, "MPLXList": [ { "MPLXID": "72fa52aa-4e2e-4bf4-b685-8de1c30de0bc", "DHs": [ "sample string 1", "sample string 2" ] }, { "MPLXID": "72fa52aa-4e2e-4bf4-b685-8de1c30de0bc", "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>72fa52aa-4e2e-4bf4-b685-8de1c30de0bc</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>72fa52aa-4e2e-4bf4-b685-8de1c30de0bc</MPLXID> </SellTicketMPLXRetItem> </MPLXList> </JQSellTicketTranReturn>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.