Delete custom field value
Use case
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.
Use case data
API parameter with values
The entity name (in this case, LOAN.CONTRACT_HEADER).
"sourceName": "LOAN.CONTRACT_HEADER"
The loan contract number.
"sourceRef": "INST2-1000"
The field ID whose value you want to delete.
"fieldId": "AssetVal"
Sample API call
To delete 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"
}
Sample response
Below you will find the response to the sample request:
Result
The value of the custom field AssetVal
of the LOAN.CONTRACT_HEADER
entity has been deleted.
Last updated
Was this helpful?