10.07.2015 Views

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Web</strong> <strong>Services</strong> OperationsgetCustomizationId153The above code would generate the following SOAP request for the getCustomization request:getCustomizationIdWhen integrating with <strong>NetSuite</strong> through <strong>Web</strong> services, in many cases, you will want to knowwhich custom objects exist in an account. You may also want to obtain metadata for thesecustom objects so that your application can handle any business logic that is specific to theaccount.To learn which custom objects exist in an account, use the getCustomizationId operation toretrieve the internalIds, externalIds, and/or scriptIds of all custom objects of a specified type.These types, enumerated in CustomizationType, include the following:• crmCustomField• customList• customRecordType• entityCustomField• itemCustomField• itemOptionCustomField• otherCustomField• transactionBodyCustomField• transactionColumnCustomFieldNote: The CustomizationType object is defined in the coreTypes XSD.Once the IDs are returned, you can then pass the ID value(s) to either the get or getListoperation to obtain metadata for specific custom objects (see Using get and getList withgetCustomizationId for more details). If you are returning large sets of metadata, thegetCustomizationId operation allows you to add pagination to break your response intomultiple pieces.Notes:• To see the UI equivalent of a <strong>NetSuite</strong> custom object, go to Setup > Customization >Lists, Records, & Fields > [custom object type]. For information on working with eachobject type in <strong>Web</strong> services, see SuiteBuilder Overview in the <strong>NetSuite</strong> Help Center.For a more general understanding of the <strong>NetSuite</strong> customization model, refer to theSuiteBuilder (Customization) <strong>Guide</strong>, also in the <strong>NetSuite</strong> Help Center.• Normally, you cannot add or update the internalId of a <strong>NetSuite</strong> object. Customobjects, however, are an exception to this rule. You can specify the ID on add, but you<strong>SuiteTalk</strong> <strong>Platform</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!