post https://sandbox-api.optimove.net/Integrations/AddChannelTemplates
Adds template IDs and associated names that will be associated with a specified channel ID.
Notes
- Available ChannelID values can be seen here, and you can also retrieve the available execution channel IDs and associated channel names using the GetExecutionChannels function.
- AppID is optional.
- If a TemplateID being added already exists, it will be replaced with the TemplateName specified in the call.
A maximum of 100 templates may be added with one call. - Once added, a template can be deleted by calling the DeleteChannelTemplates function.
- This function does not return a payload. A successful call will return a response code of 200 (success). Refer to an explanation of the other possible response codes at Function Error Response Codes.
Sample Request
https://apiX.optimove.net/current/integrations/AddChannelTemplates?ChannelID=3
[
{"TemplateID":1,"TemplateName":"Welcome Back English"},
{"TemplateID":2,"TemplateName":"Welcome Back Spanish","AppID":"app123"}
]
Sample Response
None