Created
March 8, 2024 20:45
-
-
Save wvpv/5e6615e3fa74ae457e91e1d8325e1c97 to your computer and use it in GitHub Desktop.
Upsert DataExensionObject via SOAP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<s:Header> | |
<a:Action s:mustUnderstand="1">Create</a:Action> | |
<a:To s:mustUnderstand="1">{{soapEndpoint}}</a:To> | |
<fueloauth xmlns="http://exacttarget.com">{{accessToken}}</fueloauth> | |
</s:Header> | |
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<UpdateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI"> | |
<Options> | |
<SaveOptions> | |
<SaveOption> | |
<PropertyName>*</PropertyName> | |
<SaveAction>UpdateAdd</SaveAction> | |
</SaveOption> | |
</SaveOptions> | |
</Options> | |
<Objects xsi:type="DataExtensionObject"> | |
<PartnerKey xsi:nil="true" /> | |
<ObjectID xsi:nil="true" /> | |
<CustomerKey>ExampleMaster</CustomerKey> | |
<Properties> | |
<Property> | |
<Name>SubscriberKey</Name> | |
<Value>1234567890</Value> | |
</Property> | |
<Property> | |
<Name>EmailAddress</Name> | |
<Value>[email protected]</Value> | |
</Property> | |
<Property> | |
<Name>FirstName</Name> | |
<Value>Test</Value> | |
</Property> | |
<Property> | |
<Name>LastName</Name> | |
<Value>Example</Value> | |
</Property> | |
</Properties> | |
</Objects> | |
</UpdateRequest> | |
</s:Body> | |
</s:Envelope> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment