getNotificationPreferences.
getNotificationPreferences. 返回关于您当前正在接收给定用户的通知的信息。
GetNotificationPreferences输入
GetNotificationPreferences是一个安全的API方法,具有以下手机客户端和HTTP标头要求:
提交给手机客户端: | //api.sanyili.com/api_requests/secure_request |
HTTP标题中需要: | x-bonanzle-api-dev-name设置为dev_id |
x-bonanzle-api-cert-name设置为您的cert_id |
请注意,除此之外的所有安全方法 fetchtoken. 和 GetboothItems. 要求您提交用户令牌,以便我们知道您代表的用户帐户。 有关设置和提交用户令牌的详细信息,请参阅我们的 介绍用户令牌.
您请求的名称应该是 getNotificationPreferences.Request..
以下是可用的输入参数 序列化为json.:
争论 | 类型 | 发生 | 意义 |
---|---|---|---|
请求幸置性 | 容器 | 必需的 | 用于用户凭据的容器 |
请求幸置性 .bolanzleauthtoken. | 细绳 | 必需的 | 验证 用户令牌 对于您代表行事的用户。 |
getNotificationPreferences.输出
争论 | 类型 | 发生 | 意义 |
---|---|---|---|
错误信息 | 容器 | Conditionally | 当Bonanza处理请求时发生错误或警告的描述。如果ACK值为成功,则不返回。 |
errorMessage.错误 | 容器 |
Conditionally, repeatable: [0..*] |
|
errorMessage.error.类别 | ErrorCategory | Conditionally | Currently unused. |
errorMessage.error.信息 | string | Conditionally | 错误描述 |
errorMessage.error.类型 | 纠刊 | Conditionally | 错误的唯一描述性名称。 |
标准输出字段 | |||
时间戳 | 约会时间 | 总是 | 该值表示Bonanza处理请求的日期和时间。此值的时区为GMT,格式为ISO 8601日期和时间格式(YYYY-MM-DDTHH:MM:SS.SSZ)。有关此时间格式和转换为GMT时区的信息,请参阅“DateTime”类型。 |
呼叫特定的输出字段 | |||
applicationdeliverypreferences. | 容器 | 必需的 | 容器持有有关设置通知的所有细节。 |
applicationdeliverypreferences。适当的 | 细绳 | 选修的 | 启用或禁用通知和警报。如果禁用通知,则应用程序将不会收到它们,但保留其通知首选项。可能的值是
|
applicationdeliverypreferences。applicationul. | 细绳 | 选修的 | 通知传递手机客户端的地址。此地址适用于同一ApplicationDeliverDeperences.deliveryUrldetails容器中的TransiveryOrlName。要传递到服务器,手机客户端以http://或http:// _开头,并且必须良好形成。使用在呼叫时功能的手机客户端。要发送到电子邮件地址,手机客户端以Mailto://开头,并指定有效的电子邮件地址。 |
applicationdeliverypreferences。交付额外键 | 容器 | 选修的 | |
applicationdeliverypreferences。 delivery手机客户端Details. DELAVERT手机客户端. |
细绳 | 选修的 | 通知传递手机客户端的地址。此地址适用于同一ApplicationDeliverDeperences.deliveryUrldetails容器中的TransiveryOrlName。要传递到服务器,手机客户端以http://或http:// _开头,并且必须良好形成。使用在呼叫时功能的手机客户端。要发送到电子邮件地址,手机客户端以Mailto://开头,并指定有效的电子邮件地址。 |
applicationdeliverypreferences。 delivery手机客户端Details. 状态 |
细绳 | 选修的 | 启用或禁用此通知手机客户端。可能的值是
|
userdeliverypreferenceArray. | 容器 | 选修的 | |
userdeliverypreferenceArray。 NotimationenEnable. |
容器 | 选修的 | 用于各个事件的数组容器。 |
userdeliverypreferenceArray。 notificationEnable.最终 |
细绳 | 选修的 | 是否启用此事件或不可能值
|
userdeliverypreferenceArray。 notificationEnable.事件类型 |
eventNotificatifyType. | 选修的 | 查看可能值列表 eventNotificatifyType. |