Skip to main content
POST
/mapping/apply

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

uid
integer

Optional publisher uid. Integrations available to that publisher's organisation chain (its organisation, its parents and CORE) are accepted for every record, in place of the caller's own chain. The caller must be able to access the publisher (404 Not Found otherwise). Rarely needed: a record's integration is accepted anyway when it is available to the organisation of the record's own entity.

Body

application/json
records
object[]
required

The mapping records. Each carries its own integration_id, so one request can span integrations. A missing records is treated as an empty list; a non-array is a 400.

mode
enum<string>
default:overwrite

overwrite inserts or replaces each (integration, level, entity, field) value. append only writes keys with no stored row yet (an existing value, empty row or wnm row counts as set) and counts the rest as skipped. Any other value behaves as overwrite. Array values always replace the stored array.

Available options:
overwrite,
append

Response

What was written, skipped and refused.

results
object
required
success
enum<boolean>
required

Always true on success.

Available options:
true