Table of Contents

Search

ServiceNow Connector

ServiceNow Connector

Test a ServiceNow connection

Test a ServiceNow connection

To verify if you can connect to ServiceNow, open any REST or SOAP client and test the connection.
It is recommended that you use the following SOAP URL and test the REST, JSON, JSONv2, or SOAP endpoints.
You need to use the user credentials that has the SynQ_User_Role or the name that you specify for the role.
Verify the connection status
To verify the connection status, call the REST API from any REST client.
Before you make a call to the API, ensure that you have set up the user, group, and role:
Purpose : Testing Connection with ServiceNow URL :https://<instance>.service-now.com/api/now/table/sys_user Authentication: Basic
If you set the appropriate roles, you will get a response similar to the following image:
If you do not get the expected results, verify the user credentials and ServiceNow ACLs.
Verify the credentials
To verify if the ACL and user settings are correct, call the REST API from a REST client.
The following image shows an example of a GET request validation from a REST Client:
To create a successful connection with Data Integration, verify the credentials and ACLs with the following API:
API URL :https://<instance>.service-now.com/api/now/table/sys_db_object Authentication:Basic
The following image shows an example of a GET request validation from a REST Client:
Test the APIs
If you have access to read data from
or write data to
ServiceNow, test the APIs for metadata information.
  • Test the following APIs if you can access the metadata:
    • https://<instance>.service-now.com/api/now/table/sys_db_view.do
    • https://<instance>.service-now.com/api/now/table/sys_db_object.do
    • https://<instance>.service-now.com/api/now/table/<table_name>.do?SCHEMA
  • Test the SOAP and REST APIs to read from the ServiceNow tables or views.
  • You can test the ACL and user-role setup using the REST clients. To test using a REST client, you require a valid REST API URL, the suitable methods, valid parameters, and authentication. For example, call a REST API to get data from a ServiceNow table. Use the following details to make a REST call:
    Authentication : Basic (Requires username /password of user who is having SynQ_User_Role) Method : Get URL : valid api url
For more information about the REST API URLs and parameters, see Getting Started in the ServiceNow documentation.

0 COMMENTS

We’d like to hear from you!