Find lookup types
Use case
Here we will find the lookup types under the PERSON.ADDRESS entity and the PERSON_ADDRESS_TYPE lookup type code. This lookup type code refers to the address types valid for private persons.
The first path parameter is the entity name (in this case, PERSON.ADDRESS).
".../PERSON.ADDRESS/lookup/..."
The second path parameter is the lookup type code (in this case, PERSON_ADDRESS_TYPE)
".../PERSON_ADDRESS_TYPE"
Sample API call
To find the lookup types, use the following endpoint:
https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/PERSON.ADDRESS/lookup-type/PERSON_ADDRESS_TYPE/lookup-settings
Sample response
Below you will find the response to the sample request:
Result
We can see the list of address lookup types for private persons. This means that a person's address type must be one of the defined values. Next, we will find the translation for a particular lookup type.
Last updated
Was this helpful?