Contacts

Manage document associations in bulk

Queues explicit contact associations for up to 200 visible archive documents. Add keeps existing links; remove takes the selected contacts off the documents — their links AND their automatic fiscal matches, like anagrafiche_remove_match; replace sets the explicit links to the selected contacts (an empty list clears them) and leaves automatic matches as they are. Returns a job id; read its status at GET /api/v1/anagrafiche/links/bulk/{jobId}. Requires permission to read documents and write each contact. Confirm removals with the user first.

post/api/v1/rest/anagrafiche/links/bulk

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/anagrafiche/links/bulk
  • Auth: HTTP bearer

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Request body

documentIdsstring[] required
partyIdsstring[] required
operation'add' | 'remove' | 'replace' required

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.