Creates A workflow subscription

Creates A workflow subscription

Creates a workflow subscription

Request
URI
POST
https://{api_host}/advanced-designer-service/api/event-broker/subscriptions
COPY
Request Body

The workflow subscription to create

WorkflowSubscription of type(s) application/json
Required

Show optional properties

{
    "workflowId": "string",
    "status": "string"
}
{
    "criteria": {},
    "description": "string",
    "eventTopicId": "string",
    "priority": 0,
    "failOnError": false,
    "version": {
        "major": 0,
        "minor": 0,
        "micro": 0,
        "version": "string",
        "revision": 0
    },
    "timeout": 0,
    "blocking": false,
    "tenantId": "string",
    "name": "string",
    "statusName": "string",
    "id": "string",
    "reply": false,
    "workflowId": "string",
    "status": "string"
}
object
criteria
Optional

criteria

string
description
Optional
Constraints: minLength: 0 maxLength: 2000

description

string
eventTopicId
Optional

eventTopicId

integer As int32 As int32
priority
Optional
Constraints: minimum: 0

priority

boolean
failOnError
Optional

failOnError

object
version
Optional

version

integer As int32 As int32
timeout
Optional

timeout

boolean
blocking
Optional

blocking

string
tenantId
Optional
Constraints: minLength: 1 maxLength: 255

tenantId

string
name
Optional
Constraints: minLength: 0 maxLength: 255

name

string
statusName
Optional

statusName

string As uuid As uuid
id
Optional

id

boolean
reply
Optional

reply

string
workflowId
Required
Constraints: minLength: 0 maxLength: 255

workflowId

string
status
Required

status

Possible values are : DRAFT, PUBLISHED, RETIRED,
Responses
200

successful operation

Operation doesn't return any data structure

201
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"status:"string","workflowId:"string"}' https://{api_host}/advanced-designer-service/api/event-broker/subscriptions