Find lookup type codes
Last updated
Was this helpful?
Last updated
Was this helpful?
Here we will find the existing lookup type codes under the PERSON.ADDRESS entity.
The first query parameter is the group code (in this case, PERSON).
The second query parameter is the entity name (in this case, PERSON.ADDRESS).
To find the lookup type codes, use the following endpoint:
https://lookup-api.sandbox.tuumplatform.com/api/v1/lookup-type?groupCode=PERSON&entityName=PERSON.ADDRESS
Below you will find the response to the sample request:
We can see the list of lookup type codes for the PERSON.ADDRESS entity. The sample response shows that there are 2 types of addresses that are valid for a person - private and legal. Next, we will find the address lookup types for private persons.