RE: INSUFFICIENT_PERMISSION while updating location of employee using update API.
Hi Team,
When following API is executed it throws an error “INSUFFICIENT_PERMISSION”
You do not have permissions to set a value for element location due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.
<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<soapenv:Header>
<applicationInfo>
<applicationId>E42F2DC4-5320-4A7D-B19C-41DE8136143E</applicationId>
</applicationInfo>
<passport>
<email>manoj.caisucar@sailpoint.com</email>
<password>Sailpoint@123</password>
<account>TSTDRV942460</account>
</passport>
</soapenv:Header>
<soapenv:Body>
<update>
<record internalId=”1003585″ xsi:type=”Employee” xmlns=”urn:employees_2019_1.lists.webservices.netsuite.com”>
<location internalId=”1″ xsi:type=”n1:RecordRef” xmlns:n1=”urn:core1.platform.webservices.netsuite.com”/>
<rolesList replaceAll=”false” xsi:type=”EmployeeRolesList”>
</rolesList>
</record>
</update>
</soapenv:Body>
</soapenv:Envelope>
When we try to assign location permission to the account, we are not able to find the location attribute in the permission list. Are we missing something?
Please help us resolving this issue.