Webhook payload options
search cancel

Webhook payload options

book

Article ID: 415048

calendar_today

Updated On:

Products

DX SaaS

Issue/Introduction

Webhooks is able to produce valid JSON with numeric and boolean values?

The JSON "checker" in the UI should support boolean / numeric. The replacement should populate null and not "NA", and add quotes to strings automatically. The interpolation of ${alarmUniqueId} should allow an option to quote strings, like ${alarmUniqueId;quoteString} but the quoteString interpolation function should not quote a null value.

 

Environment

DX SaaS

Resolution

You can use the "Advanced Payload Option" to add a Velocity template to the payload:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-operational-observability/saas/settings/alarms-alerting/connect-notification-channels/create-webhook-channel/velocity-framework.html

An Enhacement was raised in order to improve this usage to have mutiple entried and outputs