POST api/AutoSell/TicketInfo/TicketId
通过门票卡号获取互联网直属门票清单
Request Information
URI Parameters
None.
Body Parameters
Dictionary of string [key] and string [value]Request Formats
application/json, text/json
Sample:
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringstring>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</KeyValueOfstringstring>
<KeyValueOfstringstring>
<Key>sample string 3</Key>
<Value>sample string 4</Value>
</KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>
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
通过门票卡号获取互联网直属门票清单
Collection of AutoSellDirectTicketItem| Name | Description | Type | Additional information |
|---|---|---|---|
| SPDH |
售票单号 |
string |
None. |
| MPRQ |
门票日期 |
string |
None. |
| LBSBH |
门票卡号 |
string |
None. |
| MPLXID |
门票类型ID |
globally unique identifier |
None. |
| MPLXMC |
门票类型ID |
string |
None. |
| RS |
人数 |
integer |
None. |
| ZSRS |
赠送人数 |
integer |
None. |
| JG |
价格 |
decimal number |
None. |
| SDH |
时段号 |
integer |
None. |
| TimeSpan |
时段起始截至时间 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SPDH": "sample string 1",
"MPRQ": "sample string 2",
"LBSBH": "sample string 3",
"MPLXID": "b570f12c-af6b-4727-a26b-91f4c99f29ec",
"MPLXMC": "sample string 5",
"RS": 6,
"ZSRS": 7,
"JG": 8.0,
"SDH": 9,
"TimeSpan": "sample string 10"
},
{
"SPDH": "sample string 1",
"MPRQ": "sample string 2",
"LBSBH": "sample string 3",
"MPLXID": "b570f12c-af6b-4727-a26b-91f4c99f29ec",
"MPLXMC": "sample string 5",
"RS": 6,
"ZSRS": 7,
"JG": 8.0,
"SDH": 9,
"TimeSpan": "sample string 10"
}
]
application/xml, text/xml
Sample:
<ArrayOfAutoSellDirectTicketItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.AutoSell">
<AutoSellDirectTicketItem>
<JG>8</JG>
<LBSBH>sample string 3</LBSBH>
<MPLXID>b570f12c-af6b-4727-a26b-91f4c99f29ec</MPLXID>
<MPLXMC>sample string 5</MPLXMC>
<MPRQ>sample string 2</MPRQ>
<RS>6</RS>
<SDH>9</SDH>
<SPDH>sample string 1</SPDH>
<TimeSpan>sample string 10</TimeSpan>
<ZSRS>7</ZSRS>
</AutoSellDirectTicketItem>
<AutoSellDirectTicketItem>
<JG>8</JG>
<LBSBH>sample string 3</LBSBH>
<MPLXID>b570f12c-af6b-4727-a26b-91f4c99f29ec</MPLXID>
<MPLXMC>sample string 5</MPLXMC>
<MPRQ>sample string 2</MPRQ>
<RS>6</RS>
<SDH>9</SDH>
<SPDH>sample string 1</SPDH>
<TimeSpan>sample string 10</TimeSpan>
<ZSRS>7</ZSRS>
</AutoSellDirectTicketItem>
</ArrayOfAutoSellDirectTicketItem>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.