Creates a subscription for the trigger

Creates a subscription for the trigger

SecurityBearerAuth or ApiKeyAuth
Request
path Parameters
km_id
required
string
Example: open-purchase-requisition.purchase-requisition-kms
trigger_id
required
string
Example: abc-123-efg-456
Request Body schema: application/json

Subscription's details

name
required
string [ 1 .. 1024 ] characters

Name for the subscription

required
object (Callback Information)
Responses
201

Id of the created subscription

400

Bad Request.

401

Unauthorized access.

403

Forbidden.

404

The specified resource was not found

500

Internal Server Error.

503

Service Unavailable.

post/api/knowledge-models/{km_id}/triggers/{trigger_id}/subscriptions
Request samples
application/json
{
  • "name": "My Subscription to XYZ",
  • "callbackInfo": {}
}
Response samples
application/json
{
  • "id": 123
}