I need to add subscribers to a suppression list , but the soap envelopes in the documentation don't seem to work I've tried several variations in the past days
here is the main one I am using
the one at the very end "Add a Subscriber to an Auto-Suppression List"
that one gives me an error saying that "Unable to retrieve Data Extension using CustomerKey" I've tried the name , customer Key and ID , I found odd that the object type in the envelope says Data Extension so I also tried changing this to SupressionListDefinition but get an error saying "Exception occurred during [Create] ErrorID: 564380645"
I've also tried the envelope on this link
https://code.exacttarget.com/apis-sdks/soap-api/removing-a-subscriber-from-a-suppression-list.html
I figured I could just change the action to create but that doesnt work , the response does come back as OK which is odd , also the delete action is not removing the subscriber and is also coming back as OK
can you provide the correct envelope to use to add a subscriber to a specific supression list?
Thanks.
Update 11/2/2015
Hi , this doesn’t seem to work , while I am able to make it work with some changes to the soap envelope and get a response the response says the subscriber (me) its already on the list but that is not the case
I also tried different SOAP Action , Create, Update , UpdateAdd , the Update actually responds as if it worked but when I go and check the suppression list I am not there. UpdateAdd gives me a http:500 error .
My guess is that even though I am indicating a list id is checking a different one, maybe the main subscribers list?
Here is the response I get and also a screen shot to validate that I am not there and the list id
Create Response
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="url://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="url://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="url://www.w3.org/2001/XMLSchema" xmlns:wsa="url://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="url://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="url://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action>CreateResponse</wsa:Action><wsa:MessageID>urn:uuid:1d74d90d-05bc-4279-978e-c4e2d92aea29</wsa:MessageID><wsa:RelatesTo>urn:uuid:623d6172-b359-44b1-85e8-51dfad13ce20</wsa:RelatesTo><wsa:To>url://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-6adc625b-a59f-4bbc-baba-2373aa0eb261"><wsu:Created>2015-11-02T19:26:18Z</wsu:Created><wsu:Expires>2015-11-02T19:31:18Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><CreateResponse xmlns="url://exacttarget.com/wsdl/partnerAPI"><Results><StatusCode>Error</StatusCode><StatusMessage>The subscriber is already on the list</StatusMessage><OrdinalID>0</OrdinalID><ErrorCode>12014</ErrorCode><NewID>0</NewID><Object xsi:type="Subscriber"><PartnerKey xsi:nil="true" /><ObjectID xsi:nil="true" /><EmailAddress>raul.olvera@vivint.com</EmailAddress><SubscriberKey>raul.olvera@vivint.com</SubscriberKey><Lists><PartnerKey xsi:nil="true" /><ID>9169</ID><ObjectID xsi:nil="true" /></Lists></Object></Results><RequestID>2a536ff8-8303-465f-bd69-bc1a8f38ec9a</RequestID><OverallStatus>Error</OverallStatus></CreateResponse></soap:Body></soap:Envelope>
Update Response
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="url://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="url://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="url://www.w3.org/2001/XMLSchema" xmlns:wsa="url://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="url://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="url://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action>UpdateResponse</wsa:Action><wsa:MessageID>urn:uuid:bb52b334-1964-4ee8-864a-1c968a0b2c56</wsa:MessageID><wsa:RelatesTo>urn:uuid:e7acfe31-f9cf-40c9-883d-429e2268da63</wsa:RelatesTo><wsa:To>url://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-b88d1b22-a0fb-444e-a53f-e590051b1fb3"><wsu:Created>2015-11-02T19:30:03Z</wsu:Created><wsu:Expires>2015-11-02T19:35:03Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><UpdateResponse xmlns="url://exacttarget.com/wsdl/partnerAPI"><RequestID>860be2a7-df70-43b7-952b-c6759837062d</RequestID><OverallStatus>OK</OverallStatus></UpdateResponse></soap:Body></soap:Envelope>