Skip to main content
POST
Publish Workflow Draft

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

UUID of the organization

id
string
required

UUID of the workflow

Response

PublishWorkflowDraft 200 response

Response containing a workflow

id
string
required

The UUID of the entity.

version
integer<int64>

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
dtCreated
string<date-time>

The DateTime when this item was created (in ISO-8601 format).

dtLastModified
string<date-time>

The DateTime when this item was last modified (in ISO-8601 format).

createdBy
string

The ID of the user who created this item.

lastModifiedBy
string

The ID of the user who last modified this item.

name
string
description
string
code
string
active
boolean
trigger
object
functions
object[]
globalParameters
object[]
templateOverrides
object
enabled
boolean
validationErrors
object
currentVersion
integer<int32>
workflowVersion
integer<int32>
draft
boolean
useDraftVersion
boolean
versions
object[]
drafts
object[]