Dispatch Service
Job Workflow

Create a new job workflow draft

1min
POST

Asynchronous API for creating a new job workflow draft by specifying the following parameters in the request body. parameters in the request body:**

ParameterDescriptionTypeValidation
objectives*List of all objectives within the job.stringminItems: 1
ㅤ↳objectiveRef*Reference IDs for individual objectives.stringminLength: 4 maxLength: 36
ㅤ↳workflow*Workflow ID.stringminLength: 1 maxLength: 64
ㅤ↳next*Definition of what is next after this stoparray
ㅤㅤㅤ↳code*Event or Reason codestringminLength: 4 maxLength: 36
ㅤㅤㅤ↳nextObjective*Reference id for individual objectives or END for last statestringminLength: 4 maxLength: 36
*This is required.
HTTP Status Code Summary
CodeDescription
200 - OKEverything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid API key provided.
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
*
Body Parameters
body
*
Description
Job workflow draft create request
name
*
description
start
objectives
tag
_event_meta
Responses
201
OK
error
*
request
*
data
400
Error Occurred
error
*
request
*
401
Error Occurred
error
*
request
*
Curl
JS
Ruby
Python
Responses
201
400
401