Added dynamic enum values for webhook events & enhancements (Almabase July 2021 updates) (#962)
* Added dynamic enum values for webhook events * Added gift medata to easily add gifts * Renamed the email address id to id
This commit is contained in:
Родитель
1e1095b052
Коммит
17279c12f0
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -41,10 +41,9 @@
|
|||
},
|
||||
{
|
||||
"templateId": "routerequesttoendpoint",
|
||||
"title": "Redirect to Webhook Management API to create Form Webhook",
|
||||
"title": "Redirect to Webhook Management API to create customform webhook",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"FormEntryCreatedWebhook",
|
||||
"FormEntryCreateOrUpdateWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
||||
|
@ -53,10 +52,9 @@
|
|||
},
|
||||
{
|
||||
"templateId": "SetProperty",
|
||||
"title": "Add webhook version",
|
||||
"title": "Add webhook version for customform",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"FormEntryCreatedWebhook",
|
||||
"FormEntryCreateOrUpdateWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body()",
|
||||
|
@ -67,10 +65,9 @@
|
|||
},
|
||||
{
|
||||
"templateId": "SetProperty",
|
||||
"title": "Add webhook http method",
|
||||
"title": "Add webhook http method for customform",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"FormEntryCreatedWebhook",
|
||||
"FormEntryCreateOrUpdateWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body()",
|
||||
|
@ -81,10 +78,9 @@
|
|||
},
|
||||
{
|
||||
"templateId": "SetProperty",
|
||||
"title": "Add webhook source",
|
||||
"title": "Add webhook source for customform",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"FormEntryCreatedWebhook",
|
||||
"FormEntryCreateOrUpdateWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body()",
|
||||
|
@ -95,10 +91,9 @@
|
|||
},
|
||||
{
|
||||
"templateId": "SetProperty",
|
||||
"title": "Add webhook content type",
|
||||
"title": "Add webhook content type for customform",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"FormEntryCreatedWebhook",
|
||||
"FormEntryCreateOrUpdateWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body()",
|
||||
|
@ -136,11 +131,10 @@
|
|||
},
|
||||
{
|
||||
"templateId": "routerequesttoendpoint",
|
||||
"title": "Redirect to Webhook Management API to create Giving Webhook",
|
||||
"title": "Redirect to Webhook Management API to create giving webhook",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"GiftSucceededWebhook",
|
||||
"GiftFailedWebhook"
|
||||
"GiftSucceededOrFailedWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
||||
"x-ms-apimTemplateParameter.newPath": "/v1/webhooks/"
|
||||
|
@ -148,11 +142,10 @@
|
|||
},
|
||||
{
|
||||
"templateId": "SetProperty",
|
||||
"title": "Add webhook version",
|
||||
"title": "Add webhook version for giving",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"GiftSucceededWebhook",
|
||||
"GiftFailedWebhook"
|
||||
"GiftSucceededOrFailedWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body()",
|
||||
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "version",
|
||||
|
@ -162,11 +155,10 @@
|
|||
},
|
||||
{
|
||||
"templateId": "SetProperty",
|
||||
"title": "Add webhook http method",
|
||||
"title": "Add webhook http method for giving",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"GiftSucceededWebhook",
|
||||
"GiftFailedWebhook"
|
||||
"GiftSucceededOrFailedWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body()",
|
||||
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "method",
|
||||
|
@ -176,11 +168,10 @@
|
|||
},
|
||||
{
|
||||
"templateId": "SetProperty",
|
||||
"title": "Add webhook source",
|
||||
"title": "Add webhook source for giving",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"GiftSucceededWebhook",
|
||||
"GiftFailedWebhook"
|
||||
"GiftSucceededOrFailedWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body()",
|
||||
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "source",
|
||||
|
@ -190,11 +181,10 @@
|
|||
},
|
||||
{
|
||||
"templateId": "SetProperty",
|
||||
"title": "Add webhook content type",
|
||||
"title": "Add webhook content type for giving",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"GiftSucceededWebhook",
|
||||
"GiftFailedWebhook"
|
||||
"GiftSucceededOrFailedWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body()",
|
||||
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "content_type",
|
||||
|
@ -217,7 +207,7 @@
|
|||
},
|
||||
{
|
||||
"templateId": "setQueryParameter",
|
||||
"title": "Set skip_pagination query parameter for forms",
|
||||
"title": "Set skip_pagination query parameter for almasights",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"ListTouchpointTypes",
|
||||
|
@ -227,16 +217,6 @@
|
|||
"x-ms-apimTemplateParameter.value": "True",
|
||||
"x-ms-apimTemplateParameter.existsAction": "override"
|
||||
}
|
||||
},
|
||||
{
|
||||
"templateId": "dynamichosturl",
|
||||
"title": "Route to delete webhook domain",
|
||||
"parameters": {
|
||||
"x-ms-apimTemplate-operationName": [
|
||||
"DeleteWebhook"
|
||||
],
|
||||
"x-ms-apimTemplateParameter.urlTemplate": "@connectionParameters('domain_url')/"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче