Skip to main content
POST
Create RecordCreationWorkflowVersion
A mutable draft or immutable published version of a record creation workflow.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the RecordCreationWorkflowVersion-Create role.

Request Body

Required Fields

integer
required
Workflow that owns this version.
integer
required
Monotonic version number within the workflow.
integer
required
Version of the persisted workflow document contract.
string
required
Full JSON workflow document.
string
required
Deterministic hash of the workflow document.

Optional Fields

boolean
Whether this version remains mutable.
string
Last validation result for diagnostics.
string
Date and time this immutable version was published.
integer
User who published this version.
string
Optimistic concurrency token changed on every draft save.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the recordcreationworkflowversion was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response