Use JSON result from rest API call with applytemplate function.
Summary:
Is there a way to use JSON result from rest API call with applytemplate function?
Based on help notes here is syntaxis for applytemplate(String templateFileLocation [, Dictionary payload [, String defaultErrorMessage[, Json jsonIdentifier]]]), I'm trying to use Json result from Api call as last parameter, but not able to pair with the values defined on my template, seems like result format doesn't match with the expected JSON format, also, not sure if it's possible to loop all the results into template.
Content (required):
Here is the example of what I'm getting from API:
"approval_history": [
{
"reasonName": null,
"actionPerformed": "Submit",
"performerComment": null,
0