How to use filter using the Knowledge base articles API

Phanikanth
Kilo Contributor

Hi Team,

I have api which needs to filter the data based on query result.But unfortunately using filter not getting  the expected response .We are getting the result of unfiltered data.

https://***.service-now.com/api/sn_km_api/knowledge/articles?limit=5&query=what is laptop&filter=titleLIKESempra:L1

 

Expected :filter should apply only for  title field "Sempra: L1",but filter is not applying for particular condition.

I want to filter the title based sempra:L1 based records alone .please suggest the actual filter here.

 

"id": "kb_knowledge:ce15b0d11b09b490d8716535604bcb72",
                "title": "Sempra: L1 - Citrix - VDI Windows 10 Request Process",
                "snippet": "Sempra: L1 - Citrix - VDI <strong>Windows</strong> 10 Request Process Description Title: Citrix - VDI <strong>Windows</strong> 10 Request Process. Purpose: Client requesting Citrix full clone VDI. Environment/Application: Citrix VDI. Handle Time: 5 - 7 minutes. Once Consultation is completed send to EUC Engineering Daniel Bagshaw",
                "score": 111.7412,
                "number": "KB0004689"
--------------------------------------------------------------------------
"id": "kb_knowledge:98dcfcbc1b70c1109aa5cb7f034bcbaa",
                "title": "Sempra: L9 - Service Desk - Configuration Items (CI) List",
                "snippet": " Teams SRE APPL TEAMS VDI [VMW NUMBER] WebEOC SRE APPL EOC <strong>Windows</strong> 10 (Operating System / Settings) SRE APPL <strong>WINDOWS</strong> 10 Additional Details Please DON'T use any CI if it doesn't start with \"SRE APPL",
                "score": 128.1575,
                "number": "KB0004370"
            },
0 REPLIES 0