Hi guys, new here... I have a question about POSTing an assemblyBuild using the REST API
Here is the object I'm sending in the body:
{
"item": {
"displayName": "<display_name>",
"id": "1682",
"itemId": "06-01"
},
"quantity": 11.0,
"memo": "THIS IS AN TEST",
"location": {
"id": "1",
"subsidiary": "1",
"name": "<name>"
},
"subsidiary": {
"id": "1",
"name": "Parent Company"
}
}
``````
b
battk
05/01/2021, 8:17 PM
make the matching assembly build in the ui
battk
05/01/2021, 8:17 PM
then do a GET on it to see which fields you need to set
y
Yuriy Fedas
05/01/2021, 8:22 PM
I'll try this right now...
Yuriy Fedas
05/01/2021, 9:08 PM
@battk I need to add components to the assembly build is what I found out. However, when I try to use the same components that were used in a Netsuite GUI assembly build, I get this error:
"Error while accessing a resource. You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist."