Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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>
- <?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>
- POST https://webservice.exacttarget.com/Service.asmx HTTP/1.1
- Accept-Encoding: gzip,deflate
- Content-Type: text/xml;charset=UTF-8
- SOAPAction: "Create"
- Content-Length: 1401
- Host: webservice.exacttarget.com
- Connection: Keep-Alive
- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
- <soap:Header>
- <wsse:Security soap:mustUnderstand="1">
- <wsse:UsernameToken wsu:Id="SecurityToken-d19fb7b0-ec6d-49a8-8fd3-796819ec7306">
- <wsse:Username>ccc</wsse:Username>
- <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ccc</wsse:Password>
- </wsse:UsernameToken>
- </wsse:Security>
- </soap:Header>
- <soap:Body>
- <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
- <Objects xsi:type="Subscriber">
- <PartnerKey xsi:nil="true"/>
- <ObjectID xsi:nil="true"/>
- <EmailAddress>examplesuppression@bh.exacttarget.com</EmailAddress>
- <SubscriberKey>examplesuppression@bh.exacttarget.com</SubscriberKey>
- <Lists>
- <ID>1761736</ID>
- </Lists>
- </Objects>
- </CreateRequest>
- </soap:Body>
- </soap:Envelope>
- POST https://webservice.exacttarget.com/Service.asmx HTTP/1.1
- Accept-Encoding: gzip,deflate
- Content-Type: text/xml;charset=UTF-8
- SOAPAction: "Update"
- Content-Length: 1401
- Host: webservice.exacttarget.com
- Connection: Keep-Alive
- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
- <soap:Header>
- <wsse:Security soap:mustUnderstand="1">
- <wsse:UsernameToken wsu:Id="SecurityToken-d19fb7b0-ec6d-49a8-8fd3-796819ec7306">
- <wsse:Username>ccc</wsse:Username>
- <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ccc</wsse:Password>
- </wsse:UsernameToken>
- </wsse:Security>
- </soap:Header>
- <soap:Body>
- <UpdateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
- <Objects xsi:type="Subscriber">
- <PartnerKey xsi:nil="true"/>
- <ObjectID xsi:nil="true"/>
- <EmailAddress>examplesuppression@bh.exacttarget.com</EmailAddress>
- <SubscriberKey>examplesuppression@bh.exacttarget.com</SubscriberKey>
- <Lists>
- <ID>1761736</ID>
- </Lists>
- </Objects>
- </UpdateRequest>
- </soap:Body>
- </soap:Envelope>
- POST https://webservice.exacttarget.com/Service.asmx HTTP/1.1
- Accept-Encoding: gzip,deflate
- Content-Type: text/xml;charset=UTF-8
- SOAPAction: "Create"
- Content-Length: 1660
- Host: webservice.exacttarget.com
- Connection: Keep-Alive
- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
- <soap:Header>
- <wsse:Security soap:mustUnderstand="1">
- <wsse:UsernameToken wsu:Id="SecurityToken-d19fb7b0-ec6d-49a8-8fd3-796819ec7306">
- <wsse:Username>ccc</wsse:Username>
- <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ccc</wsse:Password>
- </wsse:UsernameToken>
- </wsse:Security>
- </soap:Header>
- <soap:Body>
- <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
- <Options>
- <SaveOptions>
- <SaveOption>
- <PropertyName>*</PropertyName>
- <SaveAction>UpdateAdd</SaveAction>
- </SaveOption>
- </SaveOptions>
- </Options>
- <Objects xsi:type="Subscriber">
- <PartnerKey xsi:nil="true"/>
- <ObjectID xsi:nil="true"/>
- <EmailAddress>examplesuppression@bh.exacttarget.com</EmailAddress>
- <SubscriberKey>examplesuppression@bh.exacttarget.com</SubscriberKey>
- <Lists>
- <ID>1761736</ID>
- </Lists>
- </Objects>
- </CreateRequest>
- </soap:Body>
- </soap:Envelope>
Add Comment
Please, Sign In to add comment