Share the next available maintenance window to Harness team via Get method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 02:34 AM - edited 04-08-2024 03:59 AM
Hello Team,
I have shared the below GET API details from ServiceNow side to pull the next available maintenance window to Harness team.
https://dctest.service-now.com/api/now/table/cmn_schedule_maintenance
However we don't have any field in cmn_schedule_maintenance table which is holding the next available maintenance window time to provide. Is there any way we have to share it? Please advise.
I aware that we have,
GlideSchedule(); API available to get the next available window however don't know how to use it here with GET API to pass the details along with API call..
Thanks,
DC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 03:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 04:04 AM - edited 04-08-2024 04:05 AM
Hi @Community Alums
Thanks for your reply.
You mean to have the data in custom field? However we need to update that frequently by using the job right?
Thanks,
DC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 05:16 AM
Below post could be helpful to get the maintenance schedule :
You can use the code provided in the above link in a Scripted REST API to get the maintenance schedules. You can provide your Harness team with this custom endpoint to fetch the details.
Thanks and Regards
Amit Verma
Amit Verma
