邮件查询

在指南和链接中,统一使用 邮件查询 作为主名称。

这个 API 对应 queryMail.do

历史材料里也可能写成 Email List

Email List

post

Dependency No preceding function needs to be carried out.

Endpoint: https://sandbox.atriptech.com/queryMail.do

Header parameters
AcceptstringRequiredExample: application/json
Content-TypestringRequiredExample: application/json
Accept-EncodingstringRequiredExample: gzip
x-atlas-client-idstringRequiredExample: <YOUR_CLIENT_ID>
x-atlas-client-secretstringRequiredExample: <YOUR_CLIENT_SECRET>
Body
orderNostring · nullableOptional

Order number. At least one of the order number, receiving time and/or creation time must be specified for querying.

emailReceivingDateStartstring · nullableOptional

Start of the receiving time. The time Atlas received the airline's email. Format: yyyy-MM-dd hh:mm:ss UTC+08:00

emailReceivingDateEndstring · nullableOptional

End of the receiving time. The time Atlas received the airline's email. Format: yyyy-mm-dd hh:mm:ss UTC+08:00. You can only query data for up to one month at a time

createTimeStartstring · nullableOptional

Start of creation time. Create Time is the time when Atlas created this email record in the Email list. Generally, it will be later than the receiving time. Format: yyyy-mm-dd hh:mm:ss UTC+08:00

createTimeEndstring · nullableOptional

End of creation time. Create Time is the time when Atlas created this email record in the Email list. Generally, it will be later than the receiving time. Format: yyyy-MM-dd hh:mm:ss UTC+08:00 You can only query data for up to one month at a time.

emailCategoriesstring · nullableOptional

Atlas email categories. Atlas categorizes emails but does not guarantee accuracy in classification. -Travel Itinerary -Schedule Change -Payment Due -Payment Success -Receipt -Trip Reminder -PNR Cancellation Success -Advertisement -Duplicated Schedule Change -Verification -Unaccounted Cancellation -Promo code

pageIndexstring · nullableOptionalDefault: 1
pageSizestring · nullableOptionalDefault: 100
Responses
post
/queryMail.do
200Success

Last updated

Was this helpful?