Create companies and relationships

Here is an example of creating a few companies and relationships:


PUT https://api.avallone.io/v1/sync Authorization: Bearer <token> Content-Type: application/json { "companies": [ { "referenceId": "a", "name": "a", "registrationNumber": "a", "incorporationCountryCode": "GB", "parentCompanies": [] }, { "referenceId": "b", "name": "b", "registrationNumber": "b", "incorporationCountryCode": "DK", "parentCompanies": [ { "referenceId": "a", "ownership": 25 } ] }, { "referenceId": "c", "name": "c", "registrationNumber": "c", "incorporationCountryCode": "PL", "parentCompanies": [ { "referenceId": "a", "ownership": 25 } ] }, { "referenceId": "d", "name": "d", "registrationNumber": "d", "incorporationCountryCode": "DE", "parentCompanies": [ { "referenceId": "c", "ownership": 25 } ] } ] }

This would result with the following structure rendered:


Need more help?

Contact us on support@avallone.io and we will get in contact with you as fast as possible.