Guest User

Untitled

a guest
Jul 26th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 KB | None | 0 0
  1. <?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>
  2.  
  3. <?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>
  4.  
  5. POST https://webservice.exacttarget.com/Service.asmx HTTP/1.1
  6. Accept-Encoding: gzip,deflate
  7. Content-Type: text/xml;charset=UTF-8
  8. SOAPAction: "Create"
  9. Content-Length: 1401
  10. Host: webservice.exacttarget.com
  11. Connection: Keep-Alive
  12.  
  13. <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">
  14. <soap:Header>
  15. <wsse:Security soap:mustUnderstand="1">
  16. <wsse:UsernameToken wsu:Id="SecurityToken-d19fb7b0-ec6d-49a8-8fd3-796819ec7306">
  17. <wsse:Username>ccc</wsse:Username>
  18. <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ccc</wsse:Password>
  19. </wsse:UsernameToken>
  20. </wsse:Security>
  21. </soap:Header>
  22. <soap:Body>
  23. <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
  24. <Objects xsi:type="Subscriber">
  25. <PartnerKey xsi:nil="true"/>
  26. <ObjectID xsi:nil="true"/>
  27. <EmailAddress>examplesuppression@bh.exacttarget.com</EmailAddress>
  28. <SubscriberKey>examplesuppression@bh.exacttarget.com</SubscriberKey>
  29. <Lists>
  30. <ID>1761736</ID>
  31. </Lists>
  32. </Objects>
  33. </CreateRequest>
  34. </soap:Body>
  35. </soap:Envelope>
  36.  
  37. POST https://webservice.exacttarget.com/Service.asmx HTTP/1.1
  38. Accept-Encoding: gzip,deflate
  39. Content-Type: text/xml;charset=UTF-8
  40. SOAPAction: "Update"
  41. Content-Length: 1401
  42. Host: webservice.exacttarget.com
  43. Connection: Keep-Alive
  44.  
  45. <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">
  46. <soap:Header>
  47. <wsse:Security soap:mustUnderstand="1">
  48. <wsse:UsernameToken wsu:Id="SecurityToken-d19fb7b0-ec6d-49a8-8fd3-796819ec7306">
  49. <wsse:Username>ccc</wsse:Username>
  50. <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ccc</wsse:Password>
  51. </wsse:UsernameToken>
  52. </wsse:Security>
  53. </soap:Header>
  54. <soap:Body>
  55. <UpdateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
  56. <Objects xsi:type="Subscriber">
  57. <PartnerKey xsi:nil="true"/>
  58. <ObjectID xsi:nil="true"/>
  59. <EmailAddress>examplesuppression@bh.exacttarget.com</EmailAddress>
  60. <SubscriberKey>examplesuppression@bh.exacttarget.com</SubscriberKey>
  61. <Lists>
  62. <ID>1761736</ID>
  63. </Lists>
  64. </Objects>
  65. </UpdateRequest>
  66. </soap:Body>
  67. </soap:Envelope>
  68.  
  69. POST https://webservice.exacttarget.com/Service.asmx HTTP/1.1
  70. Accept-Encoding: gzip,deflate
  71. Content-Type: text/xml;charset=UTF-8
  72. SOAPAction: "Create"
  73. Content-Length: 1660
  74. Host: webservice.exacttarget.com
  75. Connection: Keep-Alive
  76.  
  77.  
  78. <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">
  79. <soap:Header>
  80. <wsse:Security soap:mustUnderstand="1">
  81. <wsse:UsernameToken wsu:Id="SecurityToken-d19fb7b0-ec6d-49a8-8fd3-796819ec7306">
  82. <wsse:Username>ccc</wsse:Username>
  83. <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ccc</wsse:Password>
  84. </wsse:UsernameToken>
  85. </wsse:Security>
  86. </soap:Header>
  87. <soap:Body>
  88. <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
  89. <Options>
  90. <SaveOptions>
  91. <SaveOption>
  92. <PropertyName>*</PropertyName>
  93. <SaveAction>UpdateAdd</SaveAction>
  94. </SaveOption>
  95. </SaveOptions>
  96. </Options>
  97. <Objects xsi:type="Subscriber">
  98. <PartnerKey xsi:nil="true"/>
  99. <ObjectID xsi:nil="true"/>
  100. <EmailAddress>examplesuppression@bh.exacttarget.com</EmailAddress>
  101. <SubscriberKey>examplesuppression@bh.exacttarget.com</SubscriberKey>
  102. <Lists>
  103. <ID>1761736</ID>
  104. </Lists>
  105. </Objects>
  106. </CreateRequest>
  107. </soap:Body>
  108. </soap:Envelope>
Add Comment
Please, Sign In to add comment