POST api/tourgroup/search/{lang}
搜索旅行团
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang | string |
Required |
Body Parameters
TourGroupSearchRQContractName | Description | Type | Additional information |
---|---|---|---|
moduleid |
null.所有团, 0.旅行團,5.郵輪,10.鐵道 |
integer |
None. |
countryid |
国家ID |
string |
None. |
cityid |
城市ID |
string |
None. |
keywords |
关键字 |
string |
None. |
days |
天数 |
integer |
None. |
departuredate |
出发日期 |
date |
None. |
departureenddate |
出发结束日期 |
date |
None. |
personnum |
人数 |
integer |
None. |
fromprice |
开始价格 |
decimal number |
None. |
endprice |
结束价格 |
decimal number |
None. |
attrids |
属性 |
Collection of string |
None. |
pageindex |
当前页码 |
integer |
None. |
pagesize |
每页数量 |
integer |
None. |
skip |
跳过数量 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "moduleid": 1, "countryid": "sample string 1", "cityid": "sample string 2", "keywords": "sample string 3", "days": 4, "departuredate": "2024-12-23T19:29:47.4087324+08:00", "departureenddate": "2024-12-23T19:29:47.4087324+08:00", "personnum": 5, "fromprice": 6.0, "endprice": 7.0, "attrids": [ "sample string 1", "sample string 2" ], "pageindex": 8, "pagesize": 9, "skip": 10 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
搜索旅行团
ReturnResultOfPagerListOfTourGroupItemContractName | Description | Type | Additional information |
---|---|---|---|
data | PagerListOfTourGroupItemContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "total_count": 1, "page": 2, "page_size": 3, "data_list": [ { "tourId": "sample string 1", "tourCode": "sample string 2", "tourTitle": "sample string 3", "cityId": "sample string 4", "coverPic": "sample string 5", "price": 6.0, "tags": [ { "tag": "sample string 1", "orderby": 2, "position": 3, "imgUrl": "sample string 4" }, { "tag": "sample string 1", "orderby": 2, "position": 3, "imgUrl": "sample string 4" } ], "urlcategory": "sample string 7", "subtitle": "sample string 8", "subtitlecolor": "sample string 9", "subairline": "sample string 10", "subairlinecolor": "sample string 11", "subdepartdesc": "sample string 12", "subdepartdesccolor": "sample string 13", "subdatedescript": "sample string 14", "tourdates": [ "2024-12-23T19:29:47.4244425+08:00", "2024-12-23T19:29:47.4244425+08:00" ] }, { "tourId": "sample string 1", "tourCode": "sample string 2", "tourTitle": "sample string 3", "cityId": "sample string 4", "coverPic": "sample string 5", "price": 6.0, "tags": [ { "tag": "sample string 1", "orderby": 2, "position": 3, "imgUrl": "sample string 4" }, { "tag": "sample string 1", "orderby": 2, "position": 3, "imgUrl": "sample string 4" } ], "urlcategory": "sample string 7", "subtitle": "sample string 8", "subtitlecolor": "sample string 9", "subairline": "sample string 10", "subairlinecolor": "sample string 11", "subdepartdesc": "sample string 12", "subdepartdesccolor": "sample string 13", "subdatedescript": "sample string 14", "tourdates": [ "2024-12-23T19:29:47.4244425+08:00", "2024-12-23T19:29:47.4244425+08:00" ] } ], "page_count": 1, "skip": 4 }, "code": 1, "message": "sample string 2" }