Update custom field value
Use case
We want to update the value of a custom field in a particular loan contract.
Use case data
API parameter with values
The field ID and the value you want to update for the field.
"fieldId": "AssetVal",
"fieldValue": "4500"
The entity name and the contract number for which you want to update the custom value.
"sourceName": "LOAN.CONTRACT_HEADER",
"sourceRef": "INST2-1000"
Sample API call
To update the custom field value, use the following endpoint:
https://loan-api.sandbox.tuumplatform.com/api/v1/custom-fields/value
Sample request
The sample request body is as follows:
{
"source": {
"sourceName": "LOAN.CONTRACT_HEADER",
"sourceRef": "INST2-1000"
},
"fieldId": "AssetVal",
"fieldValue": "4500"
}
Sample response
Below you will find the response to the sample request:
Result
We have now updated the value of the custom field fieldValue
for the loan contract:
From the previous value 5000,
To the new value 4500.
Last updated
Was this helpful?