PUT device/applications/{packageName}/registrationid
Stores a device generated registration push ID.
Remarks
C4M Error Code returned:
null Registration ID stored successfully.
ApplicationNotFound Application not found in the environment.
409 - Conflict The informed registration ID is already bound to the device for an application with the same consumer key.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| packageName | The application's package name. |
Define this parameter in the request URI. |
| registrationId | Push registration Id. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
"sample string 1"
Response Information
Operation results.
Response body formats
application/json, text/json
Sample:
{
"error": null
}