Skip Navigation

Code example for device registration request

The following code example sends a device registration request to
BEMS
:
POST https://<
BEMS FQDN
>:8443/api/deviceregistration Content-Type:application/json X-Good-GD-AuthToken: "<
AuthToken
>" { "account": <
user1
>@<
FQDN of BEMS instance
> , "deviceType": "android", "registrationId": "<
registrationId
>", "bundleId": "com.good.goodaccess.enterprise", "pushToken": "<
pushToken
>", "clientType":"BlackBerry Access", "gnpToken":<gnpToken>", "URI”:[”bookmarks”], "settings":{ "notificationNetwork":"android_gcm"} }
If the request is successful,
BEMS
returns the following response:
HTTP/1.1 200 OK