Assembly Unbuild

An assembly unbuild record exposes an assembly unbuild to REST web services.

This record:

The REST API Browser includes information about the field names and field types of the assembly unbuild record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s assemblyUnbuild reference page.

For information about using the REST API Browser, see The REST API Browser.

Record IDs

The record ID for an assembly unbuild REST record is assemblyUnbuild.

Code Samples

The following samples show common use cases for assembly unbuilds. The example ID is 4.

Creating an Assembly Unbuild Using a POST Request

              POST https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/assemblyUnbuild
{ "subsidiary": { "id": "5" }, "location": { "id": "5" }, "item": { "id": "67" }, "quantity": 10.0
} 

            

Retrieving an Assembly Unbuild Using a GET Request

              GET https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/assemblyUnbuild/4 

            

The following code sample shows how to retrieve an assembly unbuild component. The component ID is 7.

              GET https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/assemblyUnbuild/4/component/lineNumber=7 

            

Updating an Assembly Unbuild Using a PATCH Request

              PATCH https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/assemblyUnbuild/4
{ "quantity": "20"
} 

            

The following code sample shows how to update an assembly unbuild component. The component ID is 7.

              PATCH https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/assemblyUnbuild/4/component/lineNumber=7/
{ "quantity": "21"
} 

            

Related Topics

REST Web Services Supported Records
SuiteTalk REST Web Services Overview and Setup
Working with Records
NetSuite Record Structure
The REST API Browser

General Notices