Create a delivery job

POST {{baseUrl}}/deliveryJobs

Creates a delivery job. A delivery job is used to send an MQTT command to a list of clients for execution. The following validations are performed when a delivery job is created.

  1. The provided clients must be valid.
  2. Maximum number of clients can be 20 in a delivery job.
  3. Command data size is restricted to 10kB.

Request Body

{"name"=>"<string>", "clientIds"=>["<string>", "<string>"], "data"=>{"veniam5"=>"<string>"}, "createdBy"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;21349765fe45652c8e126814c283a114&quot;,&quot;name&quot;:&quot;firmware update&quot;,&quot;clientIds&quot;:[&quot;mytenant_201541ad38a4495a96e2021c762b647f&quot;,&quot;mytenant_201541ad38a4495a96e2021c762b647f&quot;],&quot;tenantId&quot;:&quot;mytenant&quot;,&quot;status&quot;:&quot;EXECUTED&quot;,&quot;data&quot;:{&quot;pariatur_355&quot;:&quot;aliquip Excepteur esse eiusmod&quot;,&quot;Lorema&quot;:&quot;nulla quis irure sunt&quot;,&quot;laboris_f&quot;:&quot;est adipisicing dolor aliqua aliquip&quot;},&quot;createdAt&quot;:&quot;2011-08-12T20:17:46.384Z&quot;,&quot;createdBy&quot;:&quot;user&#39;s email address&quot;}