NotificationsQuery interface
定义服务挂钩通知的查询。
属性
| associated |
与从查询返回的通知关联的订阅 |
| include |
如果为 true,我们将返回所提供的查询的所有通知历史记录;否则,将返回摘要。 |
| max |
创建通知的可选最大日期 |
| max |
要包括的总结果的最大可选数目 |
| max |
每个订阅的可选最大结果数。 仅在查询中提供订阅 ID 列表时生效。 |
| min |
创建通知的可选最小日期 |
| publisher |
可选发布者 ID,用于将结果限制为 |
| results | 来自查询的结果 |
| result |
用于筛选结果到的可选通知结果类型 |
| status | 要筛选结果的可选通知状态 |
| subscription |
用于将结果限制为的订阅 ID 的可选列表 |
| summary | 通知摘要 - 每个结果类型(成功、失败、..)的计数。 |
属性详细信息
associatedSubscriptions
includeDetails
如果为 true,我们将返回所提供的查询的所有通知历史记录;否则,将返回摘要。
includeDetails: boolean
属性值
boolean
maxCreatedDate
创建通知的可选最大日期
maxCreatedDate: Date
属性值
Date
maxResults
要包括的总结果的最大可选数目
maxResults: number
属性值
number
maxResultsPerSubscription
每个订阅的可选最大结果数。 仅在查询中提供订阅 ID 列表时生效。
maxResultsPerSubscription: number
属性值
number
minCreatedDate
创建通知的可选最小日期
minCreatedDate: Date
属性值
Date
publisherId
可选发布者 ID,用于将结果限制为
publisherId: string
属性值
string
results
resultType
status
subscriptionIds
用于将结果限制为的订阅 ID 的可选列表
subscriptionIds: string[]
属性值
string[]