modify()

Updates one or more objects.

Syntax

            UpdateResult[] modifyResults = stub.modify(attributes, objects); 

          

Usage

Use the modify() command to update one or more objects. The maximum number of objects you can add with one single call is 1,000.

You can use the modify() command to update a User object. See the object reference for usage limitations specific to the User object.

Determine the internal ID of each object you want to update and construct an array of objects, each containing the object internal ID and the object properties you want to update.

You can also use an external ID property as a foreign key and update an object without querying the object internal ID first. See Related Object Lookup Using the SOAP API.

You can set custom field values as well as standard field values when updating objects. See Reading or Setting Custom Field Values Inline.

Arguments

Name

Type

Description

attributes

Attribute[]

Array of Attribute objects. See Add, Update and Upsert Attributes.

objects

oaBase[]

Array of oaBase objects

Response

UpdateResult[] — Array of UpdateResult objects.