Complete maintenance work
POST
/api/v1/maintenance/{record_id}/complete
const url = 'https://app.ayna.com/api/v1/maintenance/example/complete';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.ayna.com/api/v1/maintenance/example/complete \ --header 'Authorization: Bearer <token>'Transition maintenance record to completed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”record_id
required
Record Id
string
Responses
Section titled “Responses”OK
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}