GET api/Preferences/Marketing
Get user marketing preferences
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of UserMarketingPreferencesModelName | Description | Type | Additional information |
---|---|---|---|
MarketingId |
Unique ID for the marketing campaign, comprised of Source and List |
string |
None. |
ListName |
Name of the marketing campaign list |
string |
None. |
SourceId |
ID of the marketing campaign source |
string |
None. |
ListId |
ID of the marketing campaign list |
string |
None. |
Subscribed |
Whether or not the user is subscribed to the campaign |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "MarketingId": "sample string 2:sample string 3", "ListName": "sample string 1", "SourceId": "sample string 2", "ListId": "sample string 3", "Subscribed": true }, { "MarketingId": "sample string 2:sample string 3", "ListName": "sample string 1", "SourceId": "sample string 2", "ListId": "sample string 3", "Subscribed": true } ]
application/xml, text/xml
Sample:
<ArrayOfUserMarketingPreferencesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <UserMarketingPreferencesModel> <ListId>sample string 3</ListId> <SourceId>sample string 2</SourceId> <Subscribed>true</Subscribed> <ListName>sample string 1</ListName> </UserMarketingPreferencesModel> <UserMarketingPreferencesModel> <ListId>sample string 3</ListId> <SourceId>sample string 2</SourceId> <Subscribed>true</Subscribed> <ListName>sample string 1</ListName> </UserMarketingPreferencesModel> </ArrayOfUserMarketingPreferencesModel>