If you do not want to use a custom field for an entity, you can deactivate it. Here we will learn how to do this.
The first path parameter is the entity name (in this case, LOAN.CONTRACT_HEADER).
The second path parameter is the field ID of the custom field that you want to deactivate.
To deactivate the custom field, use the following endpoint:
Below you will find the response to the sample request:
The custom field AssetVal
has been deactivated and will not be usable for the loan contract header entity.
https://loan-api.sandbox.tuumplatform.com/api/v1/custom-fields/LOAN.CONTRACT_HEADER/field/AssetVal/deactivate
Learn more about the endpoint in the Tuum developer portal.
To activate the field, use the endpoint and set the parameter as "active": true
.
We want to enter values for a custom field in a particular loan contract.
The field ID and the value you want to enter for the field.
The entity name and the contract for which you want to enter the value.
To enter the custom field value, use the following endpoint:
The sample request body is as follows:
Below you will find the response to the sample request:
We have entered a custom field value for a loan contract. The field ID is AssetVal
with the value 5000.
In this scenario, we want to copy the value of a custom field from a particular loan application to a loan offer.
The entity and the ID from which you want to copy the values (in this case, LOAN.APPLICATION).
The entity and the ID to which you want to copy the values (in this case, LOAN.OFFER).
To copy the custom field values, use the following endpoint:
The sample request body is as follows:
Below you will find the response to the sample request:
With this API call, we have copied the values of the custom field from the LOAN.APPLICATION
entity to the LOAN.OFFER
entity.
https://loan-api.sandbox.tuumplatform.com/api/v1/custom-fields/value
Learn more about the endpoint in the Tuum developer portal.
https://loan-api.sandbox.tuumplatform.com/api/v1/custom-fields/copy-values
Learn more about the endpoint in the Tuum developer portal.
To copy the values, the field to which you are copying must have the parameters copyFromEntityName
and copyFromFieldId
defined. To know how to set these parameters, see .
(If you have not defined these values while creating the field, you can also later.)
In this scenario, we have a value for one of the custom fields in a particular loan contract. Here we will see how to delete the custom field value.
The entity name (in this case, LOAN.CONTRACT_HEADER).
The loan contract number.
The field ID whose value you want to delete.
To delete the custom field value, use the following endpoint:
The sample request body is as follows:
Below you will find the response to the sample request:
The value of the custom field AssetVal
of the LOAN.CONTRACT_HEADER
entity has been deleted.
In this section, we will learn about the operations we can perform with custom fields for the Loan API entities.
https://loan-api.sandbox.tuumplatform.com/api/v1/custom-fields/value
Learn more about the endpoint in the Tuum developer portal.
for custom fields.
from one entity to another.
the custom field.
of a custom field.