Guys I have couple of questions on ExactTarget SOAP requests, and hopefully you have the answer. Anyway thanks in advance for looking at the question.
1). My goal is to create a triggered send using ExactTarget and I believe this can be done using send_triggeredsend_email method in https://help.exacttarget.com/en/technical_library/web_service_guide/technical_articles/send_triggeredsend_email/.
Could you please correct me if I am wrong here.
- In order to fill the Definition_Key parameter in the request, I believe we should first send a request to creating_a_triggered_send_definition method.
But here I am constantly getting the following error. - Exception occurred during [CreateTriggeredSendDefinition] ErrorID: 852043495
Please find the request below. Please note here I uses the details retrieved from retrieving_dataextension_object method as customer key, etc.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://exacttarget.com/wsdl/partnerAPI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>XXXXX</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
<Options/>
<Objects xsi:type="TriggeredSendDefinition">
<SendClassification>
<PartnerKey xsi:nil="true"/>
<ObjectID>29767c11-2281-e411-aea6-38eaa71427a1</ObjectID>
<CustomerKey>testDataExtension</CustomerKey>
</SendClassification>
</Objects>
</CreateRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>