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/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.)