Need to create an service account and provide read & write access for REST API

Arun Prakash A1
Tera Contributor

Need to create an service account and provide read & write access for REST API.

1 ACCEPTED SOLUTION

ITIL role will grant additional privileges to the user i.e access to the problem, change, etc.  I  recommend creating a custom role for write access to the Incident table for integration purposes.

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Arun,

you need to create a user and ensure it is active and not locked out; I don't think any role required to access REST API;

Since you want this user only for API purpose; ensure web service access only on user record is set to true.

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi Ankur 1. I want the account to access incident table and make modifications to its fields. 2. Just creating an user and providing access will enable read & write for REST API?... can you please explain how does this work...

Hi Arun,

I think no role is required to consume the REST API; but if that user doesn't have read/write access to incident table then that user cannot update the field values

Regards
Ankur

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

Hi Arun,

Give the service account user any roles necessary to perform the actions that will be carried out by the integration. For example, in addition to the various SOAP- and REST-related roles, it may be necessary to grant process-oriented roles, such as itil, depending on the nature of the integration.

https://docs.servicenow.com/bundle/madrid-application-development/page/integrate/inbound-rest/refere...

Please let me know if you have any questions.

 

- Pradeep Sharma