NatecniaService
Click here for a complete list of operations.
SearchAvailability
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/SearchAvailability"
<?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>
<SearchAvailability xmlns="http://tempuri.org/">
<request OperatorCodeList="string" CountryCode="string" Channel="string">
<Login EchoToken="string">
<UserName>string</UserName>
<Password>string</Password>
</Login>
<Room>
<Images>
<Image xsi:nil="true" />
<Image xsi:nil="true" />
</Images>
<Facilities>
<Facility xsi:nil="true" />
<Facility xsi:nil="true" />
</Facilities>
<Description>string</Description>
<RoomName>string</RoomName>
<RoomCode>string</RoomCode>
</Room>
<Rooms>
<RoomRequest>
<RoomIndex>int</RoomIndex>
<Adults>int</Adults>
<Childs>int</Childs>
<ChildAges xsi:nil="true" />
<Quantity>int</Quantity>
</RoomRequest>
<RoomRequest>
<RoomIndex>int</RoomIndex>
<Adults>int</Adults>
<Childs>int</Childs>
<ChildAges xsi:nil="true" />
<Quantity>int</Quantity>
</RoomRequest>
</Rooms>
<NumberOfRooms>int</NumberOfRooms>
<Currency>string</Currency>
<CheckOutDate>dateTime</CheckOutDate>
<NumberOfNights>int</NumberOfNights>
<CheckInDate>dateTime</CheckInDate>
<HotelId>int</HotelId>
<HotelIds>string</HotelIds>
<HotelName>string</HotelName>
<Board>
<BoardName>string</BoardName>
<BoardCode>string</BoardCode>
</Board>
<StarCategory>
<Name>string</Name>
</StarCategory>
<Resort>
<ResortName>string</ResortName>
<ResortId>int</ResortId>
</Resort>
<Region>
<RegionName>string</RegionName>
<RegionId>int</RegionId>
</Region>
</request>
</SearchAvailability>
</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>
<SearchAvailabilityResponse xmlns="http://tempuri.org/">
<SearchAvailabilityResult>
<Hotels>
<HotelResponse OperatorCode="string" CountryCode="string" Channel="string">
<PaymentType>MerchantPay or LaterPay or CardBookingPay or CardChekInPay or PayX</PaymentType>
<CardInfo xsi:nil="true" />
<BookingNumber>string</BookingNumber>
<HotelConfirmationCode>string</HotelConfirmationCode>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<Rooms xsi:nil="true" />
<BookingRemarks xsi:nil="true" />
<Flights xsi:nil="true" />
<Hotel xsi:nil="true" />
</HotelResponse>
<HotelResponse OperatorCode="string" CountryCode="string" Channel="string">
<PaymentType>MerchantPay or LaterPay or CardBookingPay or CardChekInPay or PayX</PaymentType>
<CardInfo xsi:nil="true" />
<BookingNumber>string</BookingNumber>
<HotelConfirmationCode>string</HotelConfirmationCode>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<Rooms xsi:nil="true" />
<BookingRemarks xsi:nil="true" />
<Flights xsi:nil="true" />
<Hotel xsi:nil="true" />
</HotelResponse>
</Hotels>
<ErrorMessage>string</ErrorMessage>
<StackTrace>string</StackTrace>
</SearchAvailabilityResult>
</SearchAvailabilityResponse>
</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>
<SearchAvailability xmlns="http://tempuri.org/">
<request OperatorCodeList="string" CountryCode="string" Channel="string">
<Login EchoToken="string">
<UserName>string</UserName>
<Password>string</Password>
</Login>
<Room>
<Images>
<Image xsi:nil="true" />
<Image xsi:nil="true" />
</Images>
<Facilities>
<Facility xsi:nil="true" />
<Facility xsi:nil="true" />
</Facilities>
<Description>string</Description>
<RoomName>string</RoomName>
<RoomCode>string</RoomCode>
</Room>
<Rooms>
<RoomRequest>
<RoomIndex>int</RoomIndex>
<Adults>int</Adults>
<Childs>int</Childs>
<ChildAges xsi:nil="true" />
<Quantity>int</Quantity>
</RoomRequest>
<RoomRequest>
<RoomIndex>int</RoomIndex>
<Adults>int</Adults>
<Childs>int</Childs>
<ChildAges xsi:nil="true" />
<Quantity>int</Quantity>
</RoomRequest>
</Rooms>
<NumberOfRooms>int</NumberOfRooms>
<Currency>string</Currency>
<CheckOutDate>dateTime</CheckOutDate>
<NumberOfNights>int</NumberOfNights>
<CheckInDate>dateTime</CheckInDate>
<HotelId>int</HotelId>
<HotelIds>string</HotelIds>
<HotelName>string</HotelName>
<Board>
<BoardName>string</BoardName>
<BoardCode>string</BoardCode>
</Board>
<StarCategory>
<Name>string</Name>
</StarCategory>
<Resort>
<ResortName>string</ResortName>
<ResortId>int</ResortId>
</Resort>
<Region>
<RegionName>string</RegionName>
<RegionId>int</RegionId>
</Region>
</request>
</SearchAvailability>
</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>
<SearchAvailabilityResponse xmlns="http://tempuri.org/">
<SearchAvailabilityResult>
<Hotels>
<HotelResponse OperatorCode="string" CountryCode="string" Channel="string">
<PaymentType>MerchantPay or LaterPay or CardBookingPay or CardChekInPay or PayX</PaymentType>
<CardInfo xsi:nil="true" />
<BookingNumber>string</BookingNumber>
<HotelConfirmationCode>string</HotelConfirmationCode>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<Rooms xsi:nil="true" />
<BookingRemarks xsi:nil="true" />
<Flights xsi:nil="true" />
<Hotel xsi:nil="true" />
</HotelResponse>
<HotelResponse OperatorCode="string" CountryCode="string" Channel="string">
<PaymentType>MerchantPay or LaterPay or CardBookingPay or CardChekInPay or PayX</PaymentType>
<CardInfo xsi:nil="true" />
<BookingNumber>string</BookingNumber>
<HotelConfirmationCode>string</HotelConfirmationCode>
<CheckInDate>dateTime</CheckInDate>
<CheckOutDate>dateTime</CheckOutDate>
<Rooms xsi:nil="true" />
<BookingRemarks xsi:nil="true" />
<Flights xsi:nil="true" />
<Hotel xsi:nil="true" />
</HotelResponse>
</Hotels>
<ErrorMessage>string</ErrorMessage>
<StackTrace>string</StackTrace>
</SearchAvailabilityResult>
</SearchAvailabilityResponse>
</soap12:Body>
</soap12:Envelope>