Find translation of lookup type

Use case

Here we will find the translation for a particular address lookup type.

Use case data
API parameters with values

The first path parameter is the entity name (in this case, PERSON.ADDRESS).

".../PERSON.ADDRESS/lookup-type/..."

The second path parameter is the lookup type code (in this case, PERSON_ADDRESS_TYPE).

".../PERSON_ADDRESS_TYPE/lookup/..."

The third parameter is the lookup type for which we want to find the translation (in this case, C).

".../C/translation..."

The query parameter is the language code.

"...translation?languageCode=en"

Sample API call

To find the translation, use the following endpoint:

https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/PERSON.ADDRESS/lookup-type/PERSON_ADDRESS_TYPE/lookup/C/translation?languageCode=en

Learn more about the find lookup transaction endpoint in the Tuum developer portal.

Sample response

Below you will find the response to the sample request:

Response
{
  "errors": null,
  "validationErrors": null,
  "data": "Correspondence address"
}

Result

We can see the translation for the address type C with this endpoint.

Last updated

Was this helpful?