- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-11-2022 01:08 AM
Hi ,
I have a requirement :
I need to make the API call from SNOW to sonarqube/github application,in return should get back the json data and place that data in a table so that the data will show up in reference field on catalog item .
I have 2 api endpoints:
response: returns an array of objects (example below), with each object corresponding to a project
https://api.github.com/orgs/BMO-Prod/repos
https://sonarqube.bmogc.net/enterprise/api/projects/search
I dont have any knowledge in Integrations with service now .Can anyone please guide me to setup this integration .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-18-2022 04:59 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-11-2022 01:10 AM
Hi,
so have you configured the REST Message?
What's your challenge? consuming the endpoint? parsing the response?
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-11-2022 01:13 AM
No I dont have anything except those 2 links .I want to know the sequence like how should I proceed with the requirement : what should be created first and how ,then next step like that .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-11-2022 01:22 AM
Hi,
you need to create REST Message and add the endpoints and then use script to execute and then parse it
these links should help you
Create a REST Message ā Integration Part 2
RESTMessageV2 - Scoped, Global
https://www.youtube.com/watch?v=bTK-hrbgPzs
Outbound REST interface in ServiceNow
regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-11-2022 04:01 AM
Hi Ankur ,
Thanks for responding .
I am little confused in rest message part
In place of end points I will give these 2 urls:
Next in place of methods :
I have to do get method : to get the data in json format from these 2 api ryt ?
after that how to proceed with this json data ?