Coming soon: Your brand new Help Center & Community! Get a sneak-peek here

Accessing E-marketing subscription settings using web services

Hi,

How is it possible to access E-marketing subscription settings described in the following article?

https://community.superoffice.com/en/customer/product/updates/superoffice-8.2/subscription-management/

We're able to read E-marketing consents but also need to be able to find out what specific interests (Invitations, New, Promotions,..) are allowed.

RE: Accessing E-marketing subscription settings using web services

The available "Subscription" types live in the ShipmentType table.
I would expect this to be available from the ListAgent perhaps but it does not seem to be so.
Netsever has a ShipmentTypeCache...

The way it otherwise works is that we store ShipmentTypeReservations for "Subscriptions" that are explicitly turned off.
This is so that any newly added type in Admin will automatically appear in the gui.

/conrad

 

Af: Conrad Weyns 16. okt 2018

RE: Accessing E-marketing subscription settings using web services

Hi Conrad,

It seems that person-specific subscription settings are available using the ShipmentTypes property of the PersonEntity class - it contains an array of SelectableMDOListItem objects.

Af: Dmitry Kuskov 16. okt 2018

RE: Accessing E-marketing subscription settings using web services

Ah, thanks Dmitry.
Always something to learn, and then forget :-)
Conrad



Af: Conrad Weyns 17. okt 2018