- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 12:06 AM
Hi Team,
what kind of access/role we need to connect ServiceNow api. for example, to use the below url which kind of access/role we need to get.
GET https://instance.service-now.com/api/now/v1/table/incident
PUT https://instance.service-now.com/api/now/v1/table/incident/{sys_id}?
Here I need to have an access/role for both the operation ie., GET and PUT.
Regards,
Bala N
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 12:18 AM
reason : you are using get method , it means all the records you can fetch, minimum ITIL role required to fetch the details. same for put method, minimum itil role required to update any incident record.
so in-short itil role is enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 12:57 AM
Hi Harshvardhan,
I mentioned my username and password which I used to login GUI Service Now that I can successfully logged in the same I'm tring to use in rest api and I couldn't get the data which shows Users not authenticated.
Please refer the below screenshot, here I stroke out the ServiceNow instance due to security reason.
Please help me to get out this issue.
Regards,
Bala N

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 01:00 AM
i am adding on blog here , which has mentioned in details.
https://community.servicenow.com/community?id=community_blog&sys_id=0f5de629dbd0dbc01dcaf3231f9619ca

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 12:57 AM
Hi,
YOu want to access incident table API or the module?
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 01:05 AM
Yes.
Regrds,
Bala N

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 01:07 AM
What? Incident table API?