Events method
POST /v1/Webhooks/{webhookId}/Test
Call a webhook using a test event. The event will not get stored or be retrievable through the EventAPI.
Uri parameters
| Name | Description | Type | Additional description |
|---|---|---|---|
| webhookId | The webhook id | uuid | Required |
Body parameters
None
Request sample:
None
Response sample:
200
Test sent to webhook d2610bd0-d5dc-40e1-abbb-920cac22ed5a. Uuid of event: 'ccea67f6-4ded-41b7-806f-1d9b2c165549'
400
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occured",
"state": 400,
"traceId": null,
"errors": {
"request": [
"The parcel number cannot be empty"
]
}
}
401
Access denied
403
Forbidden