Which access/role we need to connect Service Now API?

Balakrishnan N
Kilo Contributor

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

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

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. 

View solution in original post

30 REPLIES 30

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

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. 

 

 

can you share me the screenshot/link to go the User profile and where I can uncheck the place.

 

Regards,

Bala N

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. 

find_real_file.png

 

if you are not able to see the field on user form , kindly add it from form layout and set it as false. 

 

 

 

screenshot for reference. 

 

find_real_file.png

 

If my answer helped you, kindly mark it as correct and helpful.