Created
June 14, 2023 23:29
-
-
Save jacksonpchen/1397f7e3041fd746f61bfba38d2b0405 to your computer and use it in GitHub Desktop.
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> | |
<fueloauth xmlns="http://exacttarget.com">[access_token_here]</fueloauth> | |
</s:Header> | |
<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> | |
<RetrieveRequest> | |
<ObjectType>DataExtensionField</ObjectType> | |
<Properties>Name</Properties> | |
<Properties>ObjectID</Properties> | |
<Filter xmlns:ns1="http://exacttarget.com/wsdl/partnerAPI" xsi:type="ns1:ComplexFilterPart"> | |
<LeftOperand xsi:type="ns1:SimpleFilterPart"> | |
<Property>DataExtension.CustomerKey</Property> | |
<SimpleOperator>equals</SimpleOperator> | |
<Value>[external_key_of_data_extension]</Value> | |
</LeftOperand> | |
<LogicalOperator>AND</LogicalOperator> | |
<RightOperand xsi:type="ns1:SimpleFilterPart"> | |
<Property>DataExtensionField.Name</Property> | |
<SimpleOperator>equals</SimpleOperator> | |
<Value>[name_of_data_extension_field]</Value> | |
</RightOperand> | |
</Filter> | |
</RetrieveRequest> | |
</RetrieveRequestMsg> | |
</s:Body> | |
</s:Envelope> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment