Class WebhookTestRequest
Webhook test
[DataContract]
public class WebhookTestRequest
- Inheritance
-
WebhookTestRequest
- Inherited Members
Properties
AlertTypeId
The type of alert which the test webhook will send. Optional. Defaults to power_supply_down
[ApiAccess(ApiAccess.Create)]
[DataMember(Name = "alertTypeId")]
public string? AlertTypeId { get; set; }
Property Value
PayloadTemplateId
The ID of the payload template of the test webhook. Defaults to the HTTP server's template ID if one exists for the given URL, or Generic template ID otherwise
[ApiAccess(ApiAccess.Create)]
[DataMember(Name = "payloadTemplateId")]
public string? PayloadTemplateId { get; set; }
Property Value
PayloadTemplateName
The name of the payload template.
[ApiAccess(ApiAccess.Create)]
[DataMember(Name = "payloadTemplateName")]
public string? PayloadTemplateName { get; set; }
Property Value
SharedSecret
The shared secret the test webhook will send. Optional. Defaults to an empty string.
[ApiAccess(ApiAccess.Create)]
[DataMember(Name = "sharedSecret")]
public string SharedSecret { get; set; }
Property Value
Url
The URL where the test webhook will be sent
[ApiAccess(ApiAccess.Create)]
[DataMember(Name = "url")]
public string Url { get; set; }