GET api/WebInterface/TouristDestination/Resouce/All/V52?dwlx={dwlx}&dwid={dwid}&yqid={yqid}
查询需要展示的景区/演出剧目的简要列表,用于在小程序的首页展示所有可能销售产品的旅游目的地清单。 这个版本的接口因为完全支持延迟激活(去掉了票和年卡、普通认证和人脸认证的购票过程差异)、延迟选座(去掉了普通景区票和演艺座位票的购票过程差异),已不再需要支持相互独立的景区/演出接口。因此所有的目的地(景区/园区/演出剧目)均会返回。 返回目的地数据的条件:(1)在营销管理中,对应的园区是启用的;(2)对应的园区在当前代理商授权名下未来30天有一种一上可售票型;(3)如果是演出,则必须为当前园区有绑定的且可用的剧目。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dwlx |
客户类型,1地接社,2组团社,3协议单位,4地接部门,5-组团部门,7导游员 |
string |
Required |
dwid |
客户ID,不可以为空。 |
string |
Required |
yqid |
园区ID,可以是剧场的ID,也可以是景区的ID。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
查询需要展示的景区/演出剧目的简要列表,用于在小程序的首页展示所有可能销售产品的旅游目的地清单。 这个版本的接口因为完全支持延迟激活(去掉了票和年卡、普通认证和人脸认证的购票过程差异)、延迟选座(去掉了普通景区票和演艺座位票的购票过程差异),已不再需要支持相互独立的景区/演出接口。因此所有的目的地(景区/园区/演出剧目)均会返回。 返回目的地数据的条件:(1)在营销管理中,对应的园区是启用的;(2)对应的园区在当前代理商授权名下未来30天有一种一上可售票型;(3)如果是演出,则必须为当前园区有绑定的且可用的剧目。
CommonOperationResultWithTagOfIEnumerableOfTouristDestinationV52SimpleDataName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of TouristDestinationV52SimpleData |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "tickettypes_count": 1, "minprice": 2.0, "maxprice": 3.0, "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" } ], "scenic_id": 64, "scenic_name": "sample string 5", "scenic_simplename": "sample string 6", "secnic_systemid": "sample string 7", "secinc_level": "sample string 8", "mainslogan": "sample string 9", "isscenic": "sample string 10", "theatricalworkid": "sample string 11", "post_code": "sample string 12", "address": "sample string 13", "lng": 1.0, "lat": 1.0, "marketdepartphone": "sample string 14", "marketfax": "sample string 15", "sellstationphone": "sample string 16", "servicephone": "sample string 17", "description": "sample string 18", "introduce": "sample string 19" }, { "tickettypes_count": 1, "minprice": 2.0, "maxprice": 3.0, "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" } ], "scenic_id": 64, "scenic_name": "sample string 5", "scenic_simplename": "sample string 6", "secnic_systemid": "sample string 7", "secinc_level": "sample string 8", "mainslogan": "sample string 9", "isscenic": "sample string 10", "theatricalworkid": "sample string 11", "post_code": "sample string 12", "address": "sample string 13", "lng": 1.0, "lat": 1.0, "marketdepartphone": "sample string 14", "marketfax": "sample string 15", "sellstationphone": "sample string 16", "servicephone": "sample string 17", "description": "sample string 18", "introduce": "sample string 19" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfTouristDestinationV52SimpleDataJzm2UCrN 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:TouristDestinationV52SimpleData> <d2p1:address>sample string 13</d2p1:address> <d2p1:description>sample string 18</d2p1:description> <d2p1:introduce>sample string 19</d2p1:introduce> <d2p1:isscenic>sample string 10</d2p1:isscenic> <d2p1:lat>1</d2p1:lat> <d2p1:lng>1</d2p1:lng> <d2p1:mainslogan>sample string 9</d2p1:mainslogan> <d2p1:marketdepartphone>sample string 14</d2p1:marketdepartphone> <d2p1:marketfax>sample string 15</d2p1:marketfax> <d2p1:post_code>sample string 12</d2p1:post_code> <d2p1:scenic_id>64</d2p1:scenic_id> <d2p1:scenic_name>sample string 5</d2p1:scenic_name> <d2p1:scenic_simplename>sample string 6</d2p1:scenic_simplename> <d2p1:secinc_level>sample string 8</d2p1:secinc_level> <d2p1:secnic_systemid>sample string 7</d2p1:secnic_systemid> <d2p1:sellstationphone>sample string 16</d2p1:sellstationphone> <d2p1:servicephone>sample string 17</d2p1:servicephone> <d2p1:theatricalworkid>sample string 11</d2p1:theatricalworkid> <d2p1:imagelist xmlns:d4p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <d4p1:ScenicSpotPictureResourceResult> <d4p1:description>sample string 4</d4p1:description> <d4p1:hasanymore>sample string 3</d4p1:hasanymore> <d4p1:pictureid>2</d4p1:pictureid> <d4p1:scenicspotid>sample string 1</d4p1:scenicspotid> <d4p1:season>sample string 7</d4p1:season> <d4p1:title>sample string 6</d4p1:title> <d4p1:uploadtime>sample string 5</d4p1:uploadtime> </d4p1:ScenicSpotPictureResourceResult> <d4p1:ScenicSpotPictureResourceResult> <d4p1:description>sample string 4</d4p1:description> <d4p1:hasanymore>sample string 3</d4p1:hasanymore> <d4p1:pictureid>2</d4p1:pictureid> <d4p1:scenicspotid>sample string 1</d4p1:scenicspotid> <d4p1:season>sample string 7</d4p1:season> <d4p1:title>sample string 6</d4p1:title> <d4p1:uploadtime>sample string 5</d4p1:uploadtime> </d4p1:ScenicSpotPictureResourceResult> </d2p1:imagelist> <d2p1:maxprice>3</d2p1:maxprice> <d2p1:minprice>2</d2p1:minprice> <d2p1:tickettypes_count>1</d2p1:tickettypes_count> </d2p1:TouristDestinationV52SimpleData> <d2p1:TouristDestinationV52SimpleData> <d2p1:address>sample string 13</d2p1:address> <d2p1:description>sample string 18</d2p1:description> <d2p1:introduce>sample string 19</d2p1:introduce> <d2p1:isscenic>sample string 10</d2p1:isscenic> <d2p1:lat>1</d2p1:lat> <d2p1:lng>1</d2p1:lng> <d2p1:mainslogan>sample string 9</d2p1:mainslogan> <d2p1:marketdepartphone>sample string 14</d2p1:marketdepartphone> <d2p1:marketfax>sample string 15</d2p1:marketfax> <d2p1:post_code>sample string 12</d2p1:post_code> <d2p1:scenic_id>64</d2p1:scenic_id> <d2p1:scenic_name>sample string 5</d2p1:scenic_name> <d2p1:scenic_simplename>sample string 6</d2p1:scenic_simplename> <d2p1:secinc_level>sample string 8</d2p1:secinc_level> <d2p1:secnic_systemid>sample string 7</d2p1:secnic_systemid> <d2p1:sellstationphone>sample string 16</d2p1:sellstationphone> <d2p1:servicephone>sample string 17</d2p1:servicephone> <d2p1:theatricalworkid>sample string 11</d2p1:theatricalworkid> <d2p1:imagelist xmlns:d4p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <d4p1:ScenicSpotPictureResourceResult> <d4p1:description>sample string 4</d4p1:description> <d4p1:hasanymore>sample string 3</d4p1:hasanymore> <d4p1:pictureid>2</d4p1:pictureid> <d4p1:scenicspotid>sample string 1</d4p1:scenicspotid> <d4p1:season>sample string 7</d4p1:season> <d4p1:title>sample string 6</d4p1:title> <d4p1:uploadtime>sample string 5</d4p1:uploadtime> </d4p1:ScenicSpotPictureResourceResult> <d4p1:ScenicSpotPictureResourceResult> <d4p1:description>sample string 4</d4p1:description> <d4p1:hasanymore>sample string 3</d4p1:hasanymore> <d4p1:pictureid>2</d4p1:pictureid> <d4p1:scenicspotid>sample string 1</d4p1:scenicspotid> <d4p1:season>sample string 7</d4p1:season> <d4p1:title>sample string 6</d4p1:title> <d4p1:uploadtime>sample string 5</d4p1:uploadtime> </d4p1:ScenicSpotPictureResourceResult> </d2p1:imagelist> <d2p1:maxprice>3</d2p1:maxprice> <d2p1:minprice>2</d2p1:minprice> <d2p1:tickettypes_count>1</d2p1:tickettypes_count> </d2p1:TouristDestinationV52SimpleData> </tag> </CommonOperationResultWithTagOfArrayOfTouristDestinationV52SimpleDataJzm2UCrN>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.