POST api/webhook?relationId={relationId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| relationId | integer |
Default value is -1 |
Body Parameters
SetWebhookRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductUrl | string |
None. |
|
| Url | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductUrl": "sample string 1",
"Url": "sample string 2"
}
application/xml, text/xml
Sample:
<SetWebhookRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ecowave_WebAPI.Models"> <ProductUrl>sample string 1</ProductUrl> <Url>sample string 2</Url> </SetWebhookRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SetWebhookResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<SetWebhookResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcowaveWebApiServices.Models"> <Message>sample string 2</Message> <Success>true</Success> </SetWebhookResponse>