事件通知
事件通知Webhook
发生任何事件时,您将在服务器上收到事件通知。您可以处理并通知受影响的客户有关此事件。
端点:您配置用于接收通知的URL
方法:Post
cid
类型: 字符串
必填: 是
描述: 用于跟踪请求的唯一客户端标识符。
示例:
"xxxxxxxxxx"
type
类型: 字符串
必填: 是
描述: 事件类型。
有效值:
email.schedulechange: 航班变更-邮件通知
abnormal.cancelled: 未记录的取消
order.schedulechange: 航班变更-API通知
示例:
"email.schedulechange"
notificationId
类型: 字符串
必填: 是
描述: 通知事件的唯一标识符。
示例:
"20230323113246035DNIDD"
status
类型: 整数
必填: 是
描述: 事件状态。
有效值:
0: 未确认
1: 已确认
示例:
0
data
类型: 对象
必填: 是
描述: 包含与航班变更相关的邮件通知详情。
data.orderNo
类型: 字符串
必填: 是
描述: 与航班预订关联的唯一订单号。
示例:
"TESTS20230323103458265"
data.emailSubject
类型: 字符串
必填: 是
描述: 发送给客户的邮件通知主题行。
示例:
"重要:航班延误通知。确认代码KDK7QG"
data.emailLink
类型: 字符串 (URL)
必填: 是
描述: 直接链接到邮件详情页面以获取更多信息。
示例:
"https://theatlas/#/email-detail/4378270"
提示: 客户的服务器URL需要在Atlas注册才能通过webhook接收通知。
可以通过API完成注册,如下所示:
也可以通过ATRIP在"我的资料"菜单的"客户信息"选项卡中完成注册。
接收通知:
将收到三种类型的事件通知:
a. [航班变更 - 邮件通知] 使用Atlas生成的邮箱地址从航空公司收到的任何航班变更邮件通知。
示例:
请注意,邮件链接的有效期为10分钟。邮件中收到的数据需要在客户端存储。
b. [航班变更 - API通知]
航班变更的结构化通知。包含新旧航班信息。
示例:
c. [未记录的取消]
这些是由我们的客户、航空公司或乘客自己进行的取消。此信息将发送给客户以确认相同情况,并在必要时通知客户。
示例:
Schedule Change-Email Notification
Tip: The customer’s server URL needs to be registered with Atlas to receive notifications via webhook.
This can be done via API as shown below:
The registration can also be done via ATRIP in the “Customer Information” tab of the “My Profile” menu.
Receiving notifications:
Three types of Incident notifications will be received. They are:
a. [Schedule Change – Email Notification] Any schedule change email notification received from the airline using Atlas generated email id.
Sample:
Please note that the email link has a validity period of 10 minutes. The data received in the email will need to be stored at the customer’s end.
b. [Schedule Change - API Notification]
Structured Notification of Schedule Change. Information on old and new flights.
Sample:
c. [Unaccounted Cancellation]
These are cancellations made by our customers, airlines or passengers themselves. This info will be sent to the customers to confirm the same and inform the customer, if necessary.
Sample:
Last updated
Was this helpful?

