Hello,
I'm trying to parse json from webhook that look like this:
{
"type": "message",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "Reset",
"weight": "bolder",
"wrap": true
},
{
"type": "TextBlock",
"text": "FirstName LastName initiated reset of Disk Volume Free space for 'F:' is less than or equal to 15% from 2024-08-29T16:57:01Z to 2024-08-29T17:25:08Z",
"wrap": true
},
{
"type": "FactSet",
"facts": [
{
"title": "Organization:",
"value": "Test Org"
},
{
"title": "Location:",
"value": "Somewhere"
},
{
"title": "Device:",
"value": "GJO-1681"
},
{
"title": "Time:",
"value": "Aug 30, 2024, 11:24:17 AM"
}
]
}
]
}
}
]
}
And then post to teams channel as alert but since it nested heavily I can't get to information I need which is in "Body" array and unnamed object that contains Facts