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-07-06T20:15:11.8735388+03:00", "JsonPathFilter": "sample string 3", "StartDateUtc": "2025-07-06T20:15:11.8735388+03:00", "SubscriptionId": "614bd3fb-312f-44b5-b15b-3b4006e932a3", "TargetEndpointUri": "sample string 6", "WebhookEventId": "1798430c-32b7-4de8-ad3f-9d5957fcb912" }
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-07-06T20:15:11.8735388+03:00</EndDateUtc> <JsonPathFilter>sample string 3</JsonPathFilter> <StartDateUtc>2025-07-06T20:15:11.8735388+03:00</StartDateUtc> <SubscriptionId>614bd3fb-312f-44b5-b15b-3b4006e932a3</SubscriptionId> <TargetEndpointUri>sample string 6</TargetEndpointUri> <WebhookEventId>1798430c-32b7-4de8-ad3f-9d5957fcb912</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.