API combined query statement
search cancel

API combined query statement

book

Article ID: 375008

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

Some API clients will ignore & query statements.  In this case you can combine query statements for the call to succeed. 

Resolution

In this example, a customer wanted to get list of all Consolidated AWS accounts that are in Critical status.  You can modify the query statements to fit your needs.

https://chapi.cloudhealthtech.com/api/search?api_version=2&name=AwsAccount&query=account_type='Consolidated'+and+status='Critical'&fields=name,owner_id,status,account_type