Integrate service now with 3rd party application .

thirumala2
Tera Guru

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 .

1 ACCEPTED SOLUTION

@thirumala 

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

so have you configured the REST Message?

What's your challenge? consuming the endpoint? parsing the response?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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 .

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

REST Message v2

RESTMessageV2 - Scoped, Global

https://www.youtube.com/watch?v=bTK-hrbgPzs

Outbound REST interface in ServiceNow

regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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 ?