Page tree
Skip to end of metadata
Go to start of metadata

This article describes how to register a device using Nexus Push Service REST API. For more information, see Nexus Push Service API

Expand/Collapse All

Prerequisites

 Prerequisites
  • Installed Nexus Push Service, see here.

Step-by-step instruction

 Send register request to Nexus Push Service
  1. Send a register request, see code example:

    Example: Register request
    POST /inventory/device/register
    {
     "pushIds": [ "48DCF98AA22C1B7C1B2955ECCAC5C", "55DCA28AA22C1B7C1B2955ECCAFFF" ],
     "deviceToken": "244E8AF32631DC666927D267DE2BE",
     "appIdentifier": "com.nexusgroup.personal",
     "platform": "APPLE",
     "buildType": "PROD"
    }
 Check the register response
  1. Verify that the status code is 200. See example response for a successful registration:

    Example: register response
    {
     "result": 
     {
        "status": 200,
     }
    }