All calls to the interface are made by posting XML documents over HTTP. Each call comprises a request sent by the client server to the iVectorConnect API and a response sent back from the API.
XML is the only supported format for API calls.
Requests should be posted to your XML gateway URL, which will be in this form
http://[YourXMLGateway]/ivectorconnect.ashx
If you do not know your XML gateway URL or whether it has been set up yet, please contact your administrator.
The XML should be in the body of the request. The system is only able to process data in XML format. Other formats, like SOAP or JSON, cannot be processed by iVectorConnect. The exact nodes each call should contain are given in detail on later pages of this guide in the search and book, supporting calls and queries sections.
Below is an example of what the HTTP request might look like:
POST: http://testtravel.ivectorconnect.co.uk/ivectorconnect.ashx HTTP/1.1
Content-Type: application/x-www-form-url encoded
Host: http://testravel.ivectorconnect.co.uk
Content-Length: 467
Expect: 100-continue
Connection: Close
<PropertySearchRequest>
<LoginDetails>
<Login>Tester</Login>
<Password>TestPassword</Password>
</LoginDetails>
<RegionID>52</RegionID>
<ArrivalDate>2014-06-22</ArrivalDate>
<Duration>7</Duration>
</PropertySearchRequest>
The travel agent in this example was using the example URL http://testtravel.ivectorconnect.co.uk/ivectorconnect.ashx and the call sent was a property search request.
The first step to using your new system set up is to test your login credentials are working by making your first call.
>> Next: Your first call