Update only actions of a batch
PATCH/platform/solutions/api/v1/orgs/{orgId}/batches/{batchId}
Update the actions of an existing batch without changing its other properties.
Usage
PATCH /orgs/{orgId}/batches/{batchId}
Parameters
orgId(string, required): the ID of the organization.batchId(Guid, required): the ID of the batch.
Request body
input(UpdateBatchActionsDto, required): the new actions for the batch.- Actions (List<CreateBatchActionDto>, required): the list of actions to set.
- DeviceId (string, required): the ID of the device.
- TaskId (Guid, required): the ID of the task.
- Parameters (string, optional): the parameters for the task, default is an empty string.
- Actions (List<CreateBatchActionDto>, required): the list of actions to set.
Responses
201 Created: returns the updatedBatchDtoafter successful actions update.404 Not Found: batch not found.400 Bad Request: invalid request format or validation failure.
Security
This API requires authentication.
Request
Responses
- 200
- 201
- 400
- 404
OK
Created
Bad Request
Not Found