Syncs

Fill a consumer's mapping values

Changed on

Fills the empty mapping values of tables (every table the consumer's plan needs when null) with AI. A value is written with origin: ai and never replaces one a human or a rule set, unless force_all: then it replaces every value but the hidden rows'. Read them with GET …/mappings/{table_key}.

post/consumers/{consumer_id}/syncs/{syncid}/ai-fill

Request

Path parameters

consumer_idstring uuid required
syncidstring uuid required

Request body

tablesstring[] nullable

Keys of the tables to fill. Null fills every table the consumer's plan needs.

force_allboolean

Replace every value the filler proposes, whoever set it (a human's included). Rows the consumer hid stay hidden.

Example request

{
  "tables": [
    "spend_to_accounting.PurchaseVatCodes"
  ]
}

Response

Successful Response

Changes