Getting started with API

thedavegray
Giga Expert

Hi all, 

Have a few questions on getting started with the SN API and I wondered if this is the best place to ask? 

I basically need to pull incidents and related data on a regular basis using C# but initially I would test with Postman. 

 

Looking for details on what authentication is available and how I would set this up in our DEV instance and possibly some code examples. 

 

I have found the pages detailing all the endpoints but not seeing how the authentication works. - maybe missing the obvious.  

 

Thanks 

 

 

 

1 ACCEPTED SOLUTION

laszloballa
Administrator

You need to create your own user account, which should be a a "web service only" user. You can then pass the credentials of this user in the inbound API call.

There is a great course on inbound integrations which should be very helpful to you, head over here.

It has a section on security, and another one on the REST API Exploer, which is a very useful tool in ServiceNow to test and model how certain APIs work, such as the Table API which you are probably looking to use here.

View solution in original post

Learn how to build configurable workspaces from scratch in ServiceNow in this informative session. Whether you're working with App Engine Studio or starting fresh, we provide essential steps and use cases for creating custom workspaces that meet your needs. #Servicenow #Workspaces #AppEngineStudio
2 REPLIES 2

laszloballa
Administrator

You need to create your own user account, which should be a a "web service only" user. You can then pass the credentials of this user in the inbound API call.

There is a great course on inbound integrations which should be very helpful to you, head over here.

It has a section on security, and another one on the REST API Exploer, which is a very useful tool in ServiceNow to test and model how certain APIs work, such as the Table API which you are probably looking to use here.

Learn how to build configurable workspaces from scratch in ServiceNow in this informative session. Whether you're working with App Engine Studio or starting fresh, we provide essential steps and use cases for creating custom workspaces that meet your needs. #Servicenow #Workspaces #AppEngineStudio

Thanks @laszloballa for the response and the links, they look like good learning resources. 

Regards