Skip to content

Instantly share code, notes, and snippets.

@eliotharper
Created October 3, 2019 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliotharper/52e9d1183ef678e4817ceb53c60ec40e to your computer and use it in GitHub Desktop.
Save eliotharper/52e9d1183ef678e4817ceb53c60ec40e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/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">
<env:Header xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<wsa:Action>UpdateAddResponse</wsa:Action>
<wsa:MessageID>urn:uuid:054c50fc-daa1-448c-b297-2bdef79a44b6</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:7e0cca04-57bd-4481-864c-6ea8039d2ea0</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-c5f29b51-df2b-46e5-91e2-540123c1005a">
<wsu:Created>2019-10-03T11:14:09Z</wsu:Created>
<wsu:Expires>2019-10-03T11:19:09Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</env:Header>
<soap:Body>
<UpdateResponse xmlns="http://exacttarget.com/wsdl/partnerAPI">
<Results>
<StatusCode>Error</StatusCode>
<StatusMessage>Adding a new Data Extension definition is not allowed when doing an update-only operation. </StatusMessage>
<OrdinalID>0</OrdinalID>
<ErrorCode>310007</ErrorCode>
<Object xsi:type="DataExtension">
<PartnerKey xsi:nil="true" />
<ObjectID xsi:nil="true" />
<CustomerKey>A7325CF7-B136-4C22-986C-18C00EE181EA</CustomerKey>
<Fields>
<Field>
<PartnerKey xsi:nil="true" />
<ObjectID>7b6bb682-ddaf-4377-8837-1017e4d9c496</ObjectID>
<Name>yourField</Name>
</Field>
</Fields>
</Object>
</Results>
<RequestID>b98a1eb2-129b-4f3a-9718-0c3122d258fc</RequestID>
<OverallStatus>Error</OverallStatus>
</UpdateResponse>
</soap:Body>
</soap:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment