Rest API to read JSON

sanjay_navada
Tera Contributor

I have to connect to an API which returns JSON data, How do i connect to the API from App Engine studio and parse the JSON and upload it into a table?

2 REPLIES 2

Amit Verma
Kilo Patron
Kilo Patron

Hi @sanjay_navada 

 

Their are multiple ways to make REST API call from the ServiceNow instance. One way could be to configure Outbound REST Message https://docs.servicenow.com/bundle/tokyo-application-development/page/integrate/outbound-rest/concep...

 

Another way is through Integration Hub REST Step via Flow Designer https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0823218

 

Can you please let me know when you want to make this REST API call ? Based on that, we can decide the next set of steps.

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

dgarad
Giga Sage

Hi @sanjay_navada 

Please check the link for read JSON

https://www.servicenow.com/community/developer-blog/json-parsing/ba-p/2279166

https://www.servicenow.com/community/developer-articles/integratenow-chapter-2-what-you-need-to-know...

 

Thanks

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad