In this scenario, we will create a lookup type code STATUS with status codes for the LOAN.LOAN_APPLICATION entity.
The first path parameter is the entity name (in this case, LOAN.LOAN_APPLICATION).
In the body, we will enter the status codes that we want to create.
To create the lookup type code, use the following endpoint:
The sample request body is as follows:
Below you will find the response to the sample request:
We have created the look type code called STATUS
with the lookup types ACCEPTED
and CREATED
for loan applications.
The second path parameter is the lookup type code that we want to create (in this case, STATUS). Note: This must be a unique value. If you want to create lookup codes for an existing type, see the topic.
https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/LOAN.LOAN_APPLICATION/lookup-type/STATUS
Learn more about the endpoint in the Tuum developer portal.
Here we will create a lookup code DECLINED for an existing lookup type code STATUS for the LOAN.LOAN_APPLICATION entity.
To create the lookup code, use the following endpoint:
The sample request body is as follows:
Below you will find the response to the sample request:
We have created a new lookup code for the STATUS
lookup type for loan applications.
https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/LOAN.LOAN_APPLICATION/lookup-type/STATUS/lookup
Learn more about the endpoint in the Tuum developer portal.
First, we will learn how to with the codes.
Then, we will see how to for existing lookup types.
We will also for a lookup code.
The first path parameter is the entity name (in this case, LOAN.LOAN_APPLICATION).
The lookup code we want to create.
The second path parameter is the existing lookup type code (in this case, STATUS). Note: The lookup type must exist. If you want to create new lookup types, see the topic.
You can create or update the lookup code translation for a language using the language code.
Here we will create a translation for the lookup code DECLINED.
The first path parameter is the entity name (in this case, LOAN.LOAN_APPLICATION).
The second path parameter is the existing lookup type code (in this case, STATUS).
The third path parameter is the lookup code for which we want to create or update the translation (in this case, DECLINED).
The body consists of the language code and the translation text.
To create the translation, use the following endpoint:
The sample request body is as follows:
Below you will find the response to the sample request:
We have created a translation for the DECLINED
lookup code. You can also update the translation using the same endpoint.
https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/LOAN.APPLICATION/lookup-type/STATUS/lookup/DECLINED/translation
Learn more about the endpoint in the Tuum developer portal.