Returns a log of all previously ran decisions that the user has permission to access, optionally filtered.
Endpoints to access pre-configured decision trees to automate credit decisions. Decision Engine can help you save time and money across your company by automating time consuming processes which drain your company's resources. This can free you and your staff to spend more time to work on achieving your business goals.
A full audit trail of previous decisions is maintained for user access and decisions in a pending state can be manually approved or declined.
Filter the returned usage log by the GUID for the associated decision trees, obtained from /GUID
.
Filter the returned usage log by the Connect ID for the associated companies for each decision.
Filter the returned usage log by the Company Name for the associated companies for each decision.
curl -i -X GET \
'https://creditsafe-connect-api.redocly.app/_mock/connect-apis-catalog/product-catalog/checkdecide/checkanddecide/decisionEngine/usageLog?companyId=US001-X-US60521352&companyName=CREDITSAFE&fromDate=2019-08-24T14%3A15%3A22Z&page=1&pageSize=0&provenirId=repoObj_0ed6a4aa_16e17d977e9_07ffb16e17d977e9&status=1&toDate=2019-08-24T14%3A15%3A22Z' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "totalCount": 3108, "usageLog": [ { … } ] }
curl -i -X GET \
'https://creditsafe-connect-api.redocly.app/_mock/connect-apis-catalog/product-catalog/checkdecide/checkanddecide/decisionEngine/usageLog/{decisionLogId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
The unique identifier of the decision tree.
The unique identifier for the user's account, used across the Creditsafe product suite.
The connectId of the company that the decision was ran on. A connectId is the primary Company identifier that is used to uniquely identify all companies across Creditsafe's Universe and Partner Network.
The name of the company that the decision was ran on.
Displays the optional text passed through to be stored against the decision in the original call to /{provenirId}
. Typically used for internal identifiers (e.g. SalesForce IDs).
The status of the decision. typically, 1 is reserved for positive outcomes, 2 for pending status and 3 for negative outcomes.
{ "correlationId": "23921650-c073-11ea-860f-06bc8182190e", "decisionLogId": 64492, "provenirId": "repoObj_0ed6a4aa_16e17d977e9_07ffb16e17d977e9", "friendlyName": "Check & Decide Demo", "userId": 101445010, "companyId": "US001-X-US60521352", "companyName": "CREDITSAFE USA INC.", "response": { "Decision": "Reject", "DecisionText": "The Sales Value requested is greater than Creditsafe's recommended credit limit.", "Audits": [ … ], "statusCode": 3 }, "decisionDate": "2019-08-24T14:15:22Z", "originationId": "SFC-1976", "status": 3, "notes": "string", "modifiedDate": "2019-08-24T14:15:22Z" }
curl -i -X PATCH \
'https://creditsafe-connect-api.redocly.app/_mock/connect-apis-catalog/product-catalog/checkdecide/checkanddecide/decisionEngine/usageLog/{decisionLogId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json'
The unique identifier of the decision tree.
The unique identifier for the user's account, used across the Creditsafe product suite.
The connectId of the company that the decision was ran on. A connectId is the primary Company identifier that is used to uniquely identify all companies across Creditsafe's Universe and Partner Network.
The name of the company that the decision was ran on.
Displays the optional text passed through to be stored against the decision in the original call to /{provenirId}
. Typically used for internal identifiers (e.g. SalesForce IDs).
The status of the decision. typically, 1 is reserved for positive outcomes, 2 for pending status and 3 for negative outcomes.
{ "correlationId": "23921650-c073-11ea-860f-06bc8182190e", "decisionLogId": 64492, "provenirId": "repoObj_0ed6a4aa_16e17d977e9_07ffb16e17d977e9", "friendlyName": "Check & Decide Demo", "userId": 101445010, "companyId": "US001-X-US60521352", "companyName": "CREDITSAFE USA INC.", "response": { "Decision": "Reject", "DecisionText": "The Sales Value requested is greater than Creditsafe's recommended credit limit.", "Audits": [ … ], "statusCode": 3 }, "decisionDate": "2019-08-24T14:15:22Z", "originationId": "SFC-1976", "status": 3, "notes": "string", "modifiedDate": "2019-08-24T14:15:22Z" }