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.
- The provided clients must be valid.
- Maximum number of clients can be 20 in a delivery job.
- Command data size is restricted to 10kB.
Request Body
{"name"=>"<string>", "clientIds"=>["<string>", "<string>"], "data"=>{"veniam5"=>"<string>"}, "createdBy"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"21349765fe45652c8e126814c283a114","name":"firmware update","clientIds":["mytenant_201541ad38a4495a96e2021c762b647f","mytenant_201541ad38a4495a96e2021c762b647f"],"tenantId":"mytenant","status":"EXECUTED","data":{"pariatur_355":"aliquip Excepteur esse eiusmod","Lorema":"nulla quis irure sunt","laboris_f":"est adipisicing dolor aliqua aliquip"},"createdAt":"2011-08-12T20:17:46.384Z","createdBy":"user's email address"}