POST /{id}/flows/new

Adds new flows to an application.

Resource Name: /applications/{id}/flows/new

Permissions Required:
  • Edit application
  • Create shared flow (only required when creating a shared flow)

Request URL Parameters:

Parameter

Type

Description

id

String

The application's revision ID.

Request Body:

A list of NewFlow (see NewFlow ) objects describing the flows to add to the application.

Application Validation:
  • Application does not exist.
  • Application is pending decommission/decommissioned.
Flow Validation:
  • Existing flow with the same name.
  • Application flow with missing mandatory fields.
  • Shared flow with empty source and empty destination.
  • Shared flow with empty source, but with a user.
  • Flow contains non-existing sources/destinations/network applications/services.
  • Flow contains an invalid custom field value.
  • Subscribed flow does not exist.
Return:

List of Flow (see Flow ) objects describing the flows with the updates you made.

 

â See also: