Go to documentation repository
Page History
...
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
APNS(iOS), C2DN (Android), etc. notification systems are in use.
deviceid – device token (APNs), registration id (C2DN), etc.;
username userparam – login. The field can be blank.
...
http://example.com:[port][/somecontext]web2/secure/subscription/
Reply with “201 Created” code means that subscribing is performed successfully.
...
The POST body should contain information about created subscribing. Only JSON format is received. It's required to specify the Content-Type title properly.
Sample of responserequest:
JSON
Content-Type : application/json
{
"usernameuserparam" : "johndoe",
"deviceid" : "somedeviceid"
}
...
Subscription cancellation
...
http://example.com:[port][/somecontext]web2/secure/subscription/[deviceId]
...
Overview
Content Tools