Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zuzannamj
Last active October 21, 2019 13:25
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 zuzannamj/21e7afd3d607e661e7c9541d2a3aa278 to your computer and use it in GitHub Desktop.
Save zuzannamj/21e7afd3d607e661e7c9541d2a3aa278 to your computer and use it in GitHub Desktop.
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header>
<fueloauth>YOUR_ACCESS_TOKEN</fueloauth>
</Header>
<Body>
<CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
<Objects xsi:type="TriggeredSend">
<PartnerKey xsi:nil="true"/>
<ObjectID xsi:nil="true"/>
<TriggeredSendDefinition>
<PartnerKey xsi:nil="true"/>
<ObjectID xsi:nil="true"/>
<CustomerKey>Definition_Key</CustomerKey>
</TriggeredSendDefinition>
<Subscribers>
<PartnerKey xsi:nil="true"/>
<ObjectID xsi:nil="true"/>
<EmailAddress>email@test.com</EmailAddress>
<SubscriberKey>email@test.com</SubscriberKey>
<Attributes>
<Name>firstname</Name>
<Value>John</Value>
</Attributes>
</Subscribers>
</Objects>
</CreateRequest>
</Body>
</Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment