How to reuse dynamic content parser in Dynamics Marketing for your channels?

dynamiccontentOne of my customers asked if it is possible to reuse the standard dynamics pacer for e-mails on some other channel. They wanted to use SMS, and it would be great to reuse existing functionality which users know and use. I did some research and will provide the API call which you can use to implement a dynamic content parser for your own channels.

Disclaimer: Some of the APIs provided in this article are not officially supported so that they might be changed without prior notice. Please use them on your own risk.

Here is an example of this API call:

Code is quite simple. You need to provide several parameters like contact which will be used as a context for this request, Id of your content settings entity and text which parser will try to parse.

Here is how response looks like:

resultjson

You can quickly parse this JSON using any JSON parser.

Leave a Reply