POST GetAllRates?amnts={amnts}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
amnts

boolean

Default value is False

Body Parameters

RatesRequestEntitty
NameDescriptionTypeAdditional information
SID

integer

Required

PropertyID

Collection of integer

Required

ChannelName

Collection of string

Required

NoOfGuests

integer

Required

CheckInStartDate

date

Required

CheckInEndDate

date

Required

LengthOfStay

integer

Required

FilterType

FilterType

None.

Request Formats

application/json, text/json

Sample:
{
  "SID": 1,
  "PropertyID": [
    1,
    2
  ],
  "ChannelName": [
    "sample string 1",
    "sample string 2"
  ],
  "NoOfGuests": 2,
  "CheckInStartDate": "2025-04-28T17:33:38.1906212+00:00",
  "CheckInEndDate": "2025-04-28T17:33:38.1906212+00:00",
  "LengthOfStay": 5,
  "FilterType": 0
}

text/html

Sample:
{"SID":1,"PropertyID":[1,2],"ChannelName":["sample string 1","sample string 2"],"NoOfGuests":2,"CheckInStartDate":"2025-04-28T17:33:38.1906212+00:00","CheckInEndDate":"2025-04-28T17:33:38.1906212+00:00","LengthOfStay":5,"FilterType":0}

application/xml, text/xml

Sample:
<RatesRequestEntitty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <ChannelName xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ChannelName>
  <CheckInEndDate>2025-04-28T17:33:38.1906212+00:00</CheckInEndDate>
  <CheckInStartDate>2025-04-28T17:33:38.1906212+00:00</CheckInStartDate>
  <FilterType>ALL</FilterType>
  <LengthOfStay>5</LengthOfStay>
  <NoOfGuests>2</NoOfGuests>
  <PropertyID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </PropertyID>
  <SID>1</SID>
</RatesRequestEntitty>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.