getContacts

post
getContacts

https://in.bisnode.ee/rest/getContacts
This endpoint allows you to get company contacts such as: * Address * WWW * E-mail * Telephone * FAX Example request: { "token": "0c725874e737c8195de547f67692d8b976726561", "reg_code": "10117826", "country": "EST", }
Request
Response
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" or "LVA". Default is "EST".
200: OK
[
{
"type": "Address",
"type_code": "ADDRESS",
"content": "Endla tn 15, 10122, Tallinn, Harju maakond, Eesti Vabariik"
},
{
"type": "Internet address (www)",
"type_code": "WWW",
"content": "www.bisnode.ee"
},
{
"type": "E-mail address",
"type_code": "EMAIL",
"content": "info@bisnode.ee"
},
{
"type": "Telephone",
"type_code": "TEL",
"content": "+372 641 4910"
},
{
"type": "Fax",
"type_code": "FAX",
"content": "+372 641 4910"
}
]
400: Bad Request
Invalid country code
{
"error": "error",
"code": 400,
"message": "Only EST and LVA countries are 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"
}