WebService
Click here for a complete list of operations.
GetHotel
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ws/v_01/WebService.asmx HTTP/1.1 Host: ws.ignasbooking.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://booking-01.memetic.it/GetHotel" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetHotel xmlns="http://booking-01.memetic.it/"> <Username>string</Username> <Password>string</Password> <IdTourOperator>int</IdTourOperator> <IdLanguage>string</IdLanguage> <IdHotel>int</IdHotel> </GetHotel> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetHotelResponse xmlns="http://booking-01.memetic.it/"> <Hotel> <IdHotel>int</IdHotel> <Name>string</Name> <Category>string</Category> <Classification>string</Classification> <Address> <Description>string</Description> <City>string</City> <Cap>string</Cap> <Province>string</Province> <ProvinceCode>string</ProvinceCode> <CountryCode>string</CountryCode> <Phone>string</Phone> <Mobile>string</Mobile> <Fax>string</Fax> <Web>string</Web> <Email>string</Email> <Skype>string</Skype> </Address> <AddressOptional> <Description>string</Description> <City>string</City> <Cap>string</Cap> <Province>string</Province> <ProvinceCode>string</ProvinceCode> <CountryCode>string</CountryCode> <Phone>string</Phone> <Mobile>string</Mobile> <Fax>string</Fax> <Web>string</Web> <Email>string</Email> <Skype>string</Skype> </AddressOptional> <GeoData> <IsDefined>boolean</IsDefined> <Latitude>double</Latitude> <Longitude>double</Longitude> </GeoData> <Description> <Location>string</Location> <HowToArrive>string</HowToArrive> <Service>string</Service> <Rooms>string</Rooms> </Description> <CityDescription>string</CityDescription> <Comforts> <Comfort> <Description>string</Description> <HotelPersonalization>string</HotelPersonalization> <Category>string</Category> </Comfort> <Comfort> <Description>string</Description> <HotelPersonalization>string</HotelPersonalization> <Category>string</Category> </Comfort> </Comforts> <Resources> <Resource> <Title>string</Title> <Description>string</Description> <AlternativeText>string</AlternativeText> <Url>string</Url> </Resource> <Resource> <Title>string</Title> <Description>string</Description> <AlternativeText>string</AlternativeText> <Url>string</Url> </Resource> </Resources> <Rooms> <Room> <IdRoom>int</IdRoom> <Code>string</Code> <Name>string</Name> <RoomType>string</RoomType> <MinAdultsOccupancy>int</MinAdultsOccupancy> <MaxAdultsOccupancy>int</MaxAdultsOccupancy> <MaxTotalOccupancy>int</MaxTotalOccupancy> <AdultsWithNoReductions>int</AdultsWithNoReductions> </Room> <Room> <IdRoom>int</IdRoom> <Code>string</Code> <Name>string</Name> <RoomType>string</RoomType> <MinAdultsOccupancy>int</MinAdultsOccupancy> <MaxAdultsOccupancy>int</MaxAdultsOccupancy> <MaxTotalOccupancy>int</MaxTotalOccupancy> <AdultsWithNoReductions>int</AdultsWithNoReductions> </Room> </Rooms> </Hotel> </GetHotelResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ws/v_01/WebService.asmx HTTP/1.1 Host: ws.ignasbooking.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetHotel xmlns="http://booking-01.memetic.it/"> <Username>string</Username> <Password>string</Password> <IdTourOperator>int</IdTourOperator> <IdLanguage>string</IdLanguage> <IdHotel>int</IdHotel> </GetHotel> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetHotelResponse xmlns="http://booking-01.memetic.it/"> <Hotel> <IdHotel>int</IdHotel> <Name>string</Name> <Category>string</Category> <Classification>string</Classification> <Address> <Description>string</Description> <City>string</City> <Cap>string</Cap> <Province>string</Province> <ProvinceCode>string</ProvinceCode> <CountryCode>string</CountryCode> <Phone>string</Phone> <Mobile>string</Mobile> <Fax>string</Fax> <Web>string</Web> <Email>string</Email> <Skype>string</Skype> </Address> <AddressOptional> <Description>string</Description> <City>string</City> <Cap>string</Cap> <Province>string</Province> <ProvinceCode>string</ProvinceCode> <CountryCode>string</CountryCode> <Phone>string</Phone> <Mobile>string</Mobile> <Fax>string</Fax> <Web>string</Web> <Email>string</Email> <Skype>string</Skype> </AddressOptional> <GeoData> <IsDefined>boolean</IsDefined> <Latitude>double</Latitude> <Longitude>double</Longitude> </GeoData> <Description> <Location>string</Location> <HowToArrive>string</HowToArrive> <Service>string</Service> <Rooms>string</Rooms> </Description> <CityDescription>string</CityDescription> <Comforts> <Comfort> <Description>string</Description> <HotelPersonalization>string</HotelPersonalization> <Category>string</Category> </Comfort> <Comfort> <Description>string</Description> <HotelPersonalization>string</HotelPersonalization> <Category>string</Category> </Comfort> </Comforts> <Resources> <Resource> <Title>string</Title> <Description>string</Description> <AlternativeText>string</AlternativeText> <Url>string</Url> </Resource> <Resource> <Title>string</Title> <Description>string</Description> <AlternativeText>string</AlternativeText> <Url>string</Url> </Resource> </Resources> <Rooms> <Room> <IdRoom>int</IdRoom> <Code>string</Code> <Name>string</Name> <RoomType>string</RoomType> <MinAdultsOccupancy>int</MinAdultsOccupancy> <MaxAdultsOccupancy>int</MaxAdultsOccupancy> <MaxTotalOccupancy>int</MaxTotalOccupancy> <AdultsWithNoReductions>int</AdultsWithNoReductions> </Room> <Room> <IdRoom>int</IdRoom> <Code>string</Code> <Name>string</Name> <RoomType>string</RoomType> <MinAdultsOccupancy>int</MinAdultsOccupancy> <MaxAdultsOccupancy>int</MaxAdultsOccupancy> <MaxTotalOccupancy>int</MaxTotalOccupancy> <AdultsWithNoReductions>int</AdultsWithNoReductions> </Room> </Rooms> </Hotel> </GetHotelResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /ws/v_01/WebService.asmx/GetHotel?Username=string&Password=string&IdTourOperator=string&IdLanguage=string&IdHotel=string HTTP/1.1 Host: ws.ignasbooking.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <Hotel xmlns="http://booking-01.memetic.it/"> <IdHotel>int</IdHotel> <Name>string</Name> <Category>string</Category> <Classification>string</Classification> <Address> <Description>string</Description> <City>string</City> <Cap>string</Cap> <Province>string</Province> <ProvinceCode>string</ProvinceCode> <CountryCode>string</CountryCode> <Phone>string</Phone> <Mobile>string</Mobile> <Fax>string</Fax> <Web>string</Web> <Email>string</Email> <Skype>string</Skype> </Address> <AddressOptional> <Description>string</Description> <City>string</City> <Cap>string</Cap> <Province>string</Province> <ProvinceCode>string</ProvinceCode> <CountryCode>string</CountryCode> <Phone>string</Phone> <Mobile>string</Mobile> <Fax>string</Fax> <Web>string</Web> <Email>string</Email> <Skype>string</Skype> </AddressOptional> <GeoData> <IsDefined>boolean</IsDefined> <Latitude>double</Latitude> <Longitude>double</Longitude> </GeoData> <Description> <Location>string</Location> <HowToArrive>string</HowToArrive> <Service>string</Service> <Rooms>string</Rooms> </Description> <CityDescription>string</CityDescription> <Comforts> <Comfort> <Description>string</Description> <HotelPersonalization>string</HotelPersonalization> <Category>string</Category> </Comfort> <Comfort> <Description>string</Description> <HotelPersonalization>string</HotelPersonalization> <Category>string</Category> </Comfort> </Comforts> <Resources> <Resource> <Title>string</Title> <Description>string</Description> <AlternativeText>string</AlternativeText> <Url>string</Url> </Resource> <Resource> <Title>string</Title> <Description>string</Description> <AlternativeText>string</AlternativeText> <Url>string</Url> </Resource> </Resources> <Rooms> <Room> <IdRoom>int</IdRoom> <Code>string</Code> <Name>string</Name> <RoomType>string</RoomType> <MinAdultsOccupancy>int</MinAdultsOccupancy> <MaxAdultsOccupancy>int</MaxAdultsOccupancy> <MaxTotalOccupancy>int</MaxTotalOccupancy> <AdultsWithNoReductions>int</AdultsWithNoReductions> </Room> <Room> <IdRoom>int</IdRoom> <Code>string</Code> <Name>string</Name> <RoomType>string</RoomType> <MinAdultsOccupancy>int</MinAdultsOccupancy> <MaxAdultsOccupancy>int</MaxAdultsOccupancy> <MaxTotalOccupancy>int</MaxTotalOccupancy> <AdultsWithNoReductions>int</AdultsWithNoReductions> </Room> </Rooms> </Hotel>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /ws/v_01/WebService.asmx/GetHotel HTTP/1.1 Host: ws.ignasbooking.com Content-Type: application/x-www-form-urlencoded Content-Length: length Username=string&Password=string&IdTourOperator=string&IdLanguage=string&IdHotel=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <Hotel xmlns="http://booking-01.memetic.it/"> <IdHotel>int</IdHotel> <Name>string</Name> <Category>string</Category> <Classification>string</Classification> <Address> <Description>string</Description> <City>string</City> <Cap>string</Cap> <Province>string</Province> <ProvinceCode>string</ProvinceCode> <CountryCode>string</CountryCode> <Phone>string</Phone> <Mobile>string</Mobile> <Fax>string</Fax> <Web>string</Web> <Email>string</Email> <Skype>string</Skype> </Address> <AddressOptional> <Description>string</Description> <City>string</City> <Cap>string</Cap> <Province>string</Province> <ProvinceCode>string</ProvinceCode> <CountryCode>string</CountryCode> <Phone>string</Phone> <Mobile>string</Mobile> <Fax>string</Fax> <Web>string</Web> <Email>string</Email> <Skype>string</Skype> </AddressOptional> <GeoData> <IsDefined>boolean</IsDefined> <Latitude>double</Latitude> <Longitude>double</Longitude> </GeoData> <Description> <Location>string</Location> <HowToArrive>string</HowToArrive> <Service>string</Service> <Rooms>string</Rooms> </Description> <CityDescription>string</CityDescription> <Comforts> <Comfort> <Description>string</Description> <HotelPersonalization>string</HotelPersonalization> <Category>string</Category> </Comfort> <Comfort> <Description>string</Description> <HotelPersonalization>string</HotelPersonalization> <Category>string</Category> </Comfort> </Comforts> <Resources> <Resource> <Title>string</Title> <Description>string</Description> <AlternativeText>string</AlternativeText> <Url>string</Url> </Resource> <Resource> <Title>string</Title> <Description>string</Description> <AlternativeText>string</AlternativeText> <Url>string</Url> </Resource> </Resources> <Rooms> <Room> <IdRoom>int</IdRoom> <Code>string</Code> <Name>string</Name> <RoomType>string</RoomType> <MinAdultsOccupancy>int</MinAdultsOccupancy> <MaxAdultsOccupancy>int</MaxAdultsOccupancy> <MaxTotalOccupancy>int</MaxTotalOccupancy> <AdultsWithNoReductions>int</AdultsWithNoReductions> </Room> <Room> <IdRoom>int</IdRoom> <Code>string</Code> <Name>string</Name> <RoomType>string</RoomType> <MinAdultsOccupancy>int</MinAdultsOccupancy> <MaxAdultsOccupancy>int</MaxAdultsOccupancy> <MaxTotalOccupancy>int</MaxTotalOccupancy> <AdultsWithNoReductions>int</AdultsWithNoReductions> </Room> </Rooms> </Hotel>