Deletes Asset Maintenacne.

Parameters

id

The ID of the Asset Mainentance to delete.

Example

FM_api('AssetMaintenance_disable', ['id' => '4']));

Result

On Success

"{"m":{"id":"4","name":"Service","next_date":"2018-10-01 10:24:00","history":null,"asset_id":"2","cdate":"2018-10-01 10:24:23","meta":null,"recurrence":"{\"amt\":360,\"period\":3}","next_app_id":"35","recurrence_id":"6","default_user":"0","last_date":null},"rec_id":6,"r":{"id":"6","name":"Asset Maintenance: Service","ids":"35","cdate":"2018-10-01","edate":"2018-10-31","active":"1","every":"3","on_arr":"360","customer_id":"2","customer_type":"1","next_date":null,"user_id":"0","notes":null,"files":null,"edited_uuid":"Appointment_new","last_edited":"2018-10-01 10:24:23","days_in_advance":"30","copy_user":null,"copy_cust_ref":null},"appidsr":[{"id":"35"}]}"