@Mohamed Faizal S Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
You can achieve this by using either of this of two ways.
- Using body function expressions in logic apps.
- Applying Parse JSON and using the initialize variable pulling specific property from the HTTP response output.
Suppose for example, if the output of my HTTP POST request is below JSON and if I want to pull the "value" property and store it in the data variable.
{
"Count": 11,
"Coverage": null,
"Facets": {
"ChannelDisplayName": [{
"Type": 0,
"from": null,
"to": null,
"value": "Microsoft Q&A",
"count": 11
}]
}
}
- If you are using body functions expression, then you need to use this expression
body('actionname')?['Facets']?['ChannelDisplayName']?[0]?['value']
to pull thevalue
property value. - If you are using Parse JSON action, it will be a tokenized value as shown below.
Feel free to reach back to me if you have any further questions on this.