Invoking workflow

Workflow events can be invoked using the following POST request.

POST /api/management/projects/{projectId}/entries/{entryId}/workflow/events

Parameters

Name Parameter type Type Format Description
projectId path string The project identifier, e.g. "movieDb". Found in the project overview screen of the management console
entryId path string The entry identifier
trigger body object WorkflowTrigger Details to invoke the workflow event

Example

POST: /api/management/projects/movieDb/entries/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c/workflow/events

{
    "language": "en-GB",
    "version": "2.3",
    "event": "draft.submit",
    "data": {
        "message": "Have updated the final paragrah"
    }
}

Response message

HTTP status code Reason Response model
200 Success Entry
401 Unauthorized Error
403 BadRequest Error
404 NotFound Error
500 InternalServerError Error

results matching ""

    No results matching ""