I'm trying to use SuiteTalk REST as documented her...
# general
s
I'm trying to use SuiteTalk REST as documented here https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2019.2/index.html#/definitions I'm trying to use this endpoint https://[accountid].suitetalk.api.netsuite.com/rest/platform/v1/record as mentioned in the rest browser but I'm getting 404
b
Use the documentation for 2020.1
The url path changed
s
thanks it worked, where do we look for the versions of rest api browser?
b
version information is in the url
s
{     "type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",     "title": "Your current role does not have permission to perform this action.",     "status": 400,     "o:errorCode": "USER_ERROR" } How can I change settings so that I can perform this action as I already have admin role
b
if the role on the tokens is administrator, you should have all permissions
so perhaps whatever you are doing is simply not enabled in your account
though that tends to have a different error message
s
Ok need to check then
Different error message?
b
Copy code
{
  "type": "<https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1>",
  "title": "Bad Request",
  "status": 400,
  "o:errorDetails": [
    {
      "detail": "Error while accessing a resource. The feature 'Fulfillment Request' required to access this page is not enabled in this account.",
      "o:errorCode": "USER_ERROR"
    }
  ]
}
s
Hi, I'm trying to get all the items in the database using this API https://[accountid].suitetalk.api.netsuite.com/rest/record/v1/inventoryItem/ but I get Permission error, but I'm able to get items using internal ids. How can I get List of all items?
@battk
b
s
7 items? I have given permission as mentioned in the doc but I didn't found SuiteAnalytics Workbook
b

https://netsuiteprofessionals.slack.com/files/U010CAPQZFT/F019DCKAMJM/image.png

s
yes that worked thanks
and how about this API
{{REST_SERVICES}}/record/v1/custitem_ns_sc_ext_sich_size_chart/
how to add permissions for custom fields
b
go through the Resource Metadata to see what is supported
s
Hi @battk How can I create API for user login, signup and forgot password in netsuite?