Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column
width50%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleIn the section:borderStylesolid
Table of Contents



 
Column


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]

...