Mark lookup code as default
Use case
We have created lookup codes for the status of loan applications: CREATED
, ACCEPTED
, and DECLINED
.
Here we will mark the value CREATED
as default.
Use case data
API parameters with values
The first path parameter is the entity name (in this case, LOAN.LOAN_APPLICATION).
"...entity/LOAN.LOAN_APPLICATION..."
The second path parameter is the lookup type code (in this case, STATUS).
"...lookup-type/STATUS..."
The third path parameter is the lookup code that we want to mark as default (in this case, CREATED).
"...lookup/CREATED/...
Sample API call
To mark the lookup as default, use the following endpoint:
https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/LOAN.LOAN_APPLICATION/lookup-type/STATUS/lookup/CREATED/mark-default
Sample response
Below you will find the response to the sample request:
Result
The lookup code CREATED
has been marked as default.
Last updated
Was this helpful?