Unable to use the API,how to access it. "https://instance.servicenow.com/api/sn_km_api/knowledge/articles"

Phanikanth
Kilo Contributor

Hi,

I'm not able to use the api  "https://instance.servicenow.com/api/sn_km_api/knowledge/articles",when I'm trying to access api through postman getting error like 

"requested URI does not represent any resource". Please  help to solve this.
I'm using api with my domain name
API:https://dev82597.service-now.com/api/sn_km_api/knowledge/articles

find_real_file.png

12 REPLIES 12

Knowledge articles can be retrieved by clicking on the "Send" button in the REST API Explorer.

From the screenshot, tableName is set to "Knowledge (kb_knowledge)". Press the "Send" button. There should be information on the actual url used.

find_real_file.png

Hi,

Yes your correct,after retrieving the articles  from the above api,I need to download the KB articles but I could not able to download and there is link to download artilces.Plz suggest for that.

Hi,

Navigate to the module "Scripted Rest API" as shown below:

Click on New and then save the form. Once Saved Scroll down to Resource Related List and add your Resources there which can be a Post or the method you want say in this case it will be "GET" in your case.

Once defined the endpoint which you will get here you need to use that endpoint in your Postman tool to retrieve the data you are looking for.

Refer to below video which you can refer to learn how to create Scripted Rest API:

https://www.youtube.com/watch?v=48aBJqdC6xI

https://www.youtube.com/watch?v=PLuE-iMcDgs

https://www.youtube.com/watch?v=7POS69Rcs6g

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke