Create counterparty group

Purpose

Creates one or more counterparty groups from a JSON list, optionally with initial members. The response is the list of the id values of the created groups, in the order of the request.

Rights

  • COUNTERPARTY_ACCOUNT_WRITE
  • COUNTERPARTY_ACCOUNT_READ on the tenant's all-counterparties group
  • COUNTERPARTY_ACCOUNT_SKIP_4EYES changes the state of the initial memberships, see Effects

Rules

  • The request is all or nothing: when one group is invalid, FinologeeBKO creates none of them
  • description is optional
  • Two groups of the same request cannot have the same name. The name must also be unique in the tenant, see Counterparty Groups

Effects

  • FinologeeBKO creates the groups. The audit log records the creation
  • The counterparty accounts listed in counterpartyIds become members of the new group. With COUNTERPARTY_ACCOUNT_SKIP_4EYES, the memberships are approved immediately. Without it, they are pending until a second user approves them with Approve counterparty link
  • A new group gives no access by itself until administrators assign it to user groups, see Permissions

Errors

StatusWhen
403The API user does not have COUNTERPARTY_ACCOUNT_READ on the all-counterparties group

Related

Body Params

Create counterparty group request

counterpartyGroups
array of objects
required
length ≥ 1

List of counterparty groups to create

counterpartyGroups*

Request to create a counterparty group

counterpartyIds
array of int64s, unique

Id of counterparties to link to the group

counterpartyIds
string
required
length between 0 and 255

Counterparty group description

string
required
length between 0 and 255
^[^,]*$

Counterparty group name. It cannot contain commas.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json