GET api/WebInterface/Setting/LineList/Get/ByTicketId?ticketid={ticketid}
获取指定票型可选择的线路
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketid |
票型ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取指定票型可选择的线路
CommonOperationResultWithTagOfIEnumerableOfServiceItem| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of ServiceItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": [
{
"servicecode": "sample string 1",
"servicename_chn": "sample string 2",
"servicename_eng": "sample string 3",
"canusable": "sample string 4",
"intimespanmode": "sample string 5",
"ispause": "sample string 6",
"relatedservicecode": "sample string 7",
"capacity": 8,
"traveltip_chn": "sample string 9",
"travletip_eng": "sample string 10"
},
{
"servicecode": "sample string 1",
"servicename_chn": "sample string 2",
"servicename_eng": "sample string 3",
"canusable": "sample string 4",
"intimespanmode": "sample string 5",
"ispause": "sample string 6",
"relatedservicecode": "sample string 7",
"capacity": 8,
"traveltip_chn": "sample string 9",
"travletip_eng": "sample string 10"
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfServiceItem90Z6Xn9G xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
<errcode>1</errcode>
<errmsg>sample string 2</errmsg>
<tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface">
<d2p1:ServiceItem>
<d2p1:canusable>sample string 4</d2p1:canusable>
<d2p1:capacity>8</d2p1:capacity>
<d2p1:intimespanmode>sample string 5</d2p1:intimespanmode>
<d2p1:ispause>sample string 6</d2p1:ispause>
<d2p1:relatedservicecode>sample string 7</d2p1:relatedservicecode>
<d2p1:servicecode>sample string 1</d2p1:servicecode>
<d2p1:servicename_chn>sample string 2</d2p1:servicename_chn>
<d2p1:servicename_eng>sample string 3</d2p1:servicename_eng>
<d2p1:traveltip_chn>sample string 9</d2p1:traveltip_chn>
<d2p1:travletip_eng>sample string 10</d2p1:travletip_eng>
</d2p1:ServiceItem>
<d2p1:ServiceItem>
<d2p1:canusable>sample string 4</d2p1:canusable>
<d2p1:capacity>8</d2p1:capacity>
<d2p1:intimespanmode>sample string 5</d2p1:intimespanmode>
<d2p1:ispause>sample string 6</d2p1:ispause>
<d2p1:relatedservicecode>sample string 7</d2p1:relatedservicecode>
<d2p1:servicecode>sample string 1</d2p1:servicecode>
<d2p1:servicename_chn>sample string 2</d2p1:servicename_chn>
<d2p1:servicename_eng>sample string 3</d2p1:servicename_eng>
<d2p1:traveltip_chn>sample string 9</d2p1:traveltip_chn>
<d2p1:travletip_eng>sample string 10</d2p1:travletip_eng>
</d2p1:ServiceItem>
</tag>
</CommonOperationResultWithTagOfArrayOfServiceItem90Z6Xn9G>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.