NatecniaService


Click here for a complete list of operations.

HotelDetailsExt

Test

The test form is only available for requests from the local machine.

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 /NatecniaService.asmx HTTP/1.1
Host: nekera.ws.bedbank.artemis.tyosoft.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/HotelDetailsExt"

<?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>
    <HotelDetailsExt xmlns="http://tempuri.org/">
      <request>
        <Login EchoToken="string">
          <UserName>string</UserName>
          <Password>string</Password>
        </Login>
        <HotelId>int</HotelId>
      </request>
    </HotelDetailsExt>
  </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>
    <HotelDetailsExtResponse xmlns="http://tempuri.org/">
      <HotelDetailsExtResult>
        <HotelInfo>
          <Boards>
            <BoardInfo xsi:nil="true" />
            <BoardInfo xsi:nil="true" />
          </Boards>
          <CountryCode>string</CountryCode>
          <MapLocation>
            <Latitude>decimal</Latitude>
            <Longitude>decimal</Longitude>
          </MapLocation>
          <AirPortCode>string</AirPortCode>
          <HotelImages>
            <Image xsi:nil="true" />
            <Image xsi:nil="true" />
          </HotelImages>
          <HotelFacilities>
            <HotelFacility xsi:nil="true" />
            <HotelFacility xsi:nil="true" />
          </HotelFacilities>
          <RenovatedDate>string</RenovatedDate>
          <ConstructionDate>string</ConstructionDate>
          <Distances>
            <HotelDistance xsi:nil="true" />
            <HotelDistance xsi:nil="true" />
          </Distances>
          <Description>
            <OtherRestName>string</OtherRestName>
            <CoffeeShopName>string</CoffeeShopName>
            <BarName>string</BarName>
            <BallRoomName>string</BallRoomName>
            <Sport>string</Sport>
            <Rooms>string</Rooms>
            <Remarks>string</Remarks>
            <MethodsOfPayments>string</MethodsOfPayments>
            <Location>string</Location>
            <HowToGetThere>string</HowToGetThere>
            <AdditionalDescription>string</AdditionalDescription>
            <Description>string</Description>
          </Description>
          <NumberOfRooms>int</NumberOfRooms>
          <NumberOfFloors>int</NumberOfFloors>
          <WebSite>string</WebSite>
          <EmailAddress>string</EmailAddress>
          <HotelType>string</HotelType>
          <PostalCode>string</PostalCode>
          <FaxNumber>string</FaxNumber>
          <PhoneNumber>string</PhoneNumber>
          <Address>string</Address>
          <City>string</City>
          <District>string</District>
          <Province>string</Province>
          <Resort>
            <ResortName>string</ResortName>
            <ResortId>int</ResortId>
          </Resort>
          <Region>
            <RegionName>string</RegionName>
            <RegionId>int</RegionId>
          </Region>
          <StarCategory>
            <Name>string</Name>
          </StarCategory>
          <HotelName>string</HotelName>
          <HotelId>int</HotelId>
          <CheckinTime>string</CheckinTime>
          <CheckoutTime>string</CheckoutTime>
        </HotelInfo>
      </HotelDetailsExtResult>
    </HotelDetailsExtResponse>
  </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 /NatecniaService.asmx HTTP/1.1
Host: nekera.ws.bedbank.artemis.tyosoft.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>
    <HotelDetailsExt xmlns="http://tempuri.org/">
      <request>
        <Login EchoToken="string">
          <UserName>string</UserName>
          <Password>string</Password>
        </Login>
        <HotelId>int</HotelId>
      </request>
    </HotelDetailsExt>
  </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>
    <HotelDetailsExtResponse xmlns="http://tempuri.org/">
      <HotelDetailsExtResult>
        <HotelInfo>
          <Boards>
            <BoardInfo xsi:nil="true" />
            <BoardInfo xsi:nil="true" />
          </Boards>
          <CountryCode>string</CountryCode>
          <MapLocation>
            <Latitude>decimal</Latitude>
            <Longitude>decimal</Longitude>
          </MapLocation>
          <AirPortCode>string</AirPortCode>
          <HotelImages>
            <Image xsi:nil="true" />
            <Image xsi:nil="true" />
          </HotelImages>
          <HotelFacilities>
            <HotelFacility xsi:nil="true" />
            <HotelFacility xsi:nil="true" />
          </HotelFacilities>
          <RenovatedDate>string</RenovatedDate>
          <ConstructionDate>string</ConstructionDate>
          <Distances>
            <HotelDistance xsi:nil="true" />
            <HotelDistance xsi:nil="true" />
          </Distances>
          <Description>
            <OtherRestName>string</OtherRestName>
            <CoffeeShopName>string</CoffeeShopName>
            <BarName>string</BarName>
            <BallRoomName>string</BallRoomName>
            <Sport>string</Sport>
            <Rooms>string</Rooms>
            <Remarks>string</Remarks>
            <MethodsOfPayments>string</MethodsOfPayments>
            <Location>string</Location>
            <HowToGetThere>string</HowToGetThere>
            <AdditionalDescription>string</AdditionalDescription>
            <Description>string</Description>
          </Description>
          <NumberOfRooms>int</NumberOfRooms>
          <NumberOfFloors>int</NumberOfFloors>
          <WebSite>string</WebSite>
          <EmailAddress>string</EmailAddress>
          <HotelType>string</HotelType>
          <PostalCode>string</PostalCode>
          <FaxNumber>string</FaxNumber>
          <PhoneNumber>string</PhoneNumber>
          <Address>string</Address>
          <City>string</City>
          <District>string</District>
          <Province>string</Province>
          <Resort>
            <ResortName>string</ResortName>
            <ResortId>int</ResortId>
          </Resort>
          <Region>
            <RegionName>string</RegionName>
            <RegionId>int</RegionId>
          </Region>
          <StarCategory>
            <Name>string</Name>
          </StarCategory>
          <HotelName>string</HotelName>
          <HotelId>int</HotelId>
          <CheckinTime>string</CheckinTime>
          <CheckoutTime>string</CheckoutTime>
        </HotelInfo>
      </HotelDetailsExtResult>
    </HotelDetailsExtResponse>
  </soap12:Body>
</soap12:Envelope>