Download OpenAPI specification:Download
Contains functionality around credit risk.
For endpoints that support localization the language can be passed either as a query string parameter (using the name 'language') or in the 'accept-language' header.
If no language is passed to such endpoints then the default configured language will be used.
Calculate the risk of the credit instance against the risk model defined for the credit facility.
| instanceid required | integer <int32> |
| creditfacilityid required | integer <int32> |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "riskClassTypeId": 0,
- "riskClassTypeName": "string",
- "riskClassId": 0,
- "riskClassName": "string",
- "riskClassScore": 0
}Deletes an existing key risk indicator.
| id required | integer <int32> Key risk indicator id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets key risk indicators for provided key risk indicator id.
| id required | integer <int32> |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "id": 0,
- "name": "string",
- "isBoolean": true,
- "isPercentage": true,
- "storedProcedure": "string",
- "keyRiskIndicatorType": {
- "id": 0,
- "name": "string",
- "key": "string",
- "externalId": "string",
- "isRiskModel": true
}, - "key": "string",
- "collateralTypeId": 0,
- "collateralUsageId": 0,
- "creditFacilityTypeId": 0,
- "contactTypeId": 0,
- "details": [
- {
- "keyRiskIndicatorDetailId": 0,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true,
- "constraintTypeId": 0
}
]
}Modifies an existing key risk indicator. The risk values can be defined as a boolean, as a percentage or as a plain value if both are passed as false. If they are not passed they will both default to false.
| id required | integer <int32> Id of the key risk indicator that will be modified |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Patch key risk indicator request
| name | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| isBoolean | object (Api.Common.UpdateableProperty%3CBoolean%3E) Wrapper around properties used in patch requests |
| isPercentage | object (Api.Common.UpdateableProperty%3CBoolean%3E) Wrapper around properties used in patch requests |
| storedProcedure | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| keyRiskIndicatorTypeId | object (Api.Common.UpdateableProperty%3CInt32%3E) Wrapper around properties used in patch requests |
| key | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| collateralTypeId | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
| collateralUsageId | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
| creditFacilityTypeId | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
| contactTypeId | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": {
- "doUpdate": true,
- "value": "string"
}, - "isBoolean": {
- "doUpdate": true,
- "value": true
}, - "isPercentage": {
- "doUpdate": true,
- "value": true
}, - "storedProcedure": {
- "doUpdate": true,
- "value": "string"
}, - "keyRiskIndicatorTypeId": {
- "doUpdate": true,
- "value": 0
}, - "key": {
- "doUpdate": true,
- "value": "string"
}, - "collateralTypeId": {
- "doUpdate": true,
- "value": 0
}, - "collateralUsageId": {
- "doUpdate": true,
- "value": 0
}, - "creditFacilityTypeId": {
- "doUpdate": true,
- "value": 0
}, - "contactTypeId": {
- "doUpdate": true,
- "value": 0
}
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Deletes an existing key risk indicator detail.
| id required | integer <int32> KeyRiskIndicatorId |
| detailId required | integer <int32> KeyRiskIndicatorDetailId |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets a list of all the existing key risk indicators.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": 0,
- "name": "string",
- "isBoolean": true,
- "isPercentage": true,
- "storedProcedure": "string",
- "keyRiskIndicatorType": {
- "id": 0,
- "name": "string",
- "key": "string",
- "externalId": "string",
- "isRiskModel": true
}, - "key": "string",
- "collateralTypeId": 0,
- "collateralUsageId": 0,
- "creditFacilityTypeId": 0,
- "contactTypeId": 0,
- "details": [
- {
- "keyRiskIndicatorDetailId": 0,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true,
- "constraintTypeId": 0
}
]
}
]Creates a new key risk indicator. The risk values can be defined as a boolean, as a percentage or as a plain value if both are passed as false. If they are not passed they will both default to false.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Create key risk indicator request
| name required | string non-empty |
| keyRiskIndicatorTypeId required | integer <int32> |
| isBoolean | boolean |
| isPercentage | boolean |
| storedProcedure | string Nullable |
| key | string Nullable |
| collateralTypeId | integer <int32> Nullable |
| collateralUsageId | integer <int32> Nullable |
| creditFacilityTypeId | integer <int32> Nullable |
| contactTypeId | integer <int32> Nullable |
| details | Array of objects (CreateKeyRiskIndicatorDetailRequest) Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": "string",
- "keyRiskIndicatorTypeId": 0,
- "isBoolean": true,
- "isPercentage": true,
- "storedProcedure": "string",
- "key": "string",
- "collateralTypeId": 0,
- "collateralUsageId": 0,
- "creditFacilityTypeId": 0,
- "contactTypeId": 0,
- "details": [
- {
- "isSoftKnockout": true,
- "isHardKnockout": true,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "constraintTypeId": 0
}
]
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Modifies an existing key risk indicator detail. If "IsSoftKnockout" and "IsHardKnockout" are false this indicates that the details is read as pass.
| id required | integer <int32> KeyRiskIndicatorId |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
PatchKeyRiskIndicatorDetail request
| details | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.List%3CKeyRiskIndicatorDetail%3E%3E) Wrapper around properties used in patch requests |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "details": {
- "doUpdate": true,
- "value": [
- {
- "keyRiskIndicatorDetailId": 0,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true,
- "constraintTypeId": 0
}
]
}
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Creates a new key risk indicator detail. If "IsSoftKnockout" and "IsHardKnockout" are false this indicates that the details is read as pass.
| id required | integer <int32> KeyRiskIndicator ID |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Create Key Risk Indicator Details request
| isSoftKnockout required | boolean |
| isHardKnockout required | boolean |
| value | number <double> Nullable |
| minValue | number <double> Nullable |
| maxValue | number <double> Nullable |
| constraintTypeId | integer <int32> Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "isSoftKnockout": true,
- "isHardKnockout": true,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "constraintTypeId": 0
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets a list of all the existing key risk indicators and its details based on a filtering criteria. The available filters are credit facility id, credit facility type id, key risk indicator type id.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
| page | integer <int32> |
| pageSize | integer <int32> |
| creditFacilityIds | Array of integers <int32> Nullable |
| creditFacilityTypeIds | Array of integers <int32> Nullable |
| keyRiskIndicatorTypeIds | Array of integers <int32> Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "page": 0,
- "pageSize": 0,
- "creditFacilityIds": [
- 0
], - "creditFacilityTypeIds": [
- 0
], - "keyRiskIndicatorTypeIds": [
- 0
]
}{- "results": [
- {
- "id": 0,
- "name": "string",
- "isBoolean": true,
- "isPercentage": true,
- "storedProcedure": "string",
- "keyRiskIndicatorType": {
- "id": 0,
- "name": "string",
- "key": "string",
- "externalId": "string",
- "isRiskModel": true
}, - "key": "string",
- "collateralTypeId": 0,
- "collateralUsageId": 0,
- "creditFacilityTypeId": 0,
- "contactTypeId": 0,
- "details": [
- {
- "keyRiskIndicatorDetailId": 0,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true,
- "constraintTypeId": 0
}
]
}
], - "page": 0,
- "pageSize": 0,
- "pageCount": 0,
- "totalCount": 0
}Deletes an existing key risk indicator detail type.
| id required | integer <int32> Key risk indicator id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Modifies the details of a key risk indicator type.
| id required | integer <int32> KeyRiskIndicatorTypeId |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Request with parameters for patch
| name | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| key | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| externalId | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| isRiskModel | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CBoolean%3E%3E) Wrapper around properties used in patch requests |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": {
- "doUpdate": true,
- "value": "string"
}, - "key": {
- "doUpdate": true,
- "value": "string"
}, - "externalId": {
- "doUpdate": true,
- "value": "string"
}, - "isRiskModel": {
- "doUpdate": true,
- "value": true
}
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets a list of all the existing key risk indicator detail types.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": 0,
- "name": "string",
- "key": "string",
- "externalId": "string",
- "isRiskModel": true
}
]Creates a new key risk indicator detail type.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Create key risk indicator type request
| name required | string non-empty |
| isRiskModel required | boolean |
| key required | string non-empty |
| externalId | string Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": "string",
- "isRiskModel": true,
- "key": "string",
- "externalId": "string"
}{- "id": 0
}Deletes an existing rate.
| id required | integer <int32> Rate id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets all the details of an existing rate by passing the rate id.
| id required | integer <int32> RateId |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "id": 0,
- "creditFacilityId": 0,
- "collateralUsageId": 0,
- "keyRiskIndicator": {
- "id": 0,
- "name": "string",
- "isBoolean": true,
- "isPercentage": true,
- "storedProcedure": "string",
- "keyRiskIndicatorType": {
- "id": 0,
- "name": "string",
- "key": "string",
- "externalId": "string",
- "isRiskModel": true
}, - "key": "string",
- "collateralTypeId": 0,
- "collateralUsageId": 0,
- "creditFacilityTypeId": 0,
- "contactTypeId": 0,
- "details": [
- {
- "keyRiskIndicatorDetailId": 0,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true,
- "constraintTypeId": 0
}
]
}, - "rateGroupId": 0,
- "propertyName": "string",
- "minValue": 0,
- "maxValue": 0,
- "weight": 0,
- "haircut": 0,
- "isPercentage": true,
- "isDenominator": true,
- "createDate": "2025-07-31T10:57:22Z"
}Modifies the details of an existing rate.
| id required | integer <int32> Rate id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Patch rate request
| creditFacilityId | object (Api.Common.UpdateableProperty%3CInt32%3E) Wrapper around properties used in patch requests |
| collateralUsageId | object (Api.Common.UpdateableProperty%3CInt32%3E) Wrapper around properties used in patch requests |
| keyRiskIndicatorId | object (Api.Common.UpdateableProperty%3CInt32%3E) Wrapper around properties used in patch requests |
| rateGroupId | object (Api.Common.UpdateableProperty%3CInt32%3E) Wrapper around properties used in patch requests |
| propertyName | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| minValue | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CDecimal%3E%3E) Wrapper around properties used in patch requests |
| maxValue | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CDecimal%3E%3E) Wrapper around properties used in patch requests |
| weight | object (Api.Common.UpdateableProperty%3CDecimal%3E) Wrapper around properties used in patch requests |
| haircut | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CDecimal%3E%3E) Wrapper around properties used in patch requests |
| isPercentage | object (Api.Common.UpdateableProperty%3CBoolean%3E) Wrapper around properties used in patch requests |
| isDenominator | object (Api.Common.UpdateableProperty%3CBoolean%3E) Wrapper around properties used in patch requests |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "creditFacilityId": {
- "doUpdate": true,
- "value": 0
}, - "collateralUsageId": {
- "doUpdate": true,
- "value": 0
}, - "keyRiskIndicatorId": {
- "doUpdate": true,
- "value": 0
}, - "rateGroupId": {
- "doUpdate": true,
- "value": 0
}, - "propertyName": {
- "doUpdate": true,
- "value": "string"
}, - "minValue": {
- "doUpdate": true,
- "value": 0
}, - "maxValue": {
- "doUpdate": true,
- "value": 0
}, - "weight": {
- "doUpdate": true,
- "value": 0
}, - "haircut": {
- "doUpdate": true,
- "value": 0
}, - "isPercentage": {
- "doUpdate": true,
- "value": true
}, - "isDenominator": {
- "doUpdate": true,
- "value": true
}
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Creates a new rate that can be later linked to a lender as part of its offering.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Create rate request
| creditFacilityId required | integer <int32> |
| collateralUsageId required | integer <int32> |
| keyRiskIndicatorId required | integer <int32> |
| rateGroupId required | integer <int32> |
| propertyName required | string non-empty |
| minValue | number <double> Nullable |
| maxValue | number <double> Nullable |
| weight | number <double> |
| haircut | number <double> Nullable |
| isPercentage | boolean |
| isDenominator | boolean |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "creditFacilityId": 0,
- "collateralUsageId": 0,
- "keyRiskIndicatorId": 0,
- "rateGroupId": 0,
- "propertyName": "string",
- "minValue": 0,
- "maxValue": 0,
- "weight": 0,
- "haircut": 0,
- "isPercentage": true,
- "isDenominator": true
}{- "id": 0
}Gets the details of all the existing rates. The results can be filtered by passing in request body credit facility id, collateral usage id, group or key risk indicator id.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
| rateId | integer <int32> Nullable |
| creditFacilityId | integer <int32> Nullable |
| collateralUsageId | integer <int32> Nullable |
| keyRiskIndicatorId | integer <int32> Nullable |
| rateGroupId | integer <int32> Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "rateId": 0,
- "creditFacilityId": 0,
- "collateralUsageId": 0,
- "keyRiskIndicatorId": 0,
- "rateGroupId": 0
}[- {
- "id": 0,
- "creditFacilityId": 0,
- "collateralUsageId": 0,
- "keyRiskIndicatorId": 0,
- "rateGroupId": 0,
- "propertyName": "string",
- "minValue": 0,
- "maxValue": 0,
- "weight": 0,
- "haircut": 0,
- "isPercentage": true,
- "isDenominator": true,
- "createDate": "2025-07-31T10:57:22Z"
}
]Gets a list of all the existing rate groups.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": 0,
- "name": "string",
- "key": "string"
}
]Deletes an existing risk class.
| id required | integer <int32> Risk class id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Modifies an existing risk class.
| id required | integer <int32> Risk class id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Patch risk class request
| name | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| description | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| riskClassTypeId | object (Api.Common.UpdateableProperty%3CInt32%3E) Wrapper around properties used in patch requests |
| externalId | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": {
- "doUpdate": true,
- "value": "string"
}, - "description": {
- "doUpdate": true,
- "value": "string"
}, - "riskClassTypeId": {
- "doUpdate": true,
- "value": 0
}, - "externalId": {
- "doUpdate": true,
- "value": "string"
}
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets a list of all the existing risk classes.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": 0,
- "name": "string",
- "description": "string",
- "externalId": "string",
- "riskClassType": {
- "id": 0,
- "name": "string"
}
}
]Creates a new risk class which can be used in creating a new risk model.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Create risk class request
| name required | string non-empty |
| riskClassTypeId required | integer <int32> |
| description | string Nullable |
| externalId | string Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": "string",
- "riskClassTypeId": 0,
- "description": "string",
- "externalId": "string"
}{- "id": 0
}Deletes an existing risk class type.
| id required | integer <int32> Id of the risk class type |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Modifies the details of an existing risk class type.
| id required | integer <int32> PatchRiskClassType Id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
PatchRiskClassTypeRequest
| name | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": {
- "doUpdate": true,
- "value": "string"
}
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets risk class types.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": 0,
- "name": "string"
}
]Creates a new risk class type which can be used to define one or more risk classes.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Create risk class type request
| name required | string non-empty |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": "string"
}{- "id": 0
}Deletes an existing risk model and its model scoring and model composition.
| id required | integer <int32> RiskModel ID |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets all the details of a risk model.
| id required | integer <int32> Risk model id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": "string",
- "creditFacilityId": 0,
- "storedProcedure": "string",
- "id": 0,
- "isActive": true,
- "modelScores": [
- {
- "riskClass": {
- "id": 0,
- "name": "string",
- "description": "string",
- "externalId": "string",
- "riskClassType": {
- "id": 0,
- "name": "string"
}
}, - "minScore": 0,
- "maxScore": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true
}
], - "modelCompositionScores": [
- {
- "keyRiskIndicatorDetail": {
- "keyRiskIndicatorId": 0,
- "keyRiskIndicatorName": "string",
- "detailId": 0,
- "isBoolean": true,
- "isPercentage": true,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true
}, - "score": 0,
- "weight": 0
}
]
}Modifies an existing risk model with composition and scoring.
| id required | integer <int32> RiskModel ID |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Patch RiskModel Request
| name | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| creditFacilityId | object (Api.Common.UpdateableProperty%3CInt32%3E) Wrapper around properties used in patch requests |
| storedProcedure | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
| isActive | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CBoolean%3E%3E) Wrapper around properties used in patch requests |
| modelScores | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.List%3CModelScore%3E%3E) Wrapper around properties used in patch requests |
| modelCompositionScores | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.List%3CModelCompositionScores%3E%3E) Wrapper around properties used in patch requests |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": {
- "doUpdate": true,
- "value": "string"
}, - "creditFacilityId": {
- "doUpdate": true,
- "value": 0
}, - "storedProcedure": {
- "doUpdate": true,
- "value": "string"
}, - "isActive": {
- "doUpdate": true,
- "value": true
}, - "modelScores": {
- "doUpdate": true,
- "value": [
- {
- "riskClassId": 0,
- "minScore": 0,
- "maxScore": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true
}
]
}, - "modelCompositionScores": {
- "doUpdate": true,
- "value": [
- {
- "keyRiskIndicatorDetailId": 0,
- "score": 0,
- "weight": 0
}
]
}
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Gets a list of existing risk models.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "name": "string",
- "creditFacilityId": 0,
- "storedProcedure": "string",
- "id": 0,
- "isActive": true,
- "modelScores": [
- {
- "riskClass": {
- "id": 0,
- "name": "string",
- "description": "string",
- "externalId": "string",
- "riskClassType": {
- "id": 0,
- "name": "string"
}
}, - "minScore": 0,
- "maxScore": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true
}
], - "modelCompositionScores": [
- {
- "keyRiskIndicatorDetail": {
- "keyRiskIndicatorId": 0,
- "keyRiskIndicatorName": "string",
- "detailId": 0,
- "isBoolean": true,
- "isPercentage": true,
- "value": 0,
- "minValue": 0,
- "maxValue": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true
}, - "score": 0,
- "weight": 0
}
]
}
]Creates a new risk model with composition and scoring.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Create risk model request
| name required | string non-empty |
| creditFacilityId required | integer <int32> |
| storedProcedure | string Nullable |
| modelScores | Array of objects (ModelScore) Nullable |
| modelCompositionScores | Array of objects (ModelCompositionScores) Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": "string",
- "creditFacilityId": 0,
- "storedProcedure": "string",
- "modelScores": [
- {
- "riskClassId": 0,
- "minScore": 0,
- "maxScore": 0,
- "isSoftKnockout": true,
- "isHardKnockout": true
}
], - "modelCompositionScores": [
- {
- "keyRiskIndicatorDetailId": 0,
- "score": 0,
- "weight": 0
}
]
}{- "id": 0
}