Role Required to update company field via API

mwkoivis
Giga Contributor

Hello, I'm testing the REST API, and I'm looking to change the company field on an existing incident.

 

When I run the following with admin credentials, the company field is updated successfully:

 

curl -X PUT "https://devXXXXX.service-now.com/api/now/table/incident/4d185d2387f16110ab9aeb173cbb351b" -d '{"company":"227cdfb03710200044e0bfc8bcbe5d6b"}' -H "Authorization: Basic ..." -H "Content-Type: application/json"

 

When I run the same command with an user's credentials that have itil and itil_admin roles assigned, the field is not updated (and frustratingly there is no error, it silently does not update the field).

 

Looking through the role documentation here (https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/roles/reference/r_Ba...) I don't see any indicators as to what role would be required to update this field on this table. Any suggestions, or additional documentation to look through?

1 REPLY 1

jan_svihalek
Tera Expert

There is task.company ACL oob that allows only admins to write to this field that prevents you from updating the field.