latestOpenAPI 3.0.12026-08-102668257.3 KB

8e9a8f8010ab

Other Functions

getAtripToken

Dependency No preceding function needs to be carried out.

post/getAtripToken.do

Headers

Acceptstring required
Content-Typestring required
Accept-Encodingstring required
x-atlas-client-idstring required
x-atlas-client-secretstring required

Request body

orderNostring required

Order number. It can be an order for ticketing, or an order for add bags. The format of each kind of order is different.

userNamestring required

This is to identifier the operator's name in client's system, Atlas will grant access to this operator and track his/her actions in Atlas customer service portal.

rolestring required

This is to identify the operator's role. Atlas will grant access to this operator according to the role assigned. Here are the acceptable options:

Customer service : Access to manage orders and request post ticketing services

Finance : Access to manage the balance and check statements

Developer : Access to manage the system configurations

Admin : Full access

Response

urlstring required

A url with token to access to Atlas customer service portal.

statusinteger required

0: success

2: System error

3: unauthorized access

msgstring nullable

Error message.

The 'msg' element is for description of the results. Please DO NOT use this field to check the success or failure of the request. Only use the 'status' code to check the result.