Skip to main content
Skip table of contents

Maintenance Order Set assigned users

Endpoint: POST {{host}}/maintenance/orders/1000/actions/set-assigned-users

Input Parameters: Users list

image-20240515-090410.png

Steps:

  1. Deletes old assigned users from Maintenance Order staff

  2. Creates new records in Maintenance Order staff

  3. For each assigned user creates new record in Maintenance Order history

  4. Set status based on following rules:

    1. If no user is assigned (no user provided in the request) → If a team is assigned to MO, status is set to Assigned to Team, otherwise Created status

    2. If at lease one user is assigned and status is created or assigned to team, status is changed to assigned

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.