API call to retrieve list of maintenance schedules that contain a string.
search cancel

API call to retrieve list of maintenance schedules that contain a string.

book

Article ID: 443745

calendar_today

Updated On:

Products

DX SaaS

Issue/Introduction

We are trying to retrieve a list of maintenance windows from APM that contain a specific string in the title / schedule name using the API.

We're able to retrieve a single schedule id based on the title / name but not multiple. We tried using a regex and wildcard but they do not return any results. Is there a way to do this via API?

 

We are using this documentation:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-operational-observability/saas/apis-reference/Maintenance-APIs/Retrieve-Schedules-for-a-Tenant.html

Resolution

There is no "regex" as such, you can use contains to achieve the same thing:
{
         "fieldDescription":"Title",
         "field":"scheduleName",
         "value":"TEST",
         "condition":"contains"
 }