Creditsafe Connect

Creditsafe Connect

(0 reviews)

Running a Decision on a Company

The Creditsafe Decision Engine allows you to automate day-to-day operational decisons that allow you to streamline your processes, save you time and grow your business. Return outcomes such as credit decisions with a single call. By implementing workflows based on your own polices and driven by our market-leading business data.

Before you can run a decision through Connect you need to have;

  • Been setup by your account manager to use this feature
  • Designed and implemented a decision tree (and you have the GUID of the Decision Tree)
  • Have a valid authorisation token - see "Getting Authenticated"
  • Have the companyID of the company you want to process the decision on - see "Searching Companies"

Running a decision on a company

The response will be in the following format

GET https://connect.creditsafe.com/v1/decisionEngine/{decisionTreeGuid}?companyId={companyId}

HEADERS
Key: Authorization, Value: authToken
Key: Content-Type, Value: application/json

{
"Decision":"",
"Audit": 
 {
  "RuleName": "testrule1",
  "description": "passed"
 }
}

The decision is returned and the result of each of the decision branches will be returned within the Audit element

Example as follows for a decision from a tree with three branches;

{
    "Decision": "Cred Lim D",
    "Audits": [
        {
            "description": "Company Report Returned",
            "RuleName": "Connect API Call"
        },
        {
            "description": "0.0",
            "RuleName": "Turnover <75000"
        },
        {
            "description": "Not Rated",
            "RuleName": "check score rule fail"
        },
        {
            "description": "0.0",
            "RuleName": "Check Limit Rule Decline"
        }
    ]
}

Reviews