Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
SOLVED

POSTMAN GET to pull back html content

Avatar

Level 3

In ACS is there a GET or what would the path be to pull back say the transactional email event that was setup.

A get on the event that was create gives you history but how about the actual container(meaning email content) to parse variables in the email

 

1 Accepted Solution

Avatar

Correct answer by
Employee

You can get it using below request (access token to be passed for Authorization header in Postman).

Get template-id from the URL (Administrators > Marketing Plans > Transactional Messages > Transactional Messages > Select the template )

https://<instance-name>.campaign.adobe.com/rest/head/delivery/<tempate-id>/emailPreview/?variant=default

 

There is also an option (under Content Source) to get the template from AEM where you can parse and change i t programmatically as needed.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

You can get it using below request (access token to be passed for Authorization header in Postman).

Get template-id from the URL (Administrators > Marketing Plans > Transactional Messages > Transactional Messages > Select the template )

https://<instance-name>.campaign.adobe.com/rest/head/delivery/<tempate-id>/emailPreview/?variant=default

 

There is also an option (under Content Source) to get the template from AEM where you can parse and change i t programmatically as needed.