getPersonInformation

post
getPersonInformation

https://in.bisnode.ee/rest/getPersonInformation
Needed headers: Content-type: application/json This endpoint allows you to get general person information such as: * Personal code * First name and last name * Previous first name and last name (if exist) * Death date (if exists) * Personal address Example Curl request: curl -X POST -k -H 'Content-type: application/json' -i 'https://in.bisnode.ee/rest/getPersonInformation' --data '{ "token": "0c4386e0983540c97u8930de8570820f967827", "code": "12345678900", "language": "en" }'
Request
Response
Request
Query Parameters
language
optional
string
2-letter language code. Must be "en", "et" or "ru". Default is "en".
token
required
string
Your 'access token' (API key).
code
required
string
Personal code.
Response
200: OK
Response successfully retrieved
{
"personal_code": "12345678900",
"last_name": "Karllson",
"first_name": "Karl",
"ex_last_name": "Blumberg",
"ex_first_name": "Karl",
"death_date": null,
"address": "Harju maakond, Tallinn, Lasnamäe linnaosa, Oksa 1-15"
}
400: Bad Request
Invalid personal code
{
"error": "error",
"code": 400,
"message": "Code is mandatory"
}
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 person matching this query
{
"error": "error",
"code": 404,
"message": "No such person"
}
409: Conflict
{
"error": "error",
"code": 409,
"message": "Something went wrong"
}
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"
}