Dispatch Service
Dispatch

Create a new dispatch

1min
POST

Asynchronous API for creating a new dispatch by specifying the following parameters in the request body: | Parameter | Description | Type | Validation | |--- |--- |--- | --- | | dispatchRef* | External dispatch reference. | string | minLength: 4 maxLength: 36 | | jobs | Jobs to be completed in this dispatch. | | | | ㅤ↳JobId | Job ID. | string | minLength: 1 maxLength: 64 | | participants | Participants to be added in this dispatch. | | | | ㅤ↳ParticipantId | Participant ID | string | minLength: 1 maxLength: 64 | *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
*
X-COREOS-CALLBACK-SECRET
Body Parameters
body
*
Description
Create a new dispatch
dispatchRef
dispatchTypeName
dispatchTypeId
*
jobs
participants
customData
_event_meta
onRequest
onError
callback
Responses
202
OK
error
*
request
*
data
400
Error Occurred
error
*
request
*
401
Error Occurred
error
*
request
*
Curl
JS
Ruby
Python
Responses
202
400
401