Delete lookup code
Use case
We have created lookup codes for the status of loan applications: CREATED
, ACCEPTED
, and DECLINED
.
Here we will delete the value DECLINED
from the list of lookup codes.
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 you want to delete (in this case, DECLINED).
"...lookup/DECLINED"
Sample API call
To delete the lookup code, use the following endpoint:
https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/LOAN.LOAN_APPLICATION/lookup-type/STATUS/lookup/DECLINED
Sample response
Below you will find the response to the sample request:
Result
The lookup code DECLINED
has been deleted from the list of lookup values for the status of loan applications.
Last updated
Was this helpful?