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> OperationsgetCustomizationId155ResponseThe getCustomizationIdResult type is used for the response. It contains the following fields:Element Name XSD Type Notesstatus Status The status for this operation. All applicable errors orwarnings are listed within this type.totalRecords xsd:int The total number of records for this request. Depending onthe pageSize value, some or all the records may be returnedin the response.customizationRefList CustomizationRef A list of custom objects that correspond to the specifiedcustomization type. Also returns the internalId, externalId,and/or scriptId of each object.FaultsThis operation can throw one of the following faults. See SOAP Fault Status Codes for moreinformation on faults.• InvalidSessionFault• InvalidCredentialsFault• ExceededRequestLimitFault• ExceededUsageLimitFault• ExceededRecordCountFault• ExceededRequestSizeFault• UnexpectedErrorFaultSample CodeThe following sample is a two-part sample. The first part of the sample shows how to constructa getCustomizationId request so that the IDs for all custom record type objects in a <strong>NetSuite</strong>account are returned. Notice that in the getCustomizationId request, the value of theincludeInactives parameter is set to false, meaning that only custom records marked as “active”in the account will be returned.The second part of the sample shows how to take internalIds that are returned, and make agetList request to return the metadata for each custom record type.C# Sample<strong>NetSuite</strong>Service nss = new <strong>NetSuite</strong>Service();// credential code ignored here in this sample ...// Perform getCustomizationId on custom record typeCustomizationType ct = new CustomizationType();ct.getCustomizationTypeSpecified=true;<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!