- 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 05:34 AM
Hi @Harshvardhan,
My code is working as expected because I tested already with my local ServiceNow instance there I could do CURD operation on RestAPI which is working fine.
Now I'm using my client ServiceNow instance there I don't know why I could not connect to their Rest API whereas I could connect ServiceNow GUI application with same credentials.
So there is no problem in code and postman app.
Regards,
Bala N

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 06:22 AM
go to the user profile and check if that user field "Password needs reset" set as true or not, it has then kindly unchecked it.
i just tested in my personal instance and i can able to access it.
also login with that user profile in service-now while accessing the postman.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 11:43 PM
can you share me the screenshot/link to go the User profile and where I can uncheck the place.
Regards,
Bala N

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2020 12:53 AM
is it possible for quick screen-share ? i can try to quickly solve your issue . if yes drop me the webex for zoom link on below email.
hvrdhn88@gmail.com
for that field attaching screenshot.
if you are not able to see the field on user form , kindly add it from form layout and set it as false.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 06:27 AM