Use this API to edit an existing maintenance alert. Only one maintenance alert can be updated in a single API call.

Note: You can not update the vehicle for which the alert is applied.

📘

Sample Request

https://api.azuga.com/azuga-ws/v1/maintenance/update.json

{  
   "alertName":"Maintenance Alert - W12",
   "user":[  
      "cad77fc0-2588-11e7-ac81-670c6342b1b5"
   ],
   "notification":"false",
   "deletedServices":[  
      "15"
   ],
   "serviceType":[  
      {  
         "id":"10",
         "Mileage":"20", 
         "hours":"2",
         "months":"1",
         "lsd":"07-23-2017 12:00AM"
      },
      {  
         "id":"21",
         "mileage":"15",
         "hours":"",
         "months":"",
         "lsd":"07-24-2017 12:00AM"
      },
      {  
         "id":"23",
         "mileage":"15",
         "hours":"2",
         "months":"6",
         "lsd":"07-24-2017 12:00AM"
      }
   ]
}

API Response Explanation

FieldDescription
codeAPI status code
messageAPI Message (Success/Failure)
generatedAtAPI generation timestamp
Language
Authorization
Header
Click Try It! to start a request and see the response here!