Create a Notification Template
post
                    /api/notification/Templates
Creates a new notification template.
The minimum required properties in the request body are:
                The minimum required properties in the request body are:
- ProfileTypeID
- TemplateName
Request
There are no request parameters for this operation.
Supported Media Types
                            - application/json
Nested Schema : notificationTemplatesCreate
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    EmailBody: string
                    
                    
                     
                    
                
                
                Email message bodyExample:Example Email Message Body
- 
                
                    
                    EmailFrom: string
                    
                    
                     
                    
                
                
                Sender email addressExample:example@example.com
- 
                
                    
                    EmailSubject: string
                    
                    
                     
                    
                
                
                Email subjectExample:Example Email Subject
- 
                
                    
                    ProfileTypeID: integer
                    
                    
                     
                    
                
                
                Profile Type IDExample:1
- 
                
                    
                    ProfileTypeName: string
                    
                    
                     
                    
                
                
                Profile Type NameExample:Syslog
- 
                
                    
                    TemplateDescription: string
                    
                    
                     
                    
                
                
                Template DescriptionExample:This is an example Template Description
- 
                
                    
                    TemplateName: string
                    
                    
                     
                    
                
                
                The template name.
 To avoid confusion with numeric IDs, the name value cannot be integers only or integers prefixed with the + or - symbols only. It must contain letters or other characters. For example, 1234, +1234, and -1234 are not valid, but US1234, US+1234 and US_1234 are.Example:Template1
Response
Supported Media Types
                - application/json
200 Response
Successful operation
                            
                            
                                Root Schema : schema
    
    	
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Match All
    
        
    
        
    
    Show Source
    - 
                
                object 
                
                
             SuccessfulAddOperation
                
            The response body for a successful add operation.
- 
                
                object 
                
                
             type
                
            
Nested Schema : SuccessfulAddOperation
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe response body for a successful add operation.
    
    
    
    
        Show Source
        - 
                
                    
                    message: string
                    
                    
                     
                    
                
                
                The response message.Example:Added record
- 
                
                    
                    success: boolean
                    
                    
                     
                    
                
                
                Whether the operation was a success (true) or a failure (false).Example:true
Nested Schema : type
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    data: array
                    
                    
                
                
                    data
                
                
                
- 
                
                    
                    total: integer
                    
                    
                     
                    
                
                
                The total number of results regardless of paging.Example:1
Nested Schema : notificationTemplatesRead
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    EmailBody: string
                    
                    
                     
                    
                
                
                Email message bodyExample:Attached is a report from Unified Assurance.
- 
                
                    
                    EmailFrom: string
                    
                    
                     
                    
                
                
                Sender email addressExample:example@example.com
- 
                
                    
                    EmailSubject: string
                    
                    
                     
                    
                
                
                Email subjectExample:Unified Assurance Report: 1234
- 
                
                    
                    EnterpriseID: string
                    
                    
                     
                    
                
                
                Enterprise OIDExample:
- 
                
                    
                    ProfileTypeID: integer
                    
                    
                     
                    
                
                
                Profile Type IDExample:1
- 
                
                    
                    ProfileTypeName: string
                    
                    
                     
                    
                
                
                Profile Type NameExample:Syslog
- 
                
                    
                    SNMPVersion: integer
                    
                    
                     
                    
                
                
                SNMP VersionExample:
- 
                
                    
                    Syslog: string
                    
                    
                     
                    
                
                
                Syslog log message templateExample:$DATE_EPOCH|$MESSAGE|$DNS|$IP|$INSTANCE|$VALUE|$UTIL|$TYPE|$POLLER|$SAMPLERATE|$COMPARE|$STATUS|$METRICID|$STATE|$DEVICENAME
- 
                
                    
                    TemplateDescription: string
                    
                    
                     
                    
                
                
                Template DescriptionExample:This is an example Template Description
- 
                
                    
                    TemplateID: integer
                    
                    
                     
                    
                
                
                ID of Notification TemplateExample:1
- 
                
                    
                    TemplateName: string
                    
                    
                     
                    
                
                
                Name of Notification TemplateExample:Template1
- 
                
                    
                    Trap_OID0: string
                    
                    
                     
                    
                
                
                Trap OID 0Example:
- 
                
                    
                    Trap_OID1: string
                    
                    
                     
                    
                
                
                Trap OID 1Example:
- 
                
                    
                    Trap_OID2: string
                    
                    
                     
                    
                
                
                Trap OID 2Example:
- 
                
                    
                    Trap_OID3: string
                    
                    
                     
                    
                
                
                Trap OID 3Example:
- 
                
                    
                    Trap_OID4: string
                    
                    
                     
                    
                
                
                Trap OID 4Example:
- 
                
                    
                    Trap_OID5: string
                    
                    
                     
                    
                
                
                Trap OID 5Example:
- 
                
                    
                    Trap_OID6: string
                    
                    
                     
                    
                
                
                Trap OID 6Example:
- 
                
                    
                    Trap_OID7: string
                    
                    
                     
                    
                
                
                Trap OID 7Example:
- 
                
                    
                    Trap_OID8: string
                    
                    
                     
                    
                
                
                Trap OID 8Example:
- 
                
                    
                    Trap_OID9: string
                    
                    
                     
                    
                
                
                Trap OID 9Example:
- 
                
                    
                    Trap_Value0: string
                    
                    
                     
                    
                
                
                Trap Value 0Example:
- 
                
                    
                    Trap_Value1: string
                    
                    
                     
                    
                
                
                Trap Value 1Example:
- 
                
                    
                    Trap_Value2: string
                    
                    
                     
                    
                
                
                Trap Value 2Example:
- 
                
                    
                    Trap_Value3: string
                    
                    
                     
                    
                
                
                Trap Value 3Example:
- 
                
                    
                    Trap_Value4: string
                    
                    
                     
                    
                
                
                Trap Value 4Example:
- 
                
                    
                    Trap_Value5: string
                    
                    
                     
                    
                
                
                Trap Value 5Example:
- 
                
                    
                    Trap_Value6: string
                    
                    
                     
                    
                
                
                Trap Value 6Example:
- 
                
                    
                    Trap_Value7: string
                    
                    
                     
                    
                
                
                Trap Value 7Example:
- 
                
                    
                    Trap_Value8: string
                    
                    
                     
                    
                
                
                Trap Value 8Example:
- 
                
                    
                    Trap_Value9: string
                    
                    
                     
                    
                
                
                Trap Value 9Example:
Default Response
Failed operation
                            
                            
                                Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    errors: array
                    
                    
                
                
                    errors
                
                
                The list of errors reported. Validation errors will be keyed by record field.
- 
                
                    
                    message: string
                    
                    
                     
                    
                
                
                The response message.Example:Exception thrown
- 
                
                    
                    success: boolean
                    
                    
                     
                    
                
                
                Whether the operation was a success (true) or a failure (false).Example:false
Nested Schema : errors
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayThe list of errors reported. Validation errors will be keyed by record field.
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  items
            
            An error.
Nested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectAn error.