Execute Workflow as an API (POST)
Select
Customer Managed
This operation executes a workflow that looks like an API to the caller.
Path Parameters
- workflowname string required
Name of the workflow to execute
- application/json
Request Body
- ClientGroupName string
ClientGroupName if the workflow needs
- ClientName string
ClientName as input if workflow needs
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- jobId integer
- processId integer
{
"jobId": 0,
"processId": 0
}
{
"jobId": 1265066,
"processId": 1265066
}
POST /wapi/:workflowname
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/wapi/:workflowname' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ClientGroupName": "string",
"ClientName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/wapi/:workflowname' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ClientGroupName": "string",
"ClientName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/wapi/:workflowname' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ClientGroupName": "string",
"ClientName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/wapi/:workflowname' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ClientGroupName": "string",
"ClientName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/wapi/:workflowname' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ClientGroupName": "string",
"ClientName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/wapi/:workflowname' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ClientGroupName": "string",
"ClientName": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/wapi/:workflowname' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ClientGroupName": "string",
"ClientName": "string"
}'