Hi Group,
I am trying to use the lists batch unsubscribe to remove emails from lists:
I am using the following code:
Verb = POST
Message =
{
"apikey": "api key here",
"id": "list id here",
"batch": [
{
"email": {
"email": "email here",
"euid": "euid here",
"leid": "leid here"
}
}
],
"delete_member": false,
"send_goodbye": false,
"send_notify": false
}
The response I am getting is =
<?xml version="1.0" encoding="utf-8"?>
<result type="dict"><success_count type="integer">0</success_count><error_count type="integer">1</error_count><errors type="array"><value type="dict"><code type="integer">232</code><error type="string">There is no record of the email address "Array" in your account</error><email type="dict"><email type="dict"><email type="string">email here</email><euid type="string">euid here</euid><leid type="string">leid here</leid></email></email></value></errors></result>
I have run my JSON code through
jsonlint.com and it validates fine. I have checked, double checked and triple check the email address is in the list I am trying to remove it from....
Any ideas?
Thanks and have a great weekend.
Jordan
Maxim Software