RE: REST API unable to view/create workorders

Hello all,
Using Postman, I am having trouble getting the list of workorders using this endpoint:
https://account-id.suitetalk.api.netsuite.com/services/rest/record/v1/workorder/
I get this error:
errorDetails”: [
{
“detail”: “The workorder record is only available as a beta record. Enable the REST Record Service (Beta) feature in Setup > Company > Enable Features to work with this record.”,
“o:errorCode”: “INSUFFICIENT_PERMISSION”
}
I have enabled the REST Record Services.
When I call this endpoint, I get purchase orders, as expected.
https://account-id.suitetalk.api.netsuite.com/services/rest/record/v1/purchaseorder/
I am able to create Workorders using the UI so I think I have the correct permissions.
Ultimately, I am wanting to create a new PO by POSTing with a payload similar to this:
{
“customForm”: { “id”: “306” },
“assemblyItem”:”80009″,
“quantity”:2,
“subsidiary”:”12″,
“location”:”218″
}
Any idea why I cannot view/create workorders usin gthe REST API?
Thanks, Wayne
twayneprice Rookie Asked on February 2, 2024 in Manufacturing.
Add Comment
1 Answers

Hi,

Not all record are currently generally available through REST Web Services.

You may sign up for the Beta functionality, however, I understand there is a strong chance almost all records will be generally available as of the 2024.1 release.

Thansk,

Chris

Intermediate Answered on February 5, 2024.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.