Method: GET /person/trustManagement
OpenAPI/Swagger: https://ar-rest.rik.ee/docs#/Person/get_trust_management
Returns trusts and their related persons. Search by trust name or by the details of a related natural person. includeBeneficialOwners controls whether beneficial owner data is requested. The persons list contains related persons, not just beneficial owners: it can be populated when beneficiariesTotal is 0.
Query parameters
| Parameter |
Type |
Required |
Description |
|---|
| trustManagementName |
string |
Optional |
Name of the trust |
| personFirstName |
string |
Optional |
First name of the related natural person |
| personSurname |
string |
Optional |
Family name of the related natural person |
| personBirthday |
string (date) |
Optional |
Date of birth of the related natural person |
| identityCode |
string |
Optional |
ID code of the related natural person |
| includeBeneficialOwners |
boolean |
Optional |
Whether to include beneficial owner data. firstName, lastName and identityCodeCountry are required when true. Default: false. |
| firstName |
string |
Conditional |
Requester’s first name. Required when includeBeneficialOwners=true. |
| lastName |
string |
Conditional |
Requester’s last name. Required when includeBeneficialOwners=true. |
| identityCodeCountry |
string |
Conditional |
Requester’s identity code country. Required when includeBeneficialOwners=true. |
| viewerIdentityCode |
string |
Optional |
Identity code or foreign code of the person requesting beneficial owner data. |
| viewerBirthday |
string (date) |
Optional |
Date of birth of the person requesting beneficial owner data. |
| queryReason |
string |
Optional |
Reason for querying beneficial owners data |
| connectionToCompany |
string |
Optional |
Connection to the trust for which beneficial owners data is being queried |
| onlyValid |
boolean |
Optional |
Display only valid data |
| pageNumber |
integer |
Optional |
Results page number. Default: 1. Range: 1–100000. |
| pageSize |
integer |
Optional |
Results per page. Default: 100. Range: 1–1000. |
Header parameters
| Parameter |
Type |
Required |
Description |
|---|
| apiVersion |
ApiVersions |
Optional |
API version. Allowed and supported value: V1. Default: V1. |
| acceptLanguage |
AcceptLanguage |
Optional |
Language of classifier translations: est – Estonian, eng – English. Default: est. |
Response schema
TrustManagementResponse
| Field |
Type |
Description |
|---|
| total |
integer (int64) |
Required. The total number of entities. |
| list |
array[TrustManagement] |
Required. List of Trust Managements |
TrustManagement
| Field |
Type |
Description |
|---|
| trustManagementId |
integer |
Required. Internal ID of the Trust |
| trustName |
string |
Required. Name of the trust At least 1 character. |
| registrationDate |
string (date) |
Required. Registration date of the trust |
| deletionDate |
string (date) | null |
Date of the deletion |
| status |
string | null |
Status of the trust |
| statusAsText |
string | null |
Status of the trust as text |
| country |
string | null |
Country code of the trust |
| countryAsText |
string | null |
Country of the trust as text At least 1 character. |
| beneficiariesTotal |
integer |
Required. Total number of beneficiaries. |
| hiddenBeneficiariesNumber |
integer |
Required. Number of hidden beneficial owners |
| filedNoBeneficiaryNotice |
boolean |
Required. Has a discrepancy notice of no beneficiaries been filed. |
| persons |
array[TrustManagementPerson] |
Required. Persons related to the trust |
TrustManagementPerson
| Field |
Type |
Description |
|---|
| personInfo |
PersonRolesInfo |
Required. Person details and role. |
| residenceCountry |
string | null |
Country of residence |
| residenceCountryAsText |
string | null |
Country of residence as text |
| addressCountry |
string | null |
Country of the address |
| addressCountryAsText |
string | null |
Address country as text |
| authorityMethod |
string | null |
Authority method |
| authorityMethodAsText |
string | null |
Authority method as text |
| beneficiaryDiscrepancyFiled |
boolean | null |
Whether a discrepancy notice has been filed for the beneficiary. |
| startDate |
string (date-time) | null |
Start date |
| endDate |
string (date-time) | null |
Ending date |
PersonRolesInfo
| Field |
Type |
Description |
|---|
| role |
string |
Required. Person Role |
| roleAsText |
string |
Required. Person role as text |
| startDate |
string (date) | null |
Connection start date |
| endDate |
string (date) | null |
Connection end date |
| type |
string |
Required. Person type: F – natural person, J – legal entity. |
| firstName |
string | null |
First name |
| surnameLegalEntityName |
string |
Required. Family name or business name |
| identityCode |
string | null |
Required. ID code or registry code |
| foreignCode |
string | null |
Foreign ID code |
| foreignCodeCountry |
string | null |
Country of Foreign ID code |
| foreignCodeCountryAsText |
string | null |
Country of foreign ID code as text |
| birthday |
string (date) | null |
Date of birth |
| share |
ShareData | null |
Share ownership data (O, OSAN, S) |
ShareData
| Field |
Type |
Description |
|---|
| sharePercentage |
number | null (double) |
Share Percentage |
| shareSize |
number | null (double) |
Share Size |
| shareCurrencyAsText |
string | null |
Share Currency as text |
CustomValidationError
| Field |
Type |
Description |
|---|
| message |
string |
Required. Error message. |
| code |
APIError |
Required. Error code. Allowed values are listed in APIError. |
| id |
string | null |
Required. Error identifier. |
| timestamp |
string (date-time) |
Timestamp of the error |
HTTPValidationError
| Field |
Type |
Description |
|---|
| detail |
array[ValidationError] |
Validation errors. |
ValidationError
| Field |
Type |
Description |
|---|
| loc |
array[string | integer] |
Required. Location of the invalid value. |
| msg |
string |
Required. Error message. |
| type |
string |
Required. Error type. |
| input |
any |
Validated input value. |
| ctx |
object |
Additional validation error context. |
Person roles
| Code |
Description |
|---|
| UH.HALDUR |
Trustee |
| UH.LOOJA |
Settlor of the trust or arrangement |
| UH.MUUKONTROLL |
Other persons exercising control |
| UH.SOODUST |
Beneficiary |
| UH.VARASAIL |
Person ensuring and supervising the preservation of assets |
Responses
200 OK
Trusts with related natural persons and legal entities.
{
"total": 2,
"list": [
{
"trustManagementId": 81001,
"trustName": "Pilveaia usaldushaldus",
"registrationDate": "2024-05-15",
"deletionDate": null,
"status": "R",
"statusAsText": "Registered",
"country": "EST",
"countryAsText": "Estonia",
"beneficiariesTotal": 0,
"hiddenBeneficiariesNumber": 0,
"filedNoBeneficiaryNotice": false,
"persons": [
{
"personInfo": {
"role": "UH.HALDUR",
"roleAsText": "Trustee",
"type": "F",
"firstName": "Mari",
"surnameLegalEntityName": "Maasikas",
"identityCode": "48503151233",
"foreignCode": null,
"foreignCodeCountry": null,
"foreignCodeCountryAsText": null,
"birthday": "1985-03-15"
},
"residenceCountry": "EST",
"residenceCountryAsText": "Estonia",
"addressCountry": null,
"addressCountryAsText": null,
"authorityMethod": null,
"authorityMethodAsText": null,
"beneficiaryDiscrepancyFiled": null,
"startDate": "2025-02-14T00:00:00Z",
"endDate": null
},
{
"personInfo": {
"role": "UH.LOOJA",
"roleAsText": "Settlor of the trust or arrangement",
"type": "F",
"firstName": "Jüri",
"surnameLegalEntityName": "Juurikas",
"identityCode": "38006201232",
"foreignCode": null,
"foreignCodeCountry": null,
"foreignCodeCountryAsText": null,
"birthday": "1980-06-20"
},
"residenceCountry": "EST",
"residenceCountryAsText": "Estonia",
"addressCountry": null,
"addressCountryAsText": null,
"authorityMethod": null,
"authorityMethodAsText": null,
"beneficiaryDiscrepancyFiled": null,
"startDate": "2025-02-14T00:00:00Z",
"endDate": null
},
{
"personInfo": {
"role": "UH.MUUKONTROLL",
"roleAsText": "Other persons exercising control",
"type": "J",
"firstName": null,
"surnameLegalEntityName": "Pilvevara OÜ",
"identityCode": "14900012",
"foreignCode": null,
"foreignCodeCountry": null,
"foreignCodeCountryAsText": null,
"birthday": null
},
"residenceCountry": "EST",
"residenceCountryAsText": "Estonia",
"addressCountry": null,
"addressCountryAsText": null,
"authorityMethod": null,
"authorityMethodAsText": null,
"beneficiaryDiscrepancyFiled": null,
"startDate": "2025-02-14T00:00:00Z",
"endDate": null
}
]
},
{
"trustManagementId": 81002,
"trustName": "Pilveaia usaldushaldus",
"registrationDate": "2024-05-15",
"deletionDate": null,
"status": "R",
"statusAsText": "Registered",
"country": "EST",
"countryAsText": "Estonia",
"beneficiariesTotal": 0,
"hiddenBeneficiariesNumber": 0,
"filedNoBeneficiaryNotice": false,
"persons": [
{
"personInfo": {
"role": "UH.SOODUST",
"roleAsText": "Beneficiary",
"type": "F",
"firstName": "Erik",
"surnameLegalEntityName": "Esimerkki",
"identityCode": null,
"foreignCode": "FI-EXAMPLE-001",
"foreignCodeCountry": "FIN",
"foreignCodeCountryAsText": "Finland",
"birthday": "1988-08-12"
},
"residenceCountry": "FIN",
"residenceCountryAsText": "Finland",
"addressCountry": null,
"addressCountryAsText": null,
"authorityMethod": null,
"authorityMethodAsText": null,
"beneficiaryDiscrepancyFiled": null,
"startDate": "2025-02-14T00:00:00Z",
"endDate": null
},
{
"personInfo": {
"role": "UH.VARASAIL",
"roleAsText": "Person ensuring and supervising the preservation of assets",
"type": "J",
"firstName": null,
"surnameLegalEntityName": "Pilvevara OÜ",
"identityCode": "14900012",
"foreignCode": null,
"foreignCodeCountry": null,
"foreignCodeCountryAsText": null,
"birthday": null
},
"residenceCountry": "EST",
"residenceCountryAsText": "Estonia",
"addressCountry": null,
"addressCountryAsText": null,
"authorityMethod": null,
"authorityMethodAsText": null,
"beneficiaryDiscrepancyFiled": null,
"startDate": "2025-02-14T00:00:00Z",
"endDate": null
}
]
}
]
}
204 No Content
No matching data. The response has no body.
403 Forbidden
Service access denied. OpenAPI does not specify a response body schema.
404 Not Found
Illustrative error response. Code 4041 is permitted by APIError; OpenAPI does not define its meaning or associate it with a specific failure.
{
"message": "Illustrative error",
"code": 4041,
"id": null
}
422 Validation Error
Illustrative validation error: pageSize must be greater than 0.
{
"detail": [
{
"loc": [
"query",
"pageSize"
],
"msg": "Input should be greater than 0",
"type": "greater_than",
"input": 0,
"ctx": {
"gt": 0
}
}
]
}