-
Notifications
You must be signed in to change notification settings - Fork 0
Avantio
Avantio site https://www.avantio.com/ (previous name 'itsolutions')
All required information can be found in official documentation http://feeds.avantio.com/doc/api_for_portals.pdf. This document is updated constantly. Current API version is 2.6.
Avantio is multihost supplier. Each host has CODE_PARTNER provided by Avantio.
Briefly, Avantio provides two ways to get data about accommodations:
-
Via XML files. List of files can be found in the documentation. This way is used by sync workers. Files are updated with different frequency from several hours to several days (more details in documentation). To get access to files you only need CODE_PARTNER.
-
Via SOAP API. This way is used by Concierge webhooks. Each API method requires username and password to be presented in request:
<Credentials>
<Language>EN</Language>
<UserName>Foo</UserName>
<Password>123</Password>
</Credentials>
NOTE: wsdl.xml contains a lot of methods but only those which described in the documentation works fine. Others return a similar error:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>PolicyFault: the access policy has been violated</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>