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 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:47", "IsProcessed": true, "ProcessDate": "16/10/2025 02:47" }, { "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:47", "IsProcessed": true, "ProcessDate": "16/10/2025 02:47" } ]
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-10-16T02:47:05.2608603+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:47:05.2608603+01:00</ProcessDate> </AudienceUsersOptOut> <AudienceUsersOptOut> <AddedDate>2025-10-16T02:47:05.2608603+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:47:05.2608603+01:00</ProcessDate> </AudienceUsersOptOut> </ArrayOfAudienceUsersOptOut>