POST api/SaveWebhookSettings
Request Information
URI Parameters
None.
Body Parameters
WebhookModel| Name | Description | Type | Additional information |
|---|---|---|---|
| department | string |
None. |
|
| requestFrom | string |
None. |
|
| event | Event |
None. |
|
| target | string |
None. |
|
| name | string |
None. |
|
| authentication | Authentication |
None. |
Request Formats
application/json, text/json
Sample:
{
"department": "sample string 1",
"requestFrom": "sample string 2",
"event": {
"recalled": true,
"declined": true,
"completion": true,
"signedReviewed": true,
"customStatus": true
},
"target": "sample string 3",
"name": "sample string 4",
"authentication": {
"type": "sample string 1",
"username": "sample string 2",
"password": "sample string 3"
}
}
application/xml, text/xml
Sample:
<WebhookModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<department>sample string 1</department>
<requestFrom>sample string 2</requestFrom>
<events>
<recalled>true</recalled>
<declined>true</declined>
<completion>true</completion>
<signedReviewed>true</signedReviewed>
<customStatus>true</customStatus>
</events>
<target>sample string 3</target>
<name>sample string 4</name>
<authentication>
<type>sample string 1</type>
<username>sample string 2</username>
<password>sample string 3</password>
</authentication>
</WebhookModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnObjectOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Messages | Collection of string |
None. |
|
| ErrorCode | integer |
None. |
|
| Response | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Messages": [
"sample string 1",
"sample string 2"
],
"ErrorCode": 2,
"Response": 3
}
application/xml, text/xml
Sample:
<ReturnObjectOfInt32 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<IsSuccess>true</IsSuccess>
<Messages>
<string>sample string 1</string>
<string>sample string 2</string>
</Messages>
<ErrorCode>2</ErrorCode>
<Response>3</Response>
</ReturnObjectOfInt32>