Create legal person
Use case
Use case data
API parameters with values
Sample API call
Sample request
{
"personTypeCode": "L",
"name": "New company Ltd",
"addresses": [
{
"addressTypeCode": "R",
"street1": "Carnaby 10",
"cityCounty": "London",
"zip": "13347",
"countryCode": "GB"
}
],
"identificationNumber": {
"idNumber": "111111",
"idCountryCode": "GB"
}
}curl 'https://person-api.sandbox.tuumplatform.com/api/v2/persons' \
-H 'x-channel-code: SYSTEM' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDYtMTNUMjA6MDM6MDAiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2ODY2ODY1ODB9.bF0nEpm7Z1LgW08F9Fri-q1zAyDH5PsFwqhJCygdODQ' \
-H 'Content-Type: application/json' \
-d '{
"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
Result
Last updated
Was this helpful?