getPublicAnnouncements

post
getPublicAnnouncements

https://in.bisnode.ee/rest/getPublicAnnouncements
This endpoint allows you to get company debts for two last years such as: * Enforcement notices * Court decisions on debts Example request: { "token": "0c725874e737c8195de547f67692d8b976726561", "reg_code": "10117826", "country": "EST", }
Request
Response
Request
Query Parameters
token
required
string
Your 'access token' (API key).
reg_code
required
string
Company registration number.
country
optional
string
3-letter country code "EST". Default is "EST".
Response
200: OK
{
"enforcement_notices": [
{
"id": "111111",
"ata_id": "111111",
"debtor_name": "ABC OU",
"debtor_code": "11111111",
"birth_date": null,
"claim_amount": "66.10",
"amount": "138.10",
"post_amount": "164.50",
"deadline_date": "2019-01-01",
"claimant_type": null,
"claimant_code": null,
"claimant_area": "MUUD",
"debtor_type": "J",
"message_type": "T\u00e4itmisteade",
"action_type": null,
"created_at": "2019-06-18",
"checked_at": "2019-06-19",
"claimant_type_txt": "Unspecified"
}
],
"court_decisions_on_debt": [
{
"id": "111111",
"ata_id": "1111111",
"debtor_name": "ABC OU",
"debtor_code": "11111111",
"birth_date": null,
"claim_amount": "1111.14",
"amount": "2222.47",
"post_amount": null,
"deadline_date": null,
"claimant_type": null,
"claimant_code": null,
"claimant_area": "MUUD",
"debtor_type": "J",
"message_type": "Kohtu maksek\u00e4suosakonna m\u00e4\u00e4ruse k\u00e4ttetoimetamise teade",
"action_type": "Makseettepanek",
"created_at": "2019-06-17",
"checked_at": "2019-06-19",
"action_type_txt": "Payment proposal",
"claimant_type_txt": "Unspecified"
}
]
}
400: Bad Request
Invalid country code
{
"error": "error",
"code": 400,
"message": "Only EST country supported in this request"
}
401: Unauthorized
Invalid token
{
"error": "error",
"code": 401,
"message": "Token is wrong"
}
402: Payment Required
Not enough credit
{
"error": "error",
"code": 402,
"message": "Monthly requests limit exceeded"
}
403: Forbidden
{
"error": "error",
"code": 403,
"message": "This request is not allowed for you"
}
404: Not Found
Could not find a company matching this query
{
"error": "error",
"code": 404,
"message": "No such company"
}
409: Conflict
{
"error": "error",
"code": 409,
"message": "Something went wrong"
}
422: Unprocessable Entity
Validation failed
{
"error": "error",
"code": 422,
"message": "Schema validation error"
}
423: Locked
{
"error": "error",
"code": 423,
"message": "Locked. Wait for previous request to complete"
}
500: Internal Server Error
{
"error": "error",
"code": 500,
"message": "Internal Server Error"
‚Äč