POST api/v1/Webhooks/Subscriptions
Adds new webhook subscription
Request Information
URI Parameters
None.
Body Parameters
AddOrUpdateSubscriptionName | Description | Type | Additional information |
---|---|---|---|
CustomHeader | string |
None. |
|
EndDateUtc | date |
None. |
|
JsonPathFilter | string |
None. |
|
StartDateUtc | date |
None. |
|
SubscriptionId | globally unique identifier |
None. |
|
TargetEndpointUri | string |
None. |
|
WebhookEventId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomHeader": "sample string 1", "EndDateUtc": "2025-09-14T09:57:52.6715783+03:00", "JsonPathFilter": "sample string 3", "StartDateUtc": "2025-09-14T09:57:52.6715783+03:00", "SubscriptionId": "61d162e8-2baa-45f1-b6ba-ca5ed8a2334a", "TargetEndpointUri": "sample string 6", "WebhookEventId": "617dc95b-a1f3-4521-8520-1e37e14e0acf" }
application/xml, text/xml
Sample:
<AddOrUpdateSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iloq.manager.server.bus.webhookservicews.Parameters"> <CustomHeader>sample string 1</CustomHeader> <EndDateUtc>2025-09-14T09:57:52.6715783+03:00</EndDateUtc> <JsonPathFilter>sample string 3</JsonPathFilter> <StartDateUtc>2025-09-14T09:57:52.6715783+03:00</StartDateUtc> <SubscriptionId>61d162e8-2baa-45f1-b6ba-ca5ed8a2334a</SubscriptionId> <TargetEndpointUri>sample string 6</TargetEndpointUri> <WebhookEventId>617dc95b-a1f3-4521-8520-1e37e14e0acf</WebhookEventId> </AddOrUpdateSubscription>
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.