Asynchronous API for creating a new job by specifying the following parameters in the request body.
parameters in the request body:
| Parameter | Description | Type | Validation |
|--- |--- |--- | --- |
| objectives
* | List of all objectives within the job. | string | minItems: 1 |
| ㅤ↳objectiveRef
* | Reference IDs for individual objectives. | string | minLength: 4 maxLength: 36 |
| ㅤ↳workflow
* | Workflow ID. | string | minLength: 1 maxLength: 64 |
| ㅤ↳next
| Definition of what is next after this stop | array | |
| ㅤㅤㅤ↳code
| Event or Reason code | string | minLength: 4 maxLength: 36 |
| ㅤㅤㅤ↳nextObjective
* | Reference id for individual objectives or END
for last state | string | minLength: 4 maxLength: 36 |
This is required.*
HTTP Status Code Summary
| Code | Description |
| --- | ---- |
| 200 - OK | Everything worked as expected. |
| 400 - Bad Request | The request was unacceptable, often due to missing a required parameter. |
| 401 - Unauthorized | No valid API key provided. |
post https://{base_url}/core/api/v1/dispatch-service/job-workflows