Schedules one task per piece of equipment for a single company, assigned to one user.
The tasks are created in the background after the response is returned, so a success response means the work was queued, not that the tasks exist yet. Each task is related to its equipment, uses the given Subject and DueDate, and starts as `Not Started` with `Normal` priority. When all tasks are created, a confirmation email is sent to the caller. Equipment IDs are not checked before queuing.
/api/v2/tasks/bulk-assignAuthentication
Choose one supported method for this request.
Request body
The user to assign (UserId), the company (CompanyId), the equipment IDs (EquipmentIds), the due date (DueDate) and the task subject (Subject). UserId and CompanyId must be greater than zero and EquipmentIds must not be empty.
userIdinteger · int32companyIdinteger · int32equipmentIdsinteger[]dueDatestring · date-timesubjectstring
Responses
Task creation queued successfully.
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors