GET api/WebInterface/Products/V52/Simple?dwlx={dwlx}&dwid={dwid}&toursimspotid={toursimspotid}&theatricalid={theatricalid}&productid={productid}&servicecode={servicecode}&tripbillcode={tripbillcode}
查询需要展示的某个景区/演出剧目的详细信息,含这个景区的信息及景区下可以销售的单点票和套票的列表,用于在小程序的展示某一个具体的园区及园区下的产品。 这个版本的接口因为完全支持延迟激活(去掉了票和年卡、普通认证和人脸认证的购票过程差异)、延迟选座(去掉了普通景区票和演艺座位票的购票过程差异),已不再需要支持相互独立的景区/演出接口。因此所有的目的地(景区/园区/演出剧目)均会返回。 返回目的地数据的条件:(1)在营销管理中,对应的园区是启用的;(2)对应的园区在当前代理商授权名下未来30天有一种一上可售票型;(3)如果是演出,则必须为当前园区有绑定的且可用的剧目。 此接口去掉了V5版本中对应同用途接口的日期参数,此接口默认使用系统最大支持的可预售日期范围,因景区而异,一般情况下,系统支持预售从今日起,往后推60日历日。即在未来60日内有可售条件的票型将被返回(可售条件包括授权、定价等)。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dwlx |
客户类型,1地接社,2组团社,3协议单位,4地接部门,5-组团部门,7导游员 |
string |
Required |
| dwid |
客户ID。 |
string |
Required |
| toursimspotid |
园区的ID,“”表示不限,和theatricalid不能同时为空。 |
string |
Default value is |
| theatricalid |
剧目ID,0表示不限。和toursimspotid参数不能同时为空。 |
integer |
Default value is 0 |
| productid |
票型的ID,通常不需要提供此参数的值,表示查询dwlx,dwid所指的代理商可以销售的toursimspotid指定的园区的所有的产品;指定此参数值时,表示仅返回与当前票型ID的交集。 |
string |
Default value is |
| servicecode |
(可选)线路ID,仅在分时段景区中这个项。非分时段的景区将不理会这个参数。在分时段景区系统指定这个参数时,将仅返回对应线路的门票类型。 |
string |
Default value is |
| tripbillcode |
(可选)行程单号或行程单条码内容(仅用于张家界团队) |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
查询需要展示的某个景区/演出剧目的详细信息,含这个景区的信息及景区下可以销售的单点票和套票的列表,用于在小程序的展示某一个具体的园区及园区下的产品。 这个版本的接口因为完全支持延迟激活(去掉了票和年卡、普通认证和人脸认证的购票过程差异)、延迟选座(去掉了普通景区票和演艺座位票的购票过程差异),已不再需要支持相互独立的景区/演出接口。因此所有的目的地(景区/园区/演出剧目)均会返回。 返回目的地数据的条件:(1)在营销管理中,对应的园区是启用的;(2)对应的园区在当前代理商授权名下未来30天有一种一上可售票型;(3)如果是演出,则必须为当前园区有绑定的且可用的剧目。 此接口去掉了V5版本中对应同用途接口的日期参数,此接口默认使用系统最大支持的可预售日期范围,因景区而异,一般情况下,系统支持预售从今日起,往后推60日历日。即在未来60日内有可售条件的票型将被返回(可售条件包括授权、定价等)。
CommonOperationResultWithTagOfTouristDestinationV52DetailData| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | TouristDestinationV52DetailData |
None. |
Response Formats
application/json, text/json
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"imagelist": [
{
"scenicspotid": "sample string 1",
"pictureid": 2,
"hasanymore": "sample string 3",
"description": "sample string 4",
"uploadtime": "sample string 5",
"title": "sample string 6",
"season": "sample string 7"
},
{
"scenicspotid": "sample string 1",
"pictureid": 2,
"hasanymore": "sample string 3",
"description": "sample string 4",
"uploadtime": "sample string 5",
"title": "sample string 6",
"season": "sample string 7"
}
],
"productlist": [
{
"price": 1.0,
"productid": "sample string 2",
"productname": "sample string 3",
"sellenabledstartday": "sample string 4",
"sellenabledendday": "sample string 5",
"sellenableddateresolve": "sample string 6",
"productgroupname": "sample string 7",
"issinglescenicspotticket": "sample string 8",
"unit": "sample string 9",
"isyearormonthcard": "sample string 10",
"providercertificatecount": 11,
"delayactivate": "sample string 12",
"delayactoutofactendingdatemode": "sample string 13",
"delayactoutofactendingdatemodedesc": "sample string 14",
"delayactendingmode": "sample string 15",
"delayactmaxdays": 1,
"delayactlastestday": "sample string 16",
"sameonerepeatbuylimitdays": 17,
"minimum": 18,
"effectivemode": "sample string 19",
"effectivemodename": "sample string 20",
"effectivenumberofdays": 21,
"effectivestartdate": "sample string 22",
"effectiveenddate": "sample string 23",
"check_verifymodecode": "sample string 24",
"check_verifymodename": "sample string 25",
"webadvancecount": 26,
"webadvanceunit": "sample string 27",
"needname": "sample string 28",
"netorderrealnamemode": "sample string 29",
"netorderrealnamemodedesc": "sample string 30",
"perpersonperticket": "sample string 31",
"isreferencetotheatre": "sample string 32",
"issegmentmode": "sample string 33",
"lineprice": "sample string 34",
"introduction": "sample string 35",
"imgurl": "sample string 36",
"servicecontent": "sample string 37",
"notice_of_purchase_and_use": "sample string 38",
"notice_of_refund": "sample string 39",
"singleperorder": "sample string 40",
"serviceagreement": "sample string 41",
"privacyagreenment": "sample string 42",
"productpurchaseotes": "sample string 43"
},
{
"price": 1.0,
"productid": "sample string 2",
"productname": "sample string 3",
"sellenabledstartday": "sample string 4",
"sellenabledendday": "sample string 5",
"sellenableddateresolve": "sample string 6",
"productgroupname": "sample string 7",
"issinglescenicspotticket": "sample string 8",
"unit": "sample string 9",
"isyearormonthcard": "sample string 10",
"providercertificatecount": 11,
"delayactivate": "sample string 12",
"delayactoutofactendingdatemode": "sample string 13",
"delayactoutofactendingdatemodedesc": "sample string 14",
"delayactendingmode": "sample string 15",
"delayactmaxdays": 1,
"delayactlastestday": "sample string 16",
"sameonerepeatbuylimitdays": 17,
"minimum": 18,
"effectivemode": "sample string 19",
"effectivemodename": "sample string 20",
"effectivenumberofdays": 21,
"effectivestartdate": "sample string 22",
"effectiveenddate": "sample string 23",
"check_verifymodecode": "sample string 24",
"check_verifymodename": "sample string 25",
"webadvancecount": 26,
"webadvanceunit": "sample string 27",
"needname": "sample string 28",
"netorderrealnamemode": "sample string 29",
"netorderrealnamemodedesc": "sample string 30",
"perpersonperticket": "sample string 31",
"isreferencetotheatre": "sample string 32",
"issegmentmode": "sample string 33",
"lineprice": "sample string 34",
"introduction": "sample string 35",
"imgurl": "sample string 36",
"servicecontent": "sample string 37",
"notice_of_purchase_and_use": "sample string 38",
"notice_of_refund": "sample string 39",
"singleperorder": "sample string 40",
"serviceagreement": "sample string 41",
"privacyagreenment": "sample string 42",
"productpurchaseotes": "sample string 43"
}
],
"scenic_id": 64,
"scenic_name": "sample string 2",
"scenic_simplename": "sample string 3",
"secnic_systemid": "sample string 4",
"secinc_level": "sample string 5",
"mainslogan": "sample string 6",
"isscenic": "sample string 7",
"theatricalworkid": "sample string 8",
"post_code": "sample string 9",
"address": "sample string 10",
"lng": 1.0,
"lat": 1.0,
"marketdepartphone": "sample string 11",
"marketfax": "sample string 12",
"sellstationphone": "sample string 13",
"servicephone": "sample string 14",
"description": "sample string 15",
"introduce": "sample string 16"
}
}
application/xml, text/xml
<CommonOperationResultWithTagOfTouristDestinationV52DetailDataJzm2UCrN 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.V52">
<d2p1:address>sample string 10</d2p1:address>
<d2p1:description>sample string 15</d2p1:description>
<d2p1:introduce>sample string 16</d2p1:introduce>
<d2p1:isscenic>sample string 7</d2p1:isscenic>
<d2p1:lat>1</d2p1:lat>
<d2p1:lng>1</d2p1:lng>
<d2p1:mainslogan>sample string 6</d2p1:mainslogan>
<d2p1:marketdepartphone>sample string 11</d2p1:marketdepartphone>
<d2p1:marketfax>sample string 12</d2p1:marketfax>
<d2p1:post_code>sample string 9</d2p1:post_code>
<d2p1:scenic_id>64</d2p1:scenic_id>
<d2p1:scenic_name>sample string 2</d2p1:scenic_name>
<d2p1:scenic_simplename>sample string 3</d2p1:scenic_simplename>
<d2p1:secinc_level>sample string 5</d2p1:secinc_level>
<d2p1:secnic_systemid>sample string 4</d2p1:secnic_systemid>
<d2p1:sellstationphone>sample string 13</d2p1:sellstationphone>
<d2p1:servicephone>sample string 14</d2p1:servicephone>
<d2p1:theatricalworkid>sample string 8</d2p1:theatricalworkid>
<d2p1:imagelist xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface">
<d3p1:ScenicSpotPictureResourceResult>
<d3p1:description>sample string 4</d3p1:description>
<d3p1:hasanymore>sample string 3</d3p1:hasanymore>
<d3p1:pictureid>2</d3p1:pictureid>
<d3p1:scenicspotid>sample string 1</d3p1:scenicspotid>
<d3p1:season>sample string 7</d3p1:season>
<d3p1:title>sample string 6</d3p1:title>
<d3p1:uploadtime>sample string 5</d3p1:uploadtime>
</d3p1:ScenicSpotPictureResourceResult>
<d3p1:ScenicSpotPictureResourceResult>
<d3p1:description>sample string 4</d3p1:description>
<d3p1:hasanymore>sample string 3</d3p1:hasanymore>
<d3p1:pictureid>2</d3p1:pictureid>
<d3p1:scenicspotid>sample string 1</d3p1:scenicspotid>
<d3p1:season>sample string 7</d3p1:season>
<d3p1:title>sample string 6</d3p1:title>
<d3p1:uploadtime>sample string 5</d3p1:uploadtime>
</d3p1:ScenicSpotPictureResourceResult>
</d2p1:imagelist>
<d2p1:productlist>
<d2p1:ProductV52SimpleResult>
<d2p1:check_verifymodecode>sample string 24</d2p1:check_verifymodecode>
<d2p1:check_verifymodename>sample string 25</d2p1:check_verifymodename>
<d2p1:delayactendingmode>sample string 15</d2p1:delayactendingmode>
<d2p1:delayactivate>sample string 12</d2p1:delayactivate>
<d2p1:delayactlastestday>sample string 16</d2p1:delayactlastestday>
<d2p1:delayactmaxdays>1</d2p1:delayactmaxdays>
<d2p1:delayactoutofactendingdatemode>sample string 13</d2p1:delayactoutofactendingdatemode>
<d2p1:delayactoutofactendingdatemodedesc>sample string 14</d2p1:delayactoutofactendingdatemodedesc>
<d2p1:effectiveenddate>sample string 23</d2p1:effectiveenddate>
<d2p1:effectivemode>sample string 19</d2p1:effectivemode>
<d2p1:effectivemodename>sample string 20</d2p1:effectivemodename>
<d2p1:effectivenumberofdays>21</d2p1:effectivenumberofdays>
<d2p1:effectivestartdate>sample string 22</d2p1:effectivestartdate>
<d2p1:imgurl>sample string 36</d2p1:imgurl>
<d2p1:introduction>sample string 35</d2p1:introduction>
<d2p1:isreferencetotheatre>sample string 32</d2p1:isreferencetotheatre>
<d2p1:issegmentmode>sample string 33</d2p1:issegmentmode>
<d2p1:issinglescenicspotticket>sample string 8</d2p1:issinglescenicspotticket>
<d2p1:isyearormonthcard>sample string 10</d2p1:isyearormonthcard>
<d2p1:lineprice>sample string 34</d2p1:lineprice>
<d2p1:minimum>18</d2p1:minimum>
<d2p1:needname>sample string 28</d2p1:needname>
<d2p1:netorderrealnamemode>sample string 29</d2p1:netorderrealnamemode>
<d2p1:netorderrealnamemodedesc>sample string 30</d2p1:netorderrealnamemodedesc>
<d2p1:notice_of_purchase_and_use>sample string 38</d2p1:notice_of_purchase_and_use>
<d2p1:notice_of_refund>sample string 39</d2p1:notice_of_refund>
<d2p1:perpersonperticket>sample string 31</d2p1:perpersonperticket>
<d2p1:privacyagreenment>sample string 42</d2p1:privacyagreenment>
<d2p1:productgroupname>sample string 7</d2p1:productgroupname>
<d2p1:productid>sample string 2</d2p1:productid>
<d2p1:productname>sample string 3</d2p1:productname>
<d2p1:productpurchaseotes>sample string 43</d2p1:productpurchaseotes>
<d2p1:providercertificatecount>11</d2p1:providercertificatecount>
<d2p1:sameonerepeatbuylimitdays>17</d2p1:sameonerepeatbuylimitdays>
<d2p1:sellenableddateresolve>sample string 6</d2p1:sellenableddateresolve>
<d2p1:sellenabledendday>sample string 5</d2p1:sellenabledendday>
<d2p1:sellenabledstartday>sample string 4</d2p1:sellenabledstartday>
<d2p1:serviceagreement>sample string 41</d2p1:serviceagreement>
<d2p1:servicecontent>sample string 37</d2p1:servicecontent>
<d2p1:singleperorder>sample string 40</d2p1:singleperorder>
<d2p1:unit>sample string 9</d2p1:unit>
<d2p1:webadvancecount>26</d2p1:webadvancecount>
<d2p1:webadvanceunit>sample string 27</d2p1:webadvanceunit>
<d2p1:price>1</d2p1:price>
</d2p1:ProductV52SimpleResult>
<d2p1:ProductV52SimpleResult>
<d2p1:check_verifymodecode>sample string 24</d2p1:check_verifymodecode>
<d2p1:check_verifymodename>sample string 25</d2p1:check_verifymodename>
<d2p1:delayactendingmode>sample string 15</d2p1:delayactendingmode>
<d2p1:delayactivate>sample string 12</d2p1:delayactivate>
<d2p1:delayactlastestday>sample string 16</d2p1:delayactlastestday>
<d2p1:delayactmaxdays>1</d2p1:delayactmaxdays>
<d2p1:delayactoutofactendingdatemode>sample string 13</d2p1:delayactoutofactendingdatemode>
<d2p1:delayactoutofactendingdatemodedesc>sample string 14</d2p1:delayactoutofactendingdatemodedesc>
<d2p1:effectiveenddate>sample string 23</d2p1:effectiveenddate>
<d2p1:effectivemode>sample string 19</d2p1:effectivemode>
<d2p1:effectivemodename>sample string 20</d2p1:effectivemodename>
<d2p1:effectivenumberofdays>21</d2p1:effectivenumberofdays>
<d2p1:effectivestartdate>sample string 22</d2p1:effectivestartdate>
<d2p1:imgurl>sample string 36</d2p1:imgurl>
<d2p1:introduction>sample string 35</d2p1:introduction>
<d2p1:isreferencetotheatre>sample string 32</d2p1:isreferencetotheatre>
<d2p1:issegmentmode>sample string 33</d2p1:issegmentmode>
<d2p1:issinglescenicspotticket>sample string 8</d2p1:issinglescenicspotticket>
<d2p1:isyearormonthcard>sample string 10</d2p1:isyearormonthcard>
<d2p1:lineprice>sample string 34</d2p1:lineprice>
<d2p1:minimum>18</d2p1:minimum>
<d2p1:needname>sample string 28</d2p1:needname>
<d2p1:netorderrealnamemode>sample string 29</d2p1:netorderrealnamemode>
<d2p1:netorderrealnamemodedesc>sample string 30</d2p1:netorderrealnamemodedesc>
<d2p1:notice_of_purchase_and_use>sample string 38</d2p1:notice_of_purchase_and_use>
<d2p1:notice_of_refund>sample string 39</d2p1:notice_of_refund>
<d2p1:perpersonperticket>sample string 31</d2p1:perpersonperticket>
<d2p1:privacyagreenment>sample string 42</d2p1:privacyagreenment>
<d2p1:productgroupname>sample string 7</d2p1:productgroupname>
<d2p1:productid>sample string 2</d2p1:productid>
<d2p1:productname>sample string 3</d2p1:productname>
<d2p1:productpurchaseotes>sample string 43</d2p1:productpurchaseotes>
<d2p1:providercertificatecount>11</d2p1:providercertificatecount>
<d2p1:sameonerepeatbuylimitdays>17</d2p1:sameonerepeatbuylimitdays>
<d2p1:sellenableddateresolve>sample string 6</d2p1:sellenableddateresolve>
<d2p1:sellenabledendday>sample string 5</d2p1:sellenabledendday>
<d2p1:sellenabledstartday>sample string 4</d2p1:sellenabledstartday>
<d2p1:serviceagreement>sample string 41</d2p1:serviceagreement>
<d2p1:servicecontent>sample string 37</d2p1:servicecontent>
<d2p1:singleperorder>sample string 40</d2p1:singleperorder>
<d2p1:unit>sample string 9</d2p1:unit>
<d2p1:webadvancecount>26</d2p1:webadvancecount>
<d2p1:webadvanceunit>sample string 27</d2p1:webadvanceunit>
<d2p1:price>1</d2p1:price>
</d2p1:ProductV52SimpleResult>
</d2p1:productlist>
</tag>
</CommonOperationResultWithTagOfTouristDestinationV52DetailDataJzm2UCrN>
application/bson
Binary JSON content. See http://bsonspec.org for details.