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).
The second path parameter is the lookup type code (in this case, PERSON_ADDRESS_TYPE)
To find the lookup types, use the following endpoint:
Below you will find the response to the sample request:
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.
https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/PERSON.ADDRESS/lookup-type/PERSON_ADDRESS_TYPE/lookup-settings
Learn more about the f endpoint in the Tuum developer portal.
You can also get similar responses using the module-specific API endpoint.
For example, you can use this :
person-api.sandbox.tuumplatform.com
/api/v1/entity/PERSON.ADDRESS/lookup/PERSON_ADDRESS_TYPE
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:
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.
https://lookup-api.sandbox.tuumplatform.com/api/v1/lookup-type?groupCode=PERSON&entityName=PERSON.ADDRESS
Learn more about the endpoint in the Tuum developer portal.
You can also get similar responses using the module-specific API endpoint.
For example, you can use this and enter the entity name as the path parameter:
person-api.sandbox.tuumplatform.com
/api/v1/entity/PERSON.ADDRESS/lookup
First, we will associated with the person group.
We will for a particular entity.
Then we will for a particular lookup type code.
Finally, we will see how to for a specific lookup type.
Here we will find the translation for a particular address lookup type.
The first path parameter is the entity name (in this case, PERSON.ADDRESS).
The second path parameter is the lookup type code (in this case, PERSON_ADDRESS_TYPE).
The third parameter is the lookup type for which we want to find the translation (in this case, C).
The query parameter is the language code.
To find the translation, use the following endpoint:
Below you will find the response to the sample request:
We can see the translation for the address type C with this 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 endpoint in the Tuum developer portal.
Here we will find the entities associated with the PERSON group.
The query parameter is the group code (in this case, PERSON).
To find the entities, use the following endpoint:
Below you will find the response to the sample request:
We can see the list of entity names for the person module. Next, we will find the lookup types associated with the entity PERSON.ADDRESS.
https://lookup-api.sandbox.tuumplatform.com/api/v1/entity?groupCode=PERSON