Update Maintenance Entry
PUT
/v1/maintenance/{id}
const url = 'https://example.com/api/v1/maintenance/example';const options = { method: 'PUT', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"completedDate":"example","cost":"0","description":"example","name":"example","scheduledDate":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/maintenance/example \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "completedDate": "example", "cost": "0", "description": "example", "name": "example", "scheduledDate": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Maintenance ID
Request Bodyrequired
Section titled “Request Bodyrequired”Entry Data
Media typeapplication/json
object
completedDate
string
cost
string
Example
0description
string
name
string
scheduledDate
string
Responses
Section titled “Responses”OK
Media typeapplication/json
object
completedDate
string
cost
string
description
string
id
string
name
string
scheduledDate
string
Example
{ "cost": "0"}