Element: <statusquery-result>

The <statusquery-result> element identifies a message-state and contains a child <address> element for each of the BlackBerry® devices for which that message-state applies.

It also specifies a code that informs the content provider of whether the BlackBerry® Infrastructure accepted or rejected the status query request.

Attributes

Attribute

Value(s)

Description

code

status_code

This attribute specifies a code that indicates whether the BlackBerry Infrastructure accepted or rejected the cancellation request.

desc

description

This attribute provides a textual description of the status query request. Optional.

message-state

delivered

pending

rejected

undeliverable

expired

aborted

timeout

cancelled

unknown

This attribute specifies the state of the push request message. This attribute can have one of the following values:

  • delivered: The message is successfully delivered to the specified BlackBerry devices.
  • pending: The message is in the process of being sent to the specified BlackBerry devices.
  • undeliverable: The message cannot be delivered to the specified BlackBerry device.
  • expired: The message reached its maximum age before it could be delivered to the specified BlackBerry devices.
  • cancelled: The message was cancelled by the Push Initiator before being delivered to the specified BlackBerry devices.
  • unknown: The BlackBerry Infrastructure cannot determine the current state of the message for the specified BlackBerry devices.

Was this information helpful? Send us your comments.