Company rest API
The API returns company's bankruptcy and reorganization receiver information in JSON format, as specified by business id or duns number.
In order to use the API you must have the valid environment-specific username and password. Before any API requests, you need to obtain an API KEY. You will get a valid API KEY (it's called a ticket) by using the ticket API (Please, read how to use ticket API instructions).
The API KEY must be sent in the request custom header element (named ticket or x-api-key). If the API KEY value is valid then API request will be successful (http status code 200), otherwise it will fail (http status code 401). All API requests must be made over HTTPS.
API request parameters
| Parameter | Description | |
|---|---|---|
| id | Business id or duns number | X |
| X = Mandatory | ||
GET https://api-test.bisnode.fi/company/info/v2/bankruptcyandreorganizationadministrators/{id}
| Element | Description |
|---|---|
| businessId | Company's business id |
| dunsNumber | Company's duns number |
| incidentId | |
| caseIdYear | |
| caseIdNumber | |
| administratorRole | For descriptions see Codes API CodeKey = "BRA" |
| administratorName | |
| administratorCoName | |
| administratorPostalAddress | |
| administratorPostCode | |
| administratorPostOffice | |
| administratorPhoneNumber | |
| administratorFaxNumber | |
| administratorEmail | |
| administratorBusinessId | |
| lastModified |
curl 'https://api-test.bisnode.fi/company/info/v2/bankruptcyandreorganizationadministrators/0576687-3' -H 'x-api-key: 1234567890ABC'
Successful request and the API return results in JSON format.
{
"businessId": "0576687-3",
"dunsNumber": "401640040",
"bankruptcyAndReorganizationAdministrators": [
{
"incidentId": 133947,
"caseIdYear": 2016,
"caseIdNumber": 28979,
"administratorRole": "PES1",
"administratorName": "AA Vanhanen Erkki",
"administratorCoName": "Asianajotoimisto Heikkinen Oy",
"administratorPostalAddress": "Kauppakatu 22",
"administratorPostCode": "00130",
"administratorPostOffice": "HELSINKI",
"administratorPhoneNumber": "029 111 6299",
"administratorFaxNumber": "029 111 1200",
"administratorEmail": "[email protected]",
"administratorBusinessId": "",
"lastModified": "2017-10-06T06:43:13.317Z"
}
]
}
Please note that data coverage varies between companies. Data coverage depends e.g. on company form. Remember the codes and descriptions API returns all companies REST APIs code values and descriptions - read more.