Device registration API
The deviceregistration API provides device registration for all
notifications. A
BlackBerry
Dynamics
app
may register a device push token (for eaxample, GCM, APNS, GNP) for notification of specific
URIs, such as bookmarks, to synchronize between devices. The Synchronization API requires that
each BlackBerry
Dynamics
app registers for
specific URIs that the application wants to receive notifications for and that the user logs
in to the app a minimum of every 30 days to continue receiving notifications. If a user does
not log in every 30 days, BEMS
removes the push channel device registration for the user's devices. You must specify the
BEMS
endpoint in the API. The endpoint specifies where the object address is
located.
WhereEndpoint: <BEMS>/api/deviceregistration
BEMS
is the FQDN of BEMS
.The format for the HTTP Request to register for device notifications in
BEMS
is:
POST <BEMS>/api/deviceregistration <request-header> <request-body>
The following is a sample request
header:
Content-Type: application/json X-Good-GD-AuthToken: <GDAuthToken>