Apart from the reference tables (currency rates and flexible commission rules excluded) and price offers, authorization is required to work with the gate.
Authorization service: http://xml.tez-tour.com/xmlgate/auth_data.jsp?j_login_request=1&j_login=${login}&j_passwd=${password}
где j_login is the login,
j_passwd is the password.
In case if authorization is successful the system’s reply will contain session id and the current set of roles:
<auth_data>
<sessionId>121433334A69CEE9D85A69D4C86771565C596E1</sessionId>
<login>login</login>
<agency>Agency name</agency>
<roles>
<role>BOOKORDER</role>
<role>ARMONLINEUSER</role>
</roles>
</auth_data>
Further on, you’ll need to add session id to order parameters. For example:
http://xml.tez-tour.com/xmlgate/order/view?orderId=&aid=18F0B1E42611118E86111136123087B53B87E5DC