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> Operationsupsert262RequestThe UpsertRequest 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.ResponseThe UpsertResponse type is used for the response. It contains the following fields.Element Name XSD Type Notesresponse WriteResponse Contains details on the status of the operation and a reference tothecreated or updated record.Faults• This operation can throw one of the following faults. See SOAP Fault Status Codes formore information.• InvalidSessionFault• InvalidCredentialsFault• ExceededRequestLimitFault• ExceededUsageLimitFault• ExceededRecordCountFault• ExceededRequestSizeFault• UnexpectedErrorFault• This operation returns the following run-time error if the passed record type does notsupport the external ID field:INVALID_RCRD_TYPE: does not support external ID and cannot be used with upsert• This operation returns the following run-time error if passed data includes internal ID:USER_ERROR: You cannot set internalId with upsert.• This operation returns the following run-time error if passed data does not includeexternal ID:USER_ERROR: This operation requies a value for externalId.For more information about error codes, see Error Status Codes.<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!