POST api/AudienceUsersOptOut
Request Information
URI Parameters
None.
Body Parameters
AudienceUsersOptOutName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Firstname | string |
String length: inclusive between 0 and 100 |
|
Lastname | string |
String length: inclusive between 0 and 100 |
|
string |
String length: inclusive between 0 and 100 |
||
MediaID | integer |
None. |
|
CustomerCode | string |
Required String length: inclusive between 0 and 100 |
|
AddedDate | date |
None. |
|
IsProcessed | boolean |
None. |
|
ProcessDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Firstname": "sample string 2", "Lastname": "sample string 3", "Email": "sample string 4", "MediaID": 5, "CustomerCode": "sample string 6", "AddedDate": "16/10/2025 02:46", "IsProcessed": true, "ProcessDate": "16/10/2025 02:46" }
application/xml, text/xml
Sample:
<AudienceUsersOptOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SM.Data.Models.Audience"> <AddedDate>2025-10-16T02:46:20.6275463+01:00</AddedDate> <CustomerCode>sample string 6</CustomerCode> <Email>sample string 4</Email> <Firstname>sample string 2</Firstname> <ID>1</ID> <IsProcessed>true</IsProcessed> <Lastname>sample string 3</Lastname> <MediaID>5</MediaID> <ProcessDate>2025-10-16T02:46:20.6275463+01:00</ProcessDate> </AudienceUsersOptOut>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AudienceUsersOptOutName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Firstname | string |
String length: inclusive between 0 and 100 |
|
Lastname | string |
String length: inclusive between 0 and 100 |
|
string |
String length: inclusive between 0 and 100 |
||
MediaID | integer |
None. |
|
CustomerCode | string |
Required String length: inclusive between 0 and 100 |
|
AddedDate | date |
None. |
|
IsProcessed | boolean |
None. |
|
ProcessDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Firstname": "sample string 2", "Lastname": "sample string 3", "Email": "sample string 4", "MediaID": 5, "CustomerCode": "sample string 6", "AddedDate": "16/10/2025 02:46", "IsProcessed": true, "ProcessDate": "16/10/2025 02:46" }
application/xml, text/xml
Sample:
<AudienceUsersOptOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SM.Data.Models.Audience"> <AddedDate>2025-10-16T02:46:20.6587947+01:00</AddedDate> <CustomerCode>sample string 6</CustomerCode> <Email>sample string 4</Email> <Firstname>sample string 2</Firstname> <ID>1</ID> <IsProcessed>true</IsProcessed> <Lastname>sample string 3</Lastname> <MediaID>5</MediaID> <ProcessDate>2025-10-16T02:46:20.6587947+01:00</ProcessDate> </AudienceUsersOptOut>