All pages
Powered by GitBook
1 of 1

Loading...

Remove default lookup code

Use case

We have created lookup codes for the status of loan applications: CREATED, ACCEPTED, and DECLINED. We have marked the value CREATED as default.

Here we will remove the default value from the list. Keep in mind that the lookup code is not removed, the default code is unmarked as default.

Use case data
API parameters with values

The first path parameter is the entity name (in this case, LOAN.LOAN_APPLICATION).

The second path parameter is the lookup type code (in this case, STATUS).

Sample API call

To remove the default value, use the following endpoint:

Learn more about the remove default lookup code endpoint in the Tuum developer portal.

Sample response

Below you will find the response to the sample request:

Result

The lookup code CREATED has been unmarked as the default value.

https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/LOAN.LOAN_APPLICATION/lookup-type/STATUS/remove-default

Response
"...entity/LOAN.LOAN_APPLICATION..."
"...lookup-type/STATUS..."
{
    "errors": null,
    "validationErrors": null,
    "data": null
}