ebs.massUpdate

Updates attribute values for multiple records. You can update records from different entities and you can update multiple attributes within the same record.

Syntax

Copy
ebs.massUpdateEbs(modifyRequest: IModifyRequestCollection, callback: any, errorCallback: any): void

Where IModifyRequestCollection has the following syntax:

Copy
[
            {
                Id: "<<i>record_id</i>>",
                EntityName: "<<i>parent_entity</i>>",
                Values: [{
                            Attribute: "<<i>attribute_name</i>>",
                            Value: "<<i>attribute_value</i>>"
                        }]
            },
            {
                Id: "<<i>record_id</i>>",
                EntityName: "<<i>parent_entity</i>>",
                Values: [{
                            Attribute: "<<i>attribute_name</i>>",
                            Value: "<<i>attribute_value</i>>"
                        }]
            }
]            
 
Parameter Description
record_id Unique identifier of the record you wish to update.
parent_entity Name of the parent entity of the record you wish to update.
attribute_name Name of the record's attribute you wish to update.
attribute_value The value you wish to allocate the record's attribute.

Response

void

Examples