bulkCreateUpdate()

Purpose

Updates existing records or creates new ones using an existing import map and a supplied CSV string.

Syntax

bulkCreateUpdate(string sessionId, string mapId, [string uniqueFieldId|uniqueCombinationId], boolean sync, string csvString);

Parameters

sessionId

A string containing the session ID obtained at log in.

mapId

The original ID of an existing import map.

uniqueFieldId

ID of a unique field used to identify the records to be updated

uniqueCombinationId

ID of a Unique Fields Combination trigger

sync

A boolean value: if true, do synchronous import and return IDs of created records; if false, do asynchronous import.

uid

A CSV string containing import data.

Output

Comma-separated IDs of updated records for synchronous update

Permissions Required

Edit permission for the object type of each requested record. Create permission for the object type of each new record.