post https://api.consentric.io/captured-transactions-import
Imports citizens with optional Transactions, Preferences and Email Addresses.
Returns details about an import Job which can be used to check on the progress of the import.
Upload files should be CSV files with the structure show in the example below, where the first row is column titles.
Columns can appear in any order.
Example table with required columns to create a citizen, transaction and preference.
The following column headers can be added which specify additional optional fields on a transaction:
emailAddress, validFrom, validUntil, obtainedAt, source, campaign, channel, sourceSystem, sourceSystemReference
uniqueReference | privacyPolicyId | permissionStatementId | optionId | optionType | justification | state | reference | values |
---|---|---|---|---|---|---|---|---|
uniqueRef-001 | prPol-01 | permStat-01 | opt-01 | group | consent | GRANTED | contact-channels-preference | phone|post |