POST api/AudienceUsersOptOut
Request Information
URI Parameters
None.
Body Parameters
AudienceUsersOptOut| Name | 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": "17/12/2025 05:44",
"IsProcessed": true,
"ProcessDate": "17/12/2025 05:44"
}
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-12-17T05:44:10.9779261+00: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-12-17T05:44:10.9779261+00:00</ProcessDate> </AudienceUsersOptOut>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AudienceUsersOptOut| Name | 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": "17/12/2025 05:44",
"IsProcessed": true,
"ProcessDate": "17/12/2025 05:44"
}
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-12-17T05:44:10.9779261+00: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-12-17T05:44:10.9779261+00:00</ProcessDate> </AudienceUsersOptOut>