Service_V4
Click here for a complete list of operations.
CheckAvailability_ViaPropertiesIds
(V4 - RailGun Cache) Main Function for checking hotels + apartments With Property Ids only. Modified On 02.04.2018 For Load Balancing On Several Servers for Performance , Availability Filter is Disabled and Non Effective starting from : 19.11.2019
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 /service_v4.asmx HTTP/1.1 Host: api.darinab2b.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://travelcontrol.softexsw.us/CheckAvailability_ViaPropertiesIds" <?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> <CheckAvailability_ViaPropertiesIds xmlns="http://travelcontrol.softexsw.us/"> <SecStr>string</SecStr> <AccountName>string</AccountName> <UserName>string</UserName> <Password>string</Password> <AgentID>int</AgentID> <FromDate>string</FromDate> <ToDate>string</ToDate> <AdultPax>int</AdultPax> <ChildPax>int</ChildPax> <ChildrenAges> <int>int</int> <int>int</int> </ChildrenAges> <ExtraBedAdult>boolean</ExtraBedAdult> <ExtraBedChild>boolean</ExtraBedChild> <Nationality_CountryID>int</Nationality_CountryID> <CurrencyID>int</CurrencyID> <MaxOverallPrice>decimal</MaxOverallPrice> <Availability>ShowAll or ShowAvailableOnly</Availability> <OccupancyID>int</OccupancyID> <RoomType>int</RoomType> <MealPlan>int</MealPlan> <GetHotelImageLink>boolean</GetHotelImageLink> <GetHotelMapLink>boolean</GetHotelMapLink> <Source>int</Source> <LimitRoomTypesInResult>int</LimitRoomTypesInResult> <HotelsID_List> <int>int</int> <int>int</int> </HotelsID_List> </CheckAvailability_ViaPropertiesIds> </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> <CheckAvailability_ViaPropertiesIdsResponse xmlns="http://travelcontrol.softexsw.us/"> <CheckAvailability_ViaPropertiesIdsResult>xml</CheckAvailability_ViaPropertiesIdsResult> </CheckAvailability_ViaPropertiesIdsResponse> </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 /service_v4.asmx HTTP/1.1 Host: api.darinab2b.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> <CheckAvailability_ViaPropertiesIds xmlns="http://travelcontrol.softexsw.us/"> <SecStr>string</SecStr> <AccountName>string</AccountName> <UserName>string</UserName> <Password>string</Password> <AgentID>int</AgentID> <FromDate>string</FromDate> <ToDate>string</ToDate> <AdultPax>int</AdultPax> <ChildPax>int</ChildPax> <ChildrenAges> <int>int</int> <int>int</int> </ChildrenAges> <ExtraBedAdult>boolean</ExtraBedAdult> <ExtraBedChild>boolean</ExtraBedChild> <Nationality_CountryID>int</Nationality_CountryID> <CurrencyID>int</CurrencyID> <MaxOverallPrice>decimal</MaxOverallPrice> <Availability>ShowAll or ShowAvailableOnly</Availability> <OccupancyID>int</OccupancyID> <RoomType>int</RoomType> <MealPlan>int</MealPlan> <GetHotelImageLink>boolean</GetHotelImageLink> <GetHotelMapLink>boolean</GetHotelMapLink> <Source>int</Source> <LimitRoomTypesInResult>int</LimitRoomTypesInResult> <HotelsID_List> <int>int</int> <int>int</int> </HotelsID_List> </CheckAvailability_ViaPropertiesIds> </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> <CheckAvailability_ViaPropertiesIdsResponse xmlns="http://travelcontrol.softexsw.us/"> <CheckAvailability_ViaPropertiesIdsResult>xml</CheckAvailability_ViaPropertiesIdsResult> </CheckAvailability_ViaPropertiesIdsResponse> </soap12:Body> </soap12:Envelope>