Idea ID 2764869
Downtimes can be read (GET), created (POST), modified (PUT), deleted (DELETE) via the downtime web service.
The UI provides the ability to terminate a downtime which modifies the end time to the actual time/minute (also the start time if it has not yet been started). Status is then completed and duration can be 0, except the downtime was started already.
In order to complete a downtime over the web service, rather than delete, you can modify it by changing start and end time.
PUT on <obm>/topaz/bsmservices/customers/1/downtimes/DT_ID
Body: Take what you read (GET) and change start/end.
Using the same start and end time increases the end time by one minute. A zero minute downtime is not possible in contrast to terminating a downtime in the UI.
Overall, the whole procedure is quite complicated.
The request is to have a method to terminate a downtime through the web service by just specifying the downtime ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.