Sha256: adedc7f58875daeb385f2d5b6bd04ad76be684237221c1b9e889ac46d59fbac7

Contents?: true

Size: 1.88 KB

Versions: 3

Compression:

Stored size: 1.88 KB

Contents

# TalonOne::Webhook

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Integer** | Internal ID of this entity. | 
**created** | **DateTime** | The time this entity was created. | 
**modified** | **DateTime** | The time this entity was last modified. | 
**application_ids** | **Array<Integer>** | The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. | 
**title** | **String** | Name or title for this webhook. | 
**verb** | **String** | API method for this webhook. | 
**url** | **String** | API URL (supports templating using parameters) for this webhook. | 
**headers** | **Array<String>** | List of API HTTP headers for this webhook. | 
**payload** | **String** | API payload (supports templating using parameters) for this webhook. | [optional] 
**params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions. | 
**enabled** | **Boolean** | Enables or disables webhook from showing in the Rule Builder. | 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::Webhook.new(id: 6,
                                 created: 2020-06-10T09:05:27.993483Z,
                                 modified: 2021-09-12T10:12:42Z,
                                 application_ids: null,
                                 title: Send message,
                                 verb: POST,
                                 url: www.my-company.com/my-endpoint-name,
                                 headers: [{"Authorization": "Basic bmF2ZWVua3VtYXIU="}, {"Content-Type": "application/json"}],
                                 payload: {
	"message": "${message}"
},
                                 params: [],
                                 enabled: true)
```


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
talon_one-5.0.0 docs/Webhook.md
talon_one-3.0.2 docs/Webhook.md
talon_one-3.0.1 docs/Webhook.md