POST v1/Hotel/GetHotelImages
Request Information
URI Parameters
None.
Body Parameters
HotelImageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ListOfHotelCode | Collection of HotelCodeWithContextCode |
None. |
|
| ImageType | string |
None. |
|
| Vuserid | string |
None. |
|
| PccCode | string |
None. |
|
| UserId | integer |
None. |
|
| AccountID | string |
None. |
|
| UserName | string |
None. |
|
| ApplicationDomain | ApplicationDomain |
None. |
|
| guid | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ListOfHotelCode": [
{
"HotelCode": "sample string 1",
"ContextCode": "sample string 2"
},
{
"HotelCode": "sample string 1",
"ContextCode": "sample string 2"
}
],
"ImageType": "sample string 1",
"Vuserid": "sample string 2",
"PccCode": "sample string 3",
"UserId": 4,
"AccountID": "sample string 5",
"UserName": "sample string 6",
"ApplicationDomain": 0,
"guid": "sample string 7"
}
application/xml, text/xml
Sample:
<HotelImageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">
<AccountID>sample string 5</AccountID>
<ApplicationDomain>GTL</ApplicationDomain>
<PccCode>sample string 3</PccCode>
<UserId>4</UserId>
<UserName>sample string 6</UserName>
<Vuserid>sample string 2</Vuserid>
<guid>sample string 7</guid>
<ImageType>sample string 1</ImageType>
<ListOfHotelCode>
<HotelCodeWithContextCode>
<ContextCode>sample string 2</ContextCode>
<HotelCode>sample string 1</HotelCode>
</HotelCodeWithContextCode>
<HotelCodeWithContextCode>
<ContextCode>sample string 2</ContextCode>
<HotelCode>sample string 1</HotelCode>
</HotelCodeWithContextCode>
</ListOfHotelCode>
</HotelImageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HotelImageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ListOfHotelImages | Collection of HotelImg |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| guid | string |
None. |
|
| PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ListOfHotelImages": [
{
"ChainCode": "sample string 1",
"CodeContext": "sample string 2",
"HotelCode": "sample string 3",
"Logo": "sample string 4",
"Marketer": "sample string 5",
"Image": [
{
"Id": 1,
"Format": "sample string 2",
"ImageUrl": "sample string 3",
"Type": "sample string 4",
"Height": "sample string 5",
"Width": "sample string 6",
"Category": "sample string 7",
"Caption": "sample string 8"
},
{
"Id": 1,
"Format": "sample string 2",
"ImageUrl": "sample string 3",
"Type": "sample string 4",
"Height": "sample string 5",
"Width": "sample string 6",
"Category": "sample string 7",
"Caption": "sample string 8"
}
]
},
{
"ChainCode": "sample string 1",
"CodeContext": "sample string 2",
"HotelCode": "sample string 3",
"Logo": "sample string 4",
"Marketer": "sample string 5",
"Image": [
{
"Id": 1,
"Format": "sample string 2",
"ImageUrl": "sample string 3",
"Type": "sample string 4",
"Height": "sample string 5",
"Width": "sample string 6",
"Category": "sample string 7",
"Caption": "sample string 8"
},
{
"Id": 1,
"Format": "sample string 2",
"ImageUrl": "sample string 3",
"Type": "sample string 4",
"Height": "sample string 5",
"Width": "sample string 6",
"Category": "sample string 7",
"Caption": "sample string 8"
}
]
}
],
"IsSuccess": true,
"Message": "sample string 2",
"guid": "sample string 3",
"PNR": "sample string 4"
}
application/xml, text/xml
Sample:
<HotelImageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
<PNR>sample string 4</PNR>
<guid>sample string 3</guid>
<ListOfHotelImages>
<HotelImg>
<ChainCode>sample string 1</ChainCode>
<CodeContext>sample string 2</CodeContext>
<HotelCode>sample string 3</HotelCode>
<Image>
<HotelImage>
<Caption>sample string 8</Caption>
<Category>sample string 7</Category>
<Format>sample string 2</Format>
<Height>sample string 5</Height>
<Id>1</Id>
<ImageUrl>sample string 3</ImageUrl>
<Type>sample string 4</Type>
<Width>sample string 6</Width>
</HotelImage>
<HotelImage>
<Caption>sample string 8</Caption>
<Category>sample string 7</Category>
<Format>sample string 2</Format>
<Height>sample string 5</Height>
<Id>1</Id>
<ImageUrl>sample string 3</ImageUrl>
<Type>sample string 4</Type>
<Width>sample string 6</Width>
</HotelImage>
</Image>
<Logo>sample string 4</Logo>
<Marketer>sample string 5</Marketer>
</HotelImg>
<HotelImg>
<ChainCode>sample string 1</ChainCode>
<CodeContext>sample string 2</CodeContext>
<HotelCode>sample string 3</HotelCode>
<Image>
<HotelImage>
<Caption>sample string 8</Caption>
<Category>sample string 7</Category>
<Format>sample string 2</Format>
<Height>sample string 5</Height>
<Id>1</Id>
<ImageUrl>sample string 3</ImageUrl>
<Type>sample string 4</Type>
<Width>sample string 6</Width>
</HotelImage>
<HotelImage>
<Caption>sample string 8</Caption>
<Category>sample string 7</Category>
<Format>sample string 2</Format>
<Height>sample string 5</Height>
<Id>1</Id>
<ImageUrl>sample string 3</ImageUrl>
<Type>sample string 4</Type>
<Width>sample string 6</Width>
</HotelImage>
</Image>
<Logo>sample string 4</Logo>
<Marketer>sample string 5</Marketer>
</HotelImg>
</ListOfHotelImages>
</HotelImageResponse>