GET api/v2/flight/poproute/getlist/{lang}?routeType={routeType}

獲取熱門地區列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
routeType

0=機票熱門地區,1=酒店熱門地區

integer

Required

lang

string

Required

Body Parameters

None.

Response Information

Resource Description

獲取熱門地區列表

ReturnResultOfPopRouteListContract
NameDescriptionTypeAdditional information
data

PopRouteListContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'TC.Contracts.Flight.Common.PopRouteContract'. Path 'data.popRouteList[0].popRouteList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'TC.Contracts.Flight.Common.PopRouteContract'. Path 'data.popRouteList[0].popRouteList'.