Add Email Domain Rules
Adds new email domain rules to existing Email Domain Rules. Email Domain Rules are used during Campaign launch.
See the Oracle Responsys Help Center for more information about email domains.
Service URL:
/rest/api/v1.3/settings/account/domains/email
Request Method:
PUT
Request Header:
Authorization=<AUTH_TOKEN>
Content-Type=application/json
Sample Request Body:
{
"avoidDomains": "xyz.com",
"htmlDomains": "hotmail.co.jp",
"txtDomains": "abc.com"
}
Sample Response in case of success:
Refer to the online REST API reference for an explanation of each property returned in the response.
{
"avoidDomains": "xyz.com",
"htmlDomains": "hotmail.co.jp, yahoo.com, yahoo.co.jp",
"txtDomains": "abc.com"
}
Sample Response in case of failure:
User must be Account Admin: Requests fail when the user performing this request does not have the Account Admin role. The error resembles:
{
"type": "",
"title": "Insufficient access",
"errorCode": "INSUFFICIENT_ACCESS",
"detail": "User must be Account Admin.",
"errorDetails": []
}