bulkCreateOrUpdate
Purpose
Updates existing records or creates new records from a bulk CSV upload. The
output parameter is optional.
In your REST request you must specify a content-type HTTP header with a
value text/csv as your request body contains CSV data. Refer to online
resources for more information on HTTP headers.
HTTP Method
POST
URL
https://app.infiniteblue.com/rest/api/bulkCreateOrUpdateURL Parameters
sessionId
The session ID obtained from the body of the response when calling login.
mapId
The original ID of a previously created Data Import Map.
[fieldId][triggerId]
The ID of unique field used to identify records to be updated or the original ID of a Unique Fields Combination trigger.
synch
If
importMode
Specifies the import mode. Can be one of the following:
-
0 — Normal; runs all triggers and creates picklist values on the fly ifcreateAction istrue . Best to use with medium-sized uploads. -
1 — Test; limits upload to five records and displays results including debug information from triggers. Creates picklist values on the fly ifcreateAction istrue . Use to test before loading a full set of data. -
2 — Bulk; does not run triggers and does not create picklist values on the fly. Optimized for fast processing of large imports.
createAction
Boolean that specifies whether to create picklist values on the fly while importing. When
output
Optional parameter specifying the output format, one of:
Permissions Required
Edit permission for the object type of each requested record.
Response
Report on created/updated record similar to report after CSV import.