Bluemix Push Notification with userID
<p>I am using the latest Bluemix Push Notification service. I'm using the MFPPush API to register the device (Android).</p>

<p>Here is my code snippet:</p>

<pre><code>var success = function(message) 
{ 
    console.log("Success: " + message);
    alert("Reg Device: " + message);
};
var failure = function(message) 
{ 
    console.log("Error: " + message); 
    alert("Error: " + message);
};
MFPPush.registerDevice({}, success, failure);
var notification = function(notification)
{
    // notification is a JSON object.
    alert(notification.message);
};
MFPPush.registerNotificationsCallback(notification);
</code></pre>

<p>The success message contains the following information:</p>

<pre><code>Token:APA91bFtkSr59Zxlr52HU****Uij
UserId: ""
DeviceId: g5c6d98f-0867-3fd1-a353-15bcdef675a2
</code></pre>

<p>When I send the notification, my device receives the message.</p>

<p>The Swagger REST API shows that I can arbitrarily give some token, <code>userId</code> and <code>deviceId</code>:</p>

<pre><code>{
  "deviceId": "TestDeviceId",
  "platform": "G",
  "token": "************",
  "userId": "Joe"
}
</code></pre>

<p>How do I get the <code>"TestDeviceId"</code>, and how do I get the <code>"token"</code>?  I don't see any API to get that information.</p>