POST api/WebHookActions/SaveWebHookAction
Request Information
URI Parameters
None.
Body Parameters
WebhookActionSettingVMName | Description | Type | Additional information |
---|---|---|---|
ActionId | string |
None. |
|
IsExistingAction | boolean |
None. |
|
SaveActionForFuture | boolean |
None. |
|
ActionName | string |
None. |
|
BuilderElement | BuilderElements |
None. |
|
Webhook | ContactWebHookActionViewModel |
None. |
|
AccountId | string |
None. |
|
UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ActionId": "sample string 1", "IsExistingAction": true, "SaveActionForFuture": true, "ActionName": "sample string 4", "BuilderElement": "NA", "Webhook": { "Id": "sample string 1", "URL": "sample string 2", "WebHookId": "sample string 3" }, "AccountId": "sample string 5", "UserId": "sample string 6" }
application/xml, text/xml
Sample:
<WebhookActionSettingVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel"> <AccountId>sample string 5</AccountId> <ActionId>sample string 1</ActionId> <ActionName>sample string 4</ActionName> <BuilderElement>NA</BuilderElement> <IsExistingAction>true</IsExistingAction> <SaveActionForFuture>true</SaveActionForFuture> <UserId>sample string 6</UserId> <Webhook xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.ElementDesign"> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:URL>sample string 2</d2p1:URL> <d2p1:WebHookId>sample string 3</d2p1:WebHookId> </Webhook> </WebhookActionSettingVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.