Reputation: 108
I want to extract Sales Orders from my netsuite instance. To test this I use postman. When using the Netsuite REST API Tutorial Environment with the url:
{{proto}}://{{host}}/rest/platform/{{version}}/record/salesorder
(postman fills the variables with environment values)
I should get a JSON object that contains a list of all sales orders.
But I get this error :
{
"type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "Invalid search query Record 'transaction' was not found. Reason: INSUFFICIENT_PERMISSIONS - Missing permissions for this record.",
"status": 400,
"o:errorCode": "INVALID_PARAMETER"
}
I have tried giving the role that i use for my web service user a lot of permissions, but i havent found the right one yet. What permissions are needed, to make this get-request?
Upvotes: 3
Views: 4357
Reputation: 314
for your request to work, you will need at least these two permissions:
Manage Roles > Edit > Permissions > Transactions:
Plus of course you need Integration permissions:
Manage Roles > Edit > Permissions > Setup:
Manage Roles > Edit > Permissions > Reports:
Upvotes: 10