All online store applications can be directly linked to Matkahuolto’s data system via the XML interface.
The XML interface is implemented as an simple XML request to which the reply is given in XML format. The request is submitted to the contact address using the (POST) https protocol. In the request is successful, the sender receives an XML file containing not only the reply but also the address card in pdf format. The pdf is printed and appended to the consignment.
While the XML request is of standard format, there a a number of non-compulsory fields. The https protocol is the only permitted option because the server does not accept any non-encrypted http requests.
Technical description of the interface
To facilitate deployment, Matkahuolto offers model codes in some of the most common web programming languages. The model codes may be used freely for both private and commercial purposes. The codes may be used as they are or modified at the user’s risk. Please note that the reliability of the model codes has not been tested under all conditions.
Testing and deployment
To test the interface, Matkahuolto’s servers offer a testing environment which returns a reply of correct format to the requests submitted. No consignments submitted using the testing environment are actually processed. Deployment is easy by changing the contact address.
Customer IDs and technical support
For testing and deployment, you will need a free customer ID. You can order it by e-mail from Matkahuolto at email@example.com.
Additional information on the user or XML interface is provided by the help desk The e-mail address to the help desk is firstname.lastname@example.org.