Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

Code Block
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:

...

If you have any queries or require additional assistance, please feel free to use the comment function or reach out to support@avallone.io. Our customer success team is always available to help you and ensure that you derive the most out of our platform.