| Name | JsonSchemaType | Description |
|---|---|---|
| authentication_type | enum of Era.Common.DataDefinition.Task.Server.SendWebhook_AuthenticationType | Type of authentication method (undefined means NO_AUTH) |
| basic_auth | reference to Era.Common.DataDefinition.Task.Server.SendWebhook_BasicAuth | Value of user credentials when authentication_type is BASIC_AUTH |
| bearer_token | string | Value of Bearer token when authentication_type is BEARER_TOKEN |
| json_body | string | JSON body of CUSTOM webhook POST request (undefined otherwise). |
| url | string | URL addres of webhook POST request |
| variables | reference to Era.Common.DataDefinition.Task.Server.SendWebhook_Variables | Customize content of webhoook with variables. |
| webhook_type | enum of Era.Common.DataDefinition.Task.Server.SendWebhook_WebhookType | Type of incoming webhook application |
{
"title": "Era.Common.DataDefinition.Task.Server.SendWebhook",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"required": [
"Era.Common.DataDefinition.Task.Server.SendWebhook"
],
"properties": {
"Era.Common.DataDefinition.Task.Server.SendWebhook": {
"$ref": "#/definitions/SendWebhook"
}
},
"definitions": {
"SendWebhook": {
"additionalProperties": false,
"required": [
"url",
"variables",
"webhook_type"
],
"type": "object",
"properties": {
"authentication_type": {
"enum": [
0,
1,
2
]
},
"basic_auth": {
"$ref": "Era.Common.DataDefinition.Task.Server.SendWebhook_BasicAuth#/definitions/SendWebhook_BasicAuth"
},
"bearer_token": {
"type": "string"
},
"json_body": {
"type": "string"
},
"url": {
"type": "string"
},
"variables": {
"$ref": "Era.Common.DataDefinition.Task.Server.SendWebhook_Variables#/definitions/SendWebhook_Variables"
},
"webhook_type": {
"enum": [
0,
1,
2
]
}
}
}
}
}