Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to pull data from ServiceNow using GraphQL?

Ganeshm1
Tera Guru

Hi All,
How to pull data from ServiceNow using GraphQL?
Hope you are doing good!

 

I have requirement to pull the data from LeanIX application using GraphQL API. 
Does anyone have idea how we can achieve this functionality. Your small input will really help me to complete my POC. Please let me know your ideas on this. Thank You!

 

Regards,

Ganesh

1 ACCEPTED SOLUTION

Not applicable

Hi @Ganeshm1 ,

 

We used REST API and we used Oauth Token to established the connection between LeanIX and ServiceNow. Create a GET method in your REST API to get info from LeanIX Like business services, business capablities.

View solution in original post

8 REPLIES 8

Not applicable

Hi @Ganeshm1 ,

 

We used REST API and we used Oauth Token to established the connection between LeanIX and ServiceNow. Create a GET method in your REST API to get info from LeanIX Like business services, business capablities.

@Community Alums : 
Make sense but how we can utilize GraphQL method in this process? Please let me know your thoughts on this. Thank You!

Not applicable

Abhishek_Thakur
Mega Sage

Hello @Ganeshm1 ,

 

You can refer my below link, where I have already explained how to create GraphQL API to retrieve the data.

 

https://www.linkedin.com/posts/abhishek-thakur-4636a722b_graphql-activity-7108046049755168768-cwwf?u...

 

Please accept my answer and give thumbs up, if it helps you.