Creating Maintenance Windows via REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2018 10:16 AM
Hi,
How can I create a Maintenance Window for a CI via the REST API?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2018 03:39 PM
I would start with looking into Scripted REST API's.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2018 06:24 PM
REST API is available for Maintenance tables;
cmn_schedule_blackout-https://dev70063.service-now.com/api/now/table/cmn_schedule_blackout
cmn_schedule_maintenance- https://dev70063.service-now.com/api/now/table/cmn_schedule_maintenance
Please refer similar thread on this:
REgards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2018 09:57 AM
Thank you for the quick response, RP. While the REST API creates a new record in the cmn_maintenance_schedule table, I was hoping to associate the Maintenance Schedule created to a CI.
Any pointers on doing that with the API?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2018 11:23 AM
If you have unique criteria for the incoming cmn_maintenance_schedule record creations, you can have a BR auto-populate the CI.