...
...
Overview
The following operations allow you to work with "update". Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with "update", see Sample configuration.
Operation details
This section provides details on the operation.
Updating a listThe updateList
operation is used to update one or more instances of a record type in NetSuite. If there are multiple records, they can be either of the same record type or of different record types. For example, it's possible to update a customer and a contact within a single request using this operation.
...
Code Block |
---|
language | xml |
---|
title | updateList |
---|
|
<netsuite.updateList>
<records>{$ctx:records}</records>
</netsuite.updateList> |
Properties
records:
One or more records that need to be updated.
Sample requestFollowing is a sample SOAP request that can be handled by the updateList operation.
Code Block |
---|
language | xml |
---|
title | Sample Request for updateList |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="wso2.connector.netsuite.updatelist">
<soapenv:Header></soapenv:Header>
<soapenv:Body>
<urn:apiUrl>https://webservices.na1.netsuite.com/services/NetSuitePort_2014_1</urn:apiUrl>
<urn:warningAsError></urn:warningAsError>
<urn:disableMandatoryCustomFieldValidation></urn:disableMandatoryCustomFieldValidation>
<urn:disableSystemNotesForCustomFields></urn:disableSystemNotesForCustomFields>
<urn:ignoreReadOnlyFields></urn:ignoreReadOnlyFields>
<urn:partnerId></urn:partnerId>
<urn:applicationId></urn:applicationId>
<urn:email>user@gmail.com</urn:email>
<urn:password>123</urn:password>
<urn:account>TVTDRV1193710</urn:account>
<urn:roleInternalId></urn:roleInternalId>
<urn:roleExternalId></urn:roleExternalId>
<urn:roleType></urn:roleType>
<urn:roleName></urn:roleName>
<urn:records>
<platformMsgs:record internalId="3651" xsi:type="listRel:Customer"
xmlns:listRel="urn:relationships_2014_1.lists.webservices.netsuite.com"
xmlns:platformMsgs="urn:messages_2014_1.platform.webservices.netsuite.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<listRel:companyName>Wos2, Inc</listRel:companyName>
<listRel:lastName>John</listRel:lastName>
</platformMsgs:record>
</urn:records>
</soapenv:Body>
</soapenv:Envelope> |
https://system.na1.netsuite.com/help/helpcenter/en_US/Output/Help/SuiteCloudCustomizationScriptingWebServices/SuiteTalkWebServices/updateList.html
Sample configuration
Following is a sample proxy service that illustrates how to connect to NetSuite with the init operation and use the updateList
operation. The sample request for this proxy can be found in updateList sample request. You can use this sample as a template for using other operations in this category.
...