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
Name | Description | Type | Required |
---|---|---|---|
CustomerId | Customer Id to identify record | string | Yes |
scorecardDefinitionName | Scorecard definition name is the scorecard being used to generate score | string | Yes |
CustomScoreCardFields[x].fieldname | Field name | string | Yes |
CustomScoreCardFields[x].fieldvalue | Field value | string | Yes |
CustomScoreCardFields[x].isComputed | If the field is calcalution of any other two scorecard fields | boolean | Yes |