POST v1/Hotel/UpdateHotelDetails
Request Information
URI Parameters
None.
Body Parameters
UpdateHotelDetailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PNR | string |
None. |
|
| AmountBeforeTax | decimal number |
None. |
|
| NonCommission | boolean |
None. |
|
| Percent | decimal number |
None. |
|
| CommissionText | string |
None. |
|
| PerNightRate | decimal number |
None. |
|
| CityCode | string |
None. |
|
| ChainCode | string |
None. |
|
| ProgramCode | string |
None. |
|
| CityName | string |
None. |
|
| StateCode | string |
None. |
|
| CountryCode | string |
None. |
|
| HotelCountry | string |
None. |
|
| ChainName | string |
None. |
|
| HotelPhone | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PNR": "sample string 1",
"AmountBeforeTax": 2.0,
"NonCommission": true,
"Percent": 4.0,
"CommissionText": "sample string 5",
"PerNightRate": 6.0,
"CityCode": "sample string 7",
"ChainCode": "sample string 8",
"ProgramCode": "sample string 9",
"CityName": "sample string 10",
"StateCode": "sample string 11",
"CountryCode": "sample string 12",
"HotelCountry": "sample string 13",
"ChainName": "sample string 14",
"HotelPhone": "sample string 15"
}
application/xml, text/xml
Sample:
<UpdateHotelDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model"> <AmountBeforeTax>2</AmountBeforeTax> <ChainCode>sample string 8</ChainCode> <ChainName>sample string 14</ChainName> <CityCode>sample string 7</CityCode> <CityName>sample string 10</CityName> <CommissionText>sample string 5</CommissionText> <CountryCode>sample string 12</CountryCode> <HotelCountry>sample string 13</HotelCountry> <HotelPhone>sample string 15</HotelPhone> <NonCommission>true</NonCommission> <PNR>sample string 1</PNR> <PerNightRate>6</PerNightRate> <Percent>4</Percent> <ProgramCode>sample string 9</ProgramCode> <StateCode>sample string 11</StateCode> </UpdateHotelDetailRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |