Are Dynamic Variables supported in Data Insertion API?

Dynamic Variables are supported within the <XML> tags in the Data Insertion API. It will behave exactly in the same way as seen in case of Javascript implementation.

Example code:

<evar1>D=pageName</evar1>

The above code will copy the value of pageName and populate it in evar1.

 

Dynamic Variables reference: https://marketing.adobe.com/resources/help/en_US/sc/implement/dynvars_overview.html