I am making a call to the REST services to pull a list of employee records with the call
https://[accountid].suitetalk.api.netsuite.com/services/rest/record/v1/employee
I am successfully getting a response file which contains a list of employee Id's and the link to further details, however what I really need is the employee list with a name included.
I have found reference to the expandsubresources option for specific records and was hopeful that the same would work on the list as per below;
https://[accountid].suitetalk.api.netsuite.com/services/rest/record/v1/employee?expandSubResources=true
Unfortunately I'm receiving the 401 error code for invalid_login when I use the above. I receive the same error when I try to expand the detail for a specific employee.
How can I expand this request to include the details of each employee listed in one response file.
https://[accountid].suitetalk.api.netsuite.com/services/rest/record/v1/employee
Christy