I have created a email template in ExactTarget API and I want to use it executing XML from SoapUI.
Is there any tutorial or examples of how can this be done?
I'm new at this and I'm not sure how ExactTarget really works.
The method in the API that you will want to use will depend on the type of email that is being sent. If you are looking to send a marketing email to a list of subscribers then you could use the EmailSendDefinition object or the Send object.
Send Object - It is a simple way to perform a send to a list:
EmailSendDefinition - Can be used for more advanced scenarios such as sending to data extensions:
Alternatively, if you are looking to send transactional ad-hoc type emails (For example a confirmation email after a purchase), then a TriggeredSend would want to be used:
In order to send with a template in ExactTarget - you would need to follow the documentation here. At the bottom there is a section on "Creating an Email Message Using a Template".
In that section, notice that the SOAP packet sets the template up. In order to get that template, you will first need to retrieve the template object
When sending email strictly through the API, using templates is not really required, and slightly cumbersome. Using templates to create templates for future usage in the UI is ideal, but when performing sends through the API only, sending your HTML through directly is the best approach.
I built a Nuget package to create emails from Templates. You can view source code here of how I build up the XML and do something similar.
Project site here: https://github.com/alwynlombaard/exacttarget-email-from-template-creator
Hope this helps