Update the instances information.
You will need to call the GET /decisionEngine/instance/{guid}
endpoint to get the current configuration and then update the fields you want to change.
{- "templateId": "72a7e73e799a4c3ea2a8b89bd2002829",
- "guid": "02dce1bbb81b11ed962c01ff1787b18e",
- "decisionTreeName": "Test US after NL test update5",
- "customerId": 103361848,
- "inputParams": { },
- "configurationVariables": { },
- "scalarVariables": { },
- "value": {
- "templateId": "72a7e73e799a4c3ea2a8b89bd2002829",
- "guid": "232101f5cfbf11edb2a53f274007bfbe",
- "decisionTreeName": "Default US-Test Tree",
- "publilshed": true,
- "customerId": 103361848,
- "inputParams": {
- "creditAmount": {
- "labelName": "Sales Amount",
- "failedStatus": 3,
- "unavailableStatus": 2,
- "isMandatory": true,
- "orderInde": 100,
- "fieldType": "Integer"
}
}, - "configurationVariables": {
- "companyStatus": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2
}, - "internationalScore": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": "B"
}, - "riskScore": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 50
}, - "dbt": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 1
}, - "possibleOFAC": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2
}, - "estimatedAnnualRevenue": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 1000
}, - "yearsInBusiness": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 5
}, - "derogatoryLegalFilingsCount": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 3
}, - "derogatoryLegalFilingsValue": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 1000
}, - "numberOfEmployees": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 1000
}, - "bankruptcy": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2
}, - "totalNumberOfTradeLines": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 25
}, - "percentageOfTotalPastDue": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 15
}, - "percentageSeverelyPastDue": {
- "isRequired": true,
- "failedStatus": 2,
- "unavailableStatus": 2,
- "value": 10
}, - "businessCompliance": {
- "isRequired": false,
- "failedStatus": null,
- "unavailableStatus": 2,
- "value": null
}, - "directorCompliance": {
- "isRequired": true,
- "failedStatus": null,
- "unavailableStatus": null,
- "value": null
}
}, - "scalarVariables": {
- "creditLimitAdjustmentModifier": {
- "isRequired": false,
- "value": 1
}
}
}
}
{ }