GET api/AudienceUsersOptOut/GetByMediaID?MediaID={MediaID}&CustomerCode={CustomerCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| MediaID | integer |
Required |
|
| CustomerCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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:40",
"IsProcessed": true,
"ProcessDate": "17/12/2025 05:40"
},
{
"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:40",
"IsProcessed": true,
"ProcessDate": "17/12/2025 05:40"
}
]
application/xml, text/xml
Sample:
<ArrayOfAudienceUsersOptOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SM.Data.Models.Audience">
<AudienceUsersOptOut>
<AddedDate>2025-12-17T05:40:46.3989018+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:40:46.3989018+00:00</ProcessDate>
</AudienceUsersOptOut>
<AudienceUsersOptOut>
<AddedDate>2025-12-17T05:40:46.3989018+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:40:46.3989018+00:00</ProcessDate>
</AudienceUsersOptOut>
</ArrayOfAudienceUsersOptOut>