REST API filter CIs by Company

 
Author
Message
SysAider
1
 
Hello,

I'm trying to retrieve CIs for a specific Company from the REST API but cannot seem to get the filter to apply correctly. Here's an example query:

https://XXXX.sysaidit.com/api/v1/ci?company=3152

Unfortunately, this returns 500 records (default max) and none are for the passed Company.

Queries filtered by status appear to be working, which makes me think my syntax is valid. Here's an example:

https://XXXX.sysaidit.com/api/v1/ci?status=9&fields=ci_cust_list_4%2CCustomColumn83ci

Does anyone know what's wrong with my company filter above?

Thanks for your help!