Knowledge Management REST API

Andr_1
Tera Expert

Hello,

 

I am testing the Knowledge Management Rest API, and it is only returning me a count of 4693 articles

Andr_1_0-1764861791078.png

but I have a lot more articles on the system

Andr_1_1-1764861846164.png


even if I count only the published ones, the count does not match

Andr_1_2-1764861898079.png

 

Can someone help me with this topic?

 

Thanks



 

 

1 ACCEPTED SOLUTION

Andr_1
Tera Expert

I found the solution

The correct filter is: 

Andr_1_0-1764930632842.png

- Article Published

- Article Language in English

- Knowledge Base active

- Article active

- Valid to not expired

 

Thanks for all your replies

View solution in original post

12 REPLIES 12

Are there any records here?

/now/nav/ui/classic/params/target/kb_knowledge_list.do%3Fsysparm_query%3Dkb_knowledge_base.active%253Dfalse

yes

Andr_1_0-1764868260103.png

---

Andr_1_1-1764868275960.png

 

Those 721 would be excluded from the result set.

But the count still doesn't match. I was trying to find on the documentation the default query of the API, but I didn't find anything.

Hi @Andr_1 ,

the logic is in this scripted rest api Knowledge Management REST API

ChaitanyaILCR_0-1764930023264.png

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya