Insert custom field values
Use case
We want to enter values for a custom field in a particular loan contract.
Use case data
API parameter with values
The field ID and the value you want to enter for the field.
"fieldId": "AssetVal",
"fieldValue": "5000"
The entity name and the contract for which you want to enter the value.
"sourceName": "LOAN.CONTRACT_HEADER",
"sourceRef": "INST2-1000"
Sample API call
To enter 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:
{
"fieldValues": [
{
"fieldId": "AssetVal",
"fieldValue": "5000"
}
],
"source": {
"sourceName": "LOAN.CONTRACT_HEADER",
"sourceRef": "INST2-1000"
}
}
Sample response
Below you will find the response to the sample request:
Result
We have entered a custom field value for a loan contract. The field ID is AssetVal
with the value 5000.
Last updated
Was this helpful?