Create person financial data
Use case
In this example, we will show how to set up legal person financial data. We will modify New company Ltd and add assets as a currency worth 10000000 EUR.
The personId of the legal person. New company Ltd is ID-3394
.
...persons/ID-3394/financial-data
The financial data type code is assets.
"financialDataTypeCode": "ASSETS"
The financial data value type code is currency.
"financialDataValueTypeCode": "CURRENCY"
The currency code is EUR. The currencyCode follows ISO 4217 format.
"currencyCode": "EUR"
The period presents the count of months for the validity range and is 12 months.
"period": 12
The financial value for the current period is 10000000.
"currentPeriodValue": 10000000
Sample API call
To create financial data, call the following endpoint.
https://person-api.sandbox.tuumplatform.com/api/v1/persons/ID-3394/financial-data
Sample request
Below is an example request body of the API call for creating person representation.
{
"financialDataTypeCode": "ASSETS",
"financialDataValueTypeCode": "CURRENCY",
"currentPeriodValue": 10000000,
"currencyCode": "EUR",
"period": 12
}
Sample response
Below you will find an example response to the API call from above.
Result
Assets as a currency worth 10000000 EUR are added to the legal person.
Last updated
Was this helpful?