POST api/tour/search

Request Information

URI Parameters

None.

Body Parameters

TourSearchRequest
NameDescriptionTypeAdditional information
categoryId

integer

None.

minPrice

integer

None.

maxPrice

integer

None.

langId

integer

None.

tourFrom

string

None.

tourTo

integer

None.

departDate

string

None.

tourType

integer

None.

tourTransport

integer

None.

pageIndex

integer

None.

pageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "categoryId": 1,
  "minPrice": 2,
  "maxPrice": 3,
  "langId": 4,
  "tourFrom": "sample string 5",
  "tourTo": 6,
  "departDate": "sample string 7",
  "tourType": 8,
  "tourTransport": 9,
  "pageIndex": 10,
  "pageSize": 11
}

application/xml, text/xml

Sample:
<TourSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models">
  <categoryId>1</categoryId>
  <departDate>sample string 7</departDate>
  <langId>4</langId>
  <maxPrice>3</maxPrice>
  <minPrice>2</minPrice>
  <pageIndex>10</pageIndex>
  <pageSize>11</pageSize>
  <tourFrom>sample string 5</tourFrom>
  <tourTo>6</tourTo>
  <tourTransport>9</tourTransport>
  <tourType>8</tourType>
</TourSearchRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.