API reference
All operations
TASK

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.

POST/api/v2/tasks/bulk-assign

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Request body

application/jsonrequired

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.

CreateBulkEquipmentTasksRequest
  • userIdinteger · int32
  • companyIdinteger · int32
  • equipmentIdsinteger[]
  • dueDatestring · date-time
  • subjectstring

Responses

Task creation queued successfully.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

databoolean
boolean