Contract Party Management

Edit, confirm or reject a role

Changed on

Changes a role on a contract row. Any edit by a caller is a decision: an edited suggestion becomes confirmed unless state says otherwise. A suggestion moved to another party or role leaves a rejected role for the original so the next sync does not suggest it again.

patch/v1/parties/roles/{roleId}

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

roleId, string uuid required

Request body

PartiesRoleInput required
party_id, string uuid
role, 'partner' | 'our_party' | 'manager' | 'tenant' | 'previous_owner' | 'new_owner' | 'contact' | 'invoice_recipient'

partner the party the contract is signed with; our_party the workspace's own side; manager a Verwalter acting for another party; tenant a tenant, the effective partner while it enters_contract and its period covers the day; previous_owner and new_owner around an owner change; contact; invoice_recipient.

represents_id, string uuid nullable

Another role on the same contract.

valid_from, string date nullable
valid_to, string date nullable
enters_contract, boolean

Only counts for the tenant role.

state, 'suggested' | 'confirmed' | 'rejected'
note, string nullable

Response

The role.

PartiesRole required

One role a party holds on a contract row.

id, string uuid
customer_id, string uuid
contract_id, string uuid nullable
data_product_id, string uuid nullable
row_id, string nullable

The data product record id.

party_id, string uuid
role, 'partner' | 'our_party' | 'manager' | 'tenant' | 'previous_owner' | 'new_owner' | 'contact' | 'invoice_recipient'

partner the party the contract is signed with; our_party the workspace's own side; manager a Verwalter acting for another party; tenant a tenant, the effective partner while it enters_contract and its period covers the day; previous_owner and new_owner around an owner change; contact; invoice_recipient.

represents_id, string uuid nullable

For a Verwalter or contact: the role it acts for.

valid_from, string date nullable
valid_to, string date nullable
enters_contract, boolean
state, 'suggested' | 'confirmed' | 'rejected'
confidence, 'high' | 'medium' | 'low' nullable
evidence, PartiesRoleEvidence[]
origin, 'document' | 'reference' | 'capture' | 'registry' | 'contracts' | 'person' | 'import'
decided_by, string nullable
decided_at, string date-time nullable
note, string nullable
created_at, string date-time
updated_at, string date-time

Changes