HTTP Post this in the body to a MS Teams webhook URL with Content-Type is application/json:
{
"@@type": "MessageCard",
"@@context": "http://schema.org/extensions",
"originator": "<GUIDHERE>",
"summary": "Customer Satisfaction Survey Company X",
"title": "Are you satisfied with our handling of incident number * 92138749247*?",
"text": "We would like to hear whether you're satisfied with our handling of this incident",
"themeColor": "E81123",
"sections": [
{
"potentialAction": [
{
"@@type": "HttpPOST",
"name": "Bad!",
"target": @{outputs('UrlSlecht')},
"headers": [
{
"name": "Authorization",
"value": ""
}
]
},
{
"@@type": "HttpPOST",
"name": "Great!",
"target": @{outputs('UrlGoed')},
"headers": [
{
"name": "Authorization",
"value": ""
}
]
}
]
},
{
"startGroup": true,
"title": "**Disclaimer**",
"text": "CompanyX.2018"
}
]
}