Roles or Permissions for creating Request from POSTMAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 08:22 AM
Hi All,
I am reaching out to seek clarification on the specific roles or permissions required to create Request in ServiceNow using POSTMAN.
I have created User and Oauth Client and using grant_type = password for accessing ServiceNow Instance.
Using this API to get token: https://<instance>.service-now.com/oauth_token.do
Using this API to create request: https://<instance>.service-now.com/api/now/table/sc_request
We need to understand the roles and permissions that are necessary to perform actions like creating and updating records in ServiceNow through Postman.
If you could kindly provide us with details on the specific roles, permissions, or access rights required to successfully create requests in ServiceNow using Postman, it would greatly assist us in our integration project.
Thank you in advance.
Any help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 11:06 AM
Hi @gtripathi2612,
1. REST API Access: Ensure the user or OAuth client has the “rest_service” role to access REST APIs.
2. Table-Level Access: Grant specific ACL permissions for the table you’re working with, such as “sc_request.
3. Web Service Access: Assign roles like “soap” or “web_service_admin” if web service access is restricted.
4. OAuth Permissions: For OAuth authentication, configure roles and scopes during OAuth client setup.
5. Instance-Specific Permissions: Be aware that custom roles and permissions may apply based on your specific instance.
Please mark this as solution proposed and helpful if this serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 01:22 AM
Getting Error
{
"error": {
"message": "Operation Failed",
"detail": "ACL Exception Insert Failed due to security constraints"
},
"status": "failure"
}
Also when I add admin Role (which I doesn't want to use) to the User, only then I am able to create Request record through POSTMAN.