ebs.updateEbs (Deprecated)

IMPORTANT!  
This function has been deprecated starting with v24.1. To re-enable it, use the the sys-do-not-allow-client-side-direct-data-updates system parameter.

Updates attribute values for a specific record. You can update multiple attributes of the same record in the same request.

Syntax

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

Where IModifyRequestCollection has the following syntax

Copy
{
        Id: "record_id",
        EntityName: "parent_entity",
        Values: [
            {
            Attribute: "attribute_name",
            Value: "attribute_value"
            },
            
            ...
            
            {
            Attribute: "attribute_name",
            Value: "attribute_value"
            }
        ]
    }<![CDATA[
]]>
 
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

 
Key Description
Id Unique identifier of he record you updated.
Message Indicates the outcome of the record update.
IsSuccess Indicates if the record update was successful.

Examples