notification:rest:template : The notification REST template object.

The notification REST template object represents settings of particular REST API template.

Object Reference

References to notification:rest:template are object references.

The name part of the notification:rest:template object reference has the following components:

  • The name of a template.
Example:
notification:rest:template/ b25lLnRlbXBsYXRlX3Jlc3RhcGkkc2V0dmVjdG9y:setvector

Restrictions

The object does not support the following operations:

  • Create (insert)
  • Global search (searches via the search object)
  • Scheduling
  • CSV export

The object cannot be managed on Cloud Platform members.

Fields

These fields are actual members of the object; thus, they can be requested by using _return_fields, if the fields are readable.

The basic version of the object contains the field(s): content, name.

action_name

action_name

The action name.

Type

String.

Search

The field is not available for search.

Notes

The action_name cannot be updated.

action_name cannot be written.

added_on

added_on

The time stamp when a template was added.

Type

Timestamp.

Search

The field is not available for search.

Notes

The added_on cannot be updated.

added_on cannot be written.

comment

comment

The comment for this REST API template.

Type

String.

Create

The default value is undefined.

Search

The field is not available for search.

content

content

The JSON formatted content of a template. The data passed by content creates parameters for a template.

Type

String.

Values with leading or trailing white space are not valid for this field.

Create

The default value is undefined.

Search

The field is not available for search.

Notes

The content is part of the base object.

event_type

event_type

The event type.

Type

Enum values array.

Valid values are:
  • ANALYTICS_DNS_TUNNEL
  • DB_CHANGE_DHCP_FIXED_ADDRESS_IPV4
  • DB_CHANGE_DHCP_FIXED_ADDRESS_IPV6
  • DB_CHANGE_DHCP_NETWORK_IPV4
  • DB_CHANGE_DHCP_NETWORK_IPV6
  • DB_CHANGE_DHCP_RANGE_IPV4
  • DB_CHANGE_DHCP_RANGE_IPV6
  • DB_CHANGE_DNS_DISCOVERY_DATA
  • DB_CHANGE_DNS_HOST_ADDRESS_IPV4
  • DB_CHANGE_DNS_HOST_ADDRESS_IPV6
  • DB_CHANGE_DNS_RECORD
  • DB_CHANGE_DNS_ZONE
  • DHCP_LEASE
  • DNS_RPZ
  • DXL_EVENT_SUBSCRIBER
  • SCHEDULE
  • SECURITY_ADP
  • SESSION

Search

The field is not available for search.

Notes

The event_type cannot be updated.

event_type cannot be written.

name

name

The name of a notification REST template.

Type

String.

Create

The default value is undefined.

Search

The field is available for search via

  • ‘:=’ (case insensitive search)
  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

Notes

The name is part of the base object.

outbound_type

outbound_type

The outbound type for the template.

Type

String.

Valid values are:
  • DXL
  • REST
  • SYSLOG

Search

The field is available for search via

  • ‘=’ (exact equality)

Notes

The outbound_type cannot be updated.

outbound_type cannot be written.

parameters

parameters

The notification REST template parameters.

Type

A/An Notification REST template parameter struct array.

Search

The field is not available for search.

Notes

The parameters cannot be updated.

parameters cannot be written.

template_type

template_type

The template type.

Type

String.

Valid values are:
  • REST_ENDPOINT
  • REST_EVENT

Search

The field is not available for search.

Notes

The template_type cannot be updated.

template_type cannot be written.

vendor_identifier

vendor_identifier

The vendor identifier.

Type

String.

Search

The field is not available for search.

Notes

The vendor_identifier cannot be updated.

vendor_identifier cannot be written.

Fields List

Field Type Req R/O Base Search
action_name String N Y N N/A
added_on Timestamp N Y N N/A
comment String N N N N/A
content String N N Y N/A
event_type [Enum] N Y N N/A
name String N N Y : = ~
outbound_type String N Y N =
parameters [struct] N Y N N/A
template_type String N Y N N/A
vendor_identifier String N Y N N/A