Sha256: 5af4459c312ea1c6647682b74580be9ff3c49e01c11f355b4b46c41c48e9ff46

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 KB

Contents

# TalonOne::OutgoingIntegrationTemplate

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Integer** | Unique ID for this entity. | 
**integration_type** | **Integer** | Unique ID of outgoing integration type. | 
**title** | **String** | The title of the integration template. | 
**description** | **String** | The description of the specific outgoing integration template. | 
**payload** | **String** | The API payload (supports templating using parameters) for this integration template. | 
**method** | **String** | API method for this webhook. | 
**relative_url** | **String** | The relative URL corresponding to each integration template. | 
**headers** | **Array<String>** | The list of HTTP headers for this integration template. | 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::OutgoingIntegrationTemplate.new(id: 6,
                                 integration_type: 2,
                                 title: Email coupon codes,
                                 description: This template sends a coupon code to the specified audience by email.,
                                 payload: {
	"message": "${message}"
},
                                 method: POST,
                                 relative_url: /campaigns/trigger/send,
                                 headers: [{"Content-Type": "application/json"}])
```


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
talon_one-7.0.0 docs/OutgoingIntegrationTemplate.md
talon_one-6.0.0 docs/OutgoingIntegrationTemplate.md
talon_one-5.0.0 docs/OutgoingIntegrationTemplate.md