Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The following example lets you sync a company, officer, and related them using a role

PUT https://api.avallone.io/v1/sync
Authorization: Bearer <token>
Content-Type: application/json

{
  "companies": [
    {
      "referenceId": "acme-inc",
      "name": "Acme Inc",
      "registrationNumber": "acme-inc",
      "incorporationCountryCode": "DK",
      "relatedOfficers": [
        {
          "referenceId": "john-doe",
          "roles": [
            {
              "name": "board of directors",
              "title": "Board Member"
            }
          ],
          "ownership": 30,
          "voting": 30
        }
      ]
    }
  ],
  "officers": [
    {
      "referenceId": "john-doe",
      "firstName": "John",
      "lastName": "Doe",
      "isPep": false
    }
  ]
}

The relation can be visualized as follows:

  • No labels