FireWebHook

FireWebHook

  • Method: POST.

Fires the target webhook on the provided content for testing purposes.

Request example:

POST /odata.svc/Root/...('targetContent')/FireWebHook
DATA:
models=[{
"nodeId": _value_,
"eventType": _value_
}]

The targetContent can be WebHookSubscription

Parameters:

  • nodeId (int): Target content identifier.
  • eventType (WebHookEventType): Event type to simulate. Can be one of the available events: All, Create, Delete, Modify, Approve, Reject, Draft, Pending, CheckOut, MoveToTrash, RestoreFromTrash

Return value:

The webhook subscription that was fired. (Type: Content).

Requirements:

  • AllowedRoles: Administrators