How to download Knowledge base articles from servicenow API

Phanikanth
Kilo Contributor

Hi,

I have the api and which gives response as articles, I want to download the articles in wiki/pdf  from the API. plz suggest.

find_real_file.png  

8 REPLIES 8

Hitoshi Ozawa
Giga Sage
Giga Sage

Substitute <instance name> and <kb sys_id> in the following url.

https://<instance name>.service-now.com/kb_view.do?sys_kb_id=<kb sys_id>&sysparm_stack=no&sysparm_force_row_count=999999999&sysparm_media=print

Hi,

I have tried above api,getting response in html format.Plz suggest

find_real_file.png

Enter it in the web browser to check the error message.

If directly calling the API, need to also pass authentication information.

Sorry. My bad. The url will only show printer friendly html page.