POST api/Hotel/get-ari

Documentation for 'get-ari'.

Request Information

Parameters

NameDescriptionAdditional information
req
Documentation for 'req'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Header": {
    "Username": "sample string 1",
    "Password": "sample string 2"
  },
  "HotelId": "sample string 1",
  "RoomTypeId": "sample string 2",
  "RateplanTypeId": "sample string 3",
  "FromDate": "sample string 4",
  "ToDate": "sample string 5",
  "MealPlan": "sample string 6"
}

application/xml, text/xml

Sample:
<GetRateReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models.Rate">
  <FromDate>sample string 4</FromDate>
  <Header>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Header>
  <HotelId>sample string 1</HotelId>
  <MealPlan>sample string 6</MealPlan>
  <RateplanTypeId>sample string 3</RateplanTypeId>
  <RoomTypeId>sample string 2</RoomTypeId>
  <ToDate>sample string 5</ToDate>
</GetRateReq>

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 'GetRateReq'.