Updates an existing preventive routine’s information and associated rule/site relationships.
MANAGER[ADMIN, USER]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Content type, must be "application/json".
"application/json"Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Unique identifier of the routine.
-9007199254740991 <= x <= 90071992547409911
Details required to update a preventive routine
Name of the routine.
250"Monthly Maintenance"
Description of the routine.
2500"This routine involves monthly maintenance checks for all equipment."
Whether the routine automatically creates interventions.
true
Whether the routine automatically attaches files to the interventions.
false
List of site rule IDs to associate with the profile.
1-9007199254740991 <= x <= 9007199254740991[1, 2, 3]Unique identifier of the company contact assigned to the routine.
-9007199254740991 <= x <= 90071992547409911
Unique identifier of the user assigned to the routine.
-9007199254740991 <= x <= 90071992547409911
Unique identifier of the contract associated with the routine.
-9007199254740991 <= x <= 90071992547409911
Routine updated successfully