Skip to content

Workflow Management API (0.0.4)

Overview

The Workflow Management REST APIs allow the creation of a workflow, and steps within the workflow. Steps, and split step options must be assigned actions that are already defined through the Enrollment Actions API. Please see that API for additional information. For split steps only the action definition is to be provided, but the options require a matching action type, and must be of type split.

Getting Started: Creating Workflows and Steps

1. Create a Workflow

To create a new workflow:

  1. Use POST /workflows with required fields: name, description
  2. Optionally specify allowedIps and disAllowedIps for network restrictions
  3. The workflow will be created with a status of work in progress
  4. Use PATCH /workflows/{workflowId} to update workflow properties

2. Create Steps

Steps define the user journey within a workflow:

  1. Start Step: Use POST /workflows/{workflowId}/steps to create the initial step
  2. Regular Steps: Create additional steps using POST /workflows/{workflowId}/steps/{stepId}
  3. Split Steps: Create branching logic using split steps with multiple options
  4. End Steps: Mark steps as terminating to end the workflow

3. Assign Actions to Steps

Each step requires an action definition:

  1. Query available actions using GET /workflowActionDefinitions
  2. Assign action by setting actionDefinitionId in the step
  3. For split steps, create options using POST /workflows/{workflowId}/steps/{stepId}/splitOptions
  4. Each split option must have a matching action type

4. Connect Steps in Sequence

Link steps together to create the workflow flow:

  1. Set nextStepId to connect steps in sequence
  2. Use POST /workflows/{workflowId}/steps/{stepId}/nextSteps/{detachedStepId} to attach steps
  3. For split steps, each option can lead to different next steps

5. Publish the Workflow

Make the workflow available to users:

  1. Use PATCH /workflows/{workflowId} with publishedDetails.status: 'PUBLISHED'
  2. The workflow must be valid before publishing
  3. Published workflows can be assigned to captive portal networks
Download OpenAPI description
Languages
Servers
RUCKUS One API host for North American region.
https://api.ruckus.cloud/
RUCKUS One API host for European region.
https://api.eu.ruckus.cloud/
RUCKUS One API host for Asian region.
https://api.asia.ruckus.cloud/

Workflow

Manages the workflows, including create, update and delete.

Operations

Steps

Manages the steps for the workflow.

Operations

Split Options

Manages the split options for split steps in a workflow.

Operations

Enrollment UI Configuration

Manages the enrollment configuration for the workflow.

Operations

Get Workflow's UI Configuration

Request

Retrieves the UI configuration for the specified workflow.

Path
workflowIdstring(uuid)required
No request payload

Responses

Success

Body
welcomeTitlestringnon-emptyrequired

The welcome title for the workflow UI.

welcomeNamestring

The welcome name for the workflow UI.

uiColorSchemaobject(UiColorSchema_v1_0)

The UI color schema.

uiStyleSchemaobject(UiStyleSchema_v1_0)

The UI style schema.

_linksobject(Links)
Response
{ "welcomeTitle": "string", "welcomeName": "string", "uiColorSchema": { "backgroundColor": "string", "lineColor": "string", "fontColor": "string", "fontHeaderColor": "string", "headerBarBackgroundColor": "string", "startOverFontColor": "string", "buttonColor": "string", "buttonFontColor": "string" }, "uiStyleSchema": { "logoImageFileName": "string", "backgroundImageName": "string", "iconImageName": "string", "fontName": "string", "wifi4EuNetworkId": "string", "logoSize": "SMALL", "disablePoweredBy": true, "headerFontSize": 14 }, "_links": { "property1": { … }, "property2": { … } } }

Update Workflows UI Configuration

Request

Initiates a request that will update the workflows UI configuration.

Path
workflowIdstring(uuid)required
Body
uiConfigurationobject(UiConfiguration_v1_0)required

The definition of the UI configuration for this workflow.

uiConfiguration.​welcomeTitlestringnon-emptyrequired

The welcome title for the workflow UI.

uiConfiguration.​welcomeNamestring

The welcome name for the workflow UI.

uiConfiguration.​uiColorSchemaobject(UiColorSchema_v1_0)

The UI color schema.

uiConfiguration.​uiStyleSchemaobject(UiStyleSchema_v1_0)

The UI style schema.

uiConfiguration.​_linksobject(Links)
backgroundImagestring(binary)
logoImagestring(binary)
iconImagestring(binary)
{
  "uiConfiguration": {
    "welcomeTitle": "string",
    "welcomeName": "string",
    "uiColorSchema": {
      "backgroundColor": "string",
      "lineColor": "string",
      "fontColor": "string",
      "fontHeaderColor": "string",
      "headerBarBackgroundColor": "string",
      "startOverFontColor": "string",
      "buttonColor": "string",
      "buttonFontColor": "string"
    },
    "uiStyleSchema": {
      "logoImageFileName": "string",
      "backgroundImageName": "string",
      "iconImageName": "string",
      "fontName": "string",
      "wifi4EuNetworkId": "string",
      "logoSize": "SMALL",
      "disablePoweredBy": true,
      "headerFontSize": 14
    },
    "_links": {
      "property1": {
        "href": "string",
        "hreflang": "string",
        "title": "string",
        "type": "string",
        "deprecation": "string",
        "profile": "string",
        "name": "string",
        "templated": true
      },
      "property2": {
        "href": "string",
        "hreflang": "string",
        "title": "string",
        "type": "string",
        "deprecation": "string",
        "profile": "string",
        "name": "string",
        "templated": true
      }
    }
  },
  "backgroundImage": "string",
  "logoImage": "string",
  "iconImage": "string"
}

Responses

Accepted

Body
requestIdstring

Unique identifier for the asynchronous request.

idstring

Optional resource ID returned after successful processing.

Response
{ "requestId": "string", "id": "string" }

Delete UI Configuration

Request

Deletes the custom settings on the UI configuration.

Path
workflowIdstring(uuid)required
No request payload

Responses

Accepted

Body
requestIdstring

Unique identifier for the asynchronous request.

idstring

Optional resource ID returned after successful processing.

Response
{ "requestId": "string", "id": "string" }

Get UI Configuration's Image

Request

Get UI configuration's image for the specified workflow and image type.

Path
workflowIdstring(uuid)required
imageTypestringrequired
Enum"backgroundImages""logoImages""IconImages"
No request payload

Responses

Success

Body
fileUrlstring

The URL of the image file.

Response
{ "fileUrl": "string" }

Action Definition

Manages the action definitions that can be used in workflow steps.

Operations