Create fields with copied values
Use case
Use case data
API parameter with values
Sample API call
Sample request
{
"fieldId": "internalCreditRating",
"name": "Measures probability of default according to internal credit rating model",
"fieldSetId": "CreditCheck",
"valueType": "TEXT",
"unique": false,
"required": false,
"active": true,
"copyFromEntityName": "RISK.SCORING_DECISION",
"copyFromFieldId": "internalCreditRating"
}curl -X 'POST' \
'https://risk-api.sandbox.tuumplatform.com/api/v1/custom-fields/RISK.SCORING_REQUEST/field' \
-H 'accept: */*' \
-H 'x-channel-code: SYSTEM' \
-H 'x-tenant-code: MB' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDgtMjdUMTk6MjQ6MzUiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2OTMxNjQyNzV9.KJZZkUnt78W3AQ1him30sETCp1WIGFvnRK9h-QGnbmo' \
-H 'Content-Type: application/json' \
-d '{
"fieldId": "internalCreditRating",
"name": "Measures probability of default according to internal credit rating model",
"fieldSetId": "CreditCheck",
"valueType": "TEXT",
"unique": false,
"required": false,
"active": true,
"copyFromEntityName": "RISK.SCORING_DECISION",
"copyFromFieldId": "internalCreditRating"
}'Sample response
Result
Last updated
Was this helpful?