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
    }
  ]
}

...