ATRIP Token

在指南和链接中,统一使用 ATRIP Token 作为主名称。

这个 API 对应 getAtripToken.do

历史材料里也可能写成 getAtripToken

getAtripToken

post

Dependency No preceding function needs to be carried out.

Header parameters
AcceptstringRequiredExample: application/json
Content-TypestringRequiredExample: application/json
Accept-EncodingstringRequiredDefault: gzipExample: gzip
x-atlas-client-idstringRequiredDefault: <YOUR_CLIENT_ID>Example: <YOUR_CLIENT_ID>
x-atlas-client-secretstringRequiredDefault: <YOUR_CLIENT_SECRET>Example: <YOUR_CLIENT_SECRET>
Body
orderNostringRequired

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

userNamestringRequired

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.

rolestringRequired

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

Responses
chevron-right
200Success
application/json
urlstringRequired

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

statusintegerRequired

0: success

2: System error

3: unauthorized access

msgstring · nullableOptional

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.

post
/getAtripToken.do
200Success

Last updated

Was this helpful?