Create legal person
Use case
Here you can learn how to create a legal person - record of your customer's business organisation. In this example, we will use the following data:
Use case data
API parameters with values
Legal person
"personTypeCode": "L"
The company name is New company Ltd
"name": "New company Ltd"
The company registration address: Carnaby street 10, London, Great Britain, 13347
"addresses":
[
{
"addressTypeCode": "R",
"street1": "Carnaby 10",
"cityCounty": "London",
"zip": "13347",
"countryCode": "GB"
}
]
The company registration number is 111111
"identificationNumber": {
"idNumber": "111111",
"idCountryCode": "GB"
}
Sample API call
To create a legal person, make the following API call.
https://person-api.sandbox.tuumplatform.com/api/v2/persons
Sample request
Below is an example request body of the API call for creating a legal person.
{
"personTypeCode": "L",
"name": "New company Ltd",
"addresses": [
{
"addressTypeCode": "R",
"street1": "Carnaby 10",
"cityCounty": "London",
"zip": "13347",
"countryCode": "GB"
}
],
"identificationNumber": {
"idNumber": "111111",
"idCountryCode": "GB"
}
}
Sample response
Below you will find an example response to the API call from above.
Result
A new legal person ID-3397
is created and activated. The legal person record is now available for the further actions.
Last updated
Was this helpful?