Maintenance Order pause
Endpoint: POST {{host}}maintenance/orders/{{id}}/actions/pause
Input Parameters: optional Reason code id
Steps:
If Maintenance order is not assigned to User, it is assigned to user who pauses it. Status is changed to Assigned and if Time scheduled finish is not set, it is set to current time
If reason code for pause is provided, updates MO Reason Code
Updates completition confirmation Finish System Time to current time
Updates completition confirmation Diff Time following these rules
If Completition confirmation Start time is filled → Diff time = previous Diff time + (current time - CC Start Time)
Updates MO status to Paused
MO History record created