BulkUpsert-Async
There are two versions of BulkUpsert API calls, synchronous and asynchronous. This particular version is the asynchronous version where no more than 1000 records rows are subject to be inserted/updated on a data table at in a single call.
This method can be used for inserting new contacts and updating existing contacts in the master_contact table.
It takes a column list and a contactDatas array. All the data will be processed according to the columns list.
contact_key column in master_contact table is mandatory and unique across all the contacts.
So, for all items in the request body, the contact_key is mandatory parameter.
Apart from the predefined columns in master_contact table, the users are allowed to update their custom columns in this table, provided that the column name/value pair is compatible with the table structure.
If the operation is successful, the async upsert request will be sent to the system. This request returns a job id (transactionId) assigned to this async upsert job. This job id can be used to check the status of the job via this endpoint:
GET https://api.dengage.com/rest/bulk/async/contacts/{jobId}
Important Note
If there is multiple data affecting the same row, the data in the last request will be upserted.