Request

curl --location 'https://api.insights-periculum.io/creditscore/custom-decision' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '	{
		"CustomerId":"1",
		"scorecardDefinitionName":"XYZ",
		"CustomScorecardFields":
		[
				{
				"fieldname":"Age",
				"fieldvalue":"26",
				"isComputed":false
				}
		]
	}'

Parameters

NameDescriptionTypeRequired
CustomerIdCustomer Id to identify recordstringYes
scorecardDefinitionNameScorecard definition name is the scorecard being used to generate scorestringYes
CustomScoreCardFields[x].fieldnameField namestringYes
CustomScoreCardFields[x].fieldvalueField valuestringYes
CustomScoreCardFields[x].isComputedIf the field is calcalution of any other two scorecard fieldsbooleanYes