Need help to create API user account for automation

SMS1
Tera Contributor

Hello Guys,

Need Quick help on API user account creation for Automation. One of my clients requests the below details. Kindly help me with the solution.

 

1. Steps to create ID with Web Service only option. This ID will be used for API testing and automating incident/problem/change/service requests.

2. Complete URLs for calling APIs for fetching Problem, Incident, Change, and Service Requests

3. How to create a user ID with read-only access to call these APIs

4. How to create the ID with non-expiring passwords

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi SMS

these are the required steps

Create a web-service only user

Go to table sys_user and click on "New":

find_real_file.png

 

Set a password that fulfills the password requirements in your instance.

And basically that password won't expire. Therefore, I don't understand your point (4).

 

Provide the required roles

After saving the user record, scroll down to the related list "Roles", click "Edit..." and select the roles "itil" and "snc_read_only" (see https://docs.servicenow.com/en-US/bundle/sandiego-platform-administration/page/administer/user-admin...). 

find_real_file.png

 

URLs for fetching data

See page https://docs.servicenow.com/bundle/sandiego-application-development/page/integrate/inbound-rest/conc...

 

Kind regards
Maik

View solution in original post

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi SMS

these are the required steps

Create a web-service only user

Go to table sys_user and click on "New":

find_real_file.png

 

Set a password that fulfills the password requirements in your instance.

And basically that password won't expire. Therefore, I don't understand your point (4).

 

Provide the required roles

After saving the user record, scroll down to the related list "Roles", click "Edit..." and select the roles "itil" and "snc_read_only" (see https://docs.servicenow.com/en-US/bundle/sandiego-platform-administration/page/administer/user-admin...). 

find_real_file.png

 

URLs for fetching data

See page https://docs.servicenow.com/bundle/sandiego-application-development/page/integrate/inbound-rest/conc...

 

Kind regards
Maik

Thanks and Appreciate your response Maik.