POST hotel/list/destination

Request Information

URI Parameters

None.

Body Parameters

HotelDestinationRequest
NameDescriptionTypeAdditional information
Filter

string

None.

First

integer

None.

PageSize

integer

None.

IncludeTotal

boolean

None.

SortField

string

None.

SortOrder

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Filter": "sample string 1",
  "First": 2,
  "PageSize": 3,
  "IncludeTotal": true,
  "SortField": "sample string 5",
  "SortOrder": 6
}

application/xml, text/xml

Sample:
<HotelDestinationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PT.Platform.Extranet.Hotels.Data.Model.Hotel">
  <Filter>sample string 1</Filter>
  <First>2</First>
  <IncludeTotal>true</IncludeTotal>
  <PageSize>3</PageSize>
  <SortField>sample string 5</SortField>
  <SortOrder>6</SortOrder>
</HotelDestinationRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HotelDestinationRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.