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> OperationsupdateList253Note: As of the 2011.2 endpoint, when a record is updated and the values that are sentare exactly the same as the existing record values, the record is not reset (nothinghappens). In previous endpoints, sometimes records were reset in these cases.RequestThe UpdateListRequest type is used for the request. It contains the following fields.Element Name XSD Type Notesrecord[] Record Contains an array of record objects. The record type is an abstracttype so an instance of a type that extends record must be used—such as Customer or Event.Note: An asynchronous equivalent is available for this operation, asyncUpdateList. Forinformation about asynchronous request processing, see Synchronous andAsynchronous Request Processing.ResponseThe UpdateListResponse type is used for the response. It contains the following fields.Element Name XSD Type Notesresponse[] WriteResponse Contains an array of WriteResponse objects, each of whichcontains details on the status of that update operation and areference to the created record.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 CodeSOAP RequestIn the following example, two customer records are updated. The first has the single fieldcompanyName updated, while the second updates two fields, entityID and companyName.<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!