I'm new developer, I need to connect XML API Hotel, In the documentation is mentioned about Startup guide, first we need to add customer login and user, there're two steps at first, but I don't know how to use them, and how to connect Main XML URL into PHP using the password login info like below:
General Request / Request Format:
<customer>
<username>username</username>
<password>md5(password)</password>
<id>company code</id>
<source>1</source>
<request command="getallcities">
<return>
<filters>
<countryCode></countryCode>
<countryName></countryName>
</filters>
<fields>
<field>countryName</field>
<field>countryCode</field>
</fields>
</return>
</request>
</customer>
General Response / Response Format:
<result command=" " date="" ip="">
<request>
<error>
<class></class>
<code>error code</code>
<details></details>
<extraDetails></extraDetails>
<postXml></postXml>
</error>
<successful>FALSE</successful>
</request>
</result>
General Request XSD
getallcities.xsd
I highly appreciate of someone will guide me how to use them and how to connect PHP into Main XML Url.
I highly appreciate your help in this issue.
Thanks in advance