Our documentation is changing, please click here to enjoy it!

Skip to end of metadata
Go to start of metadata

First of all, to use a Static List, you need to create it on the Accengage User Interface.

Add the current device to a Static List

In order to add the current device to a Static List you have to provide a JSONArray containing JSONObjects including each a listId and an optional expireAt expiration date

Remove the current device from a Static List

In order to remove the current device to a Static List you have to provide a JSONArray containing JSONObjects including each a listId

Get subscription status

You have 2 ways to get the subscription status of the current device.

Get subscription status of selected lists

Retrieve the status of all wanted lists, you will need to pass a function in order to retrieve the result (here it's theCallback) :

Get all subscriptions of the current device

Retrieve the status of all lists, you will need to pass a function in order to retrieve the result (here it's theCallback) :

 

As a result, you will get a JSONArray containing some JSONObjects :

  • No labels