Skip to main content

Upsert records (full records)

POST 

/v1/customerdatatable/:tableName

Customer data tables customer_data_table_1 .. customer_data_table_20: reference data for rules and enrichment, keyed per source system by source_record_id. Fields text_field_1..30, number_field_1..10, date_field_1..10, is_active; unknown fields are refused.

Keys: id, source_system + source_record_id. Rights: READ_CDT to read, POST_CDT to write (and READ_DATA / POST_DATA).

Up to 1,000 records. Each record is matched by its keys and created or updated as a whole: fields left out get their default (except fields marked "kept"). Whether a record of another source system, or one entered in Nuntiq, may be changed depends on the API user's record ownership: All records, All integrated records (never records entered in Nuntiq), All records where the source system matches (default: its own records; records entered in Nuntiq are taken over), or All integrated records where the source system matches (its own records only). Otherwise the record is refused (owned_by_other_source). Only real changes are written; the answer says per record created, updated (with the changed fields) or unchanged.

Request​

Responses​

Every record succeeded