Download OpenAPI specification:Download
Contains functionality around credit documents.
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.
Gets the document contexts required for a credit instance. All of the criteria required to determine the required documents will be deducted based on the client’s credit instance.
contactId required | integer <int32> Contact ID |
instanceId required | integer <int32> Credit Instance 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",
- "dmsDocumentCategoryKey": "string",
- "dmsDocumentMetadataId": 0,
- "creditFacilityId": 0,
- "isMandatory": true,
- "isActive": true,
- "hasValidityDate": true,
- "externalId": "string",
- "customAttributes": "string",
- "dmsDocumentSetId": 0,
- "documentContextId": 0
}
]
Gets the document contexts required for an offer on specified credit instance. All of the criteria required to determine the required documents will be deducted based on the client’s credit instance.
contactId required | integer <int32> Contact ID |
instanceId required | integer <int32> Credit Instance ID |
offerId required | integer <int32> Offer 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",
- "dmsDocumentCategoryKey": "string",
- "dmsDocumentMetadataId": 0,
- "creditFacilityId": 0,
- "isMandatory": true,
- "isActive": true,
- "hasValidityDate": true,
- "externalId": "string",
- "customAttributes": "string",
- "dmsDocumentSetId": 0,
- "documentContextId": 0
}
]
Deletes an existing document context linked to the credit facility.
id required | integer <int32> Document Context ID |
creditFacilityId required | integer <int32> Credit facility 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": "General",
- "subCode": "string",
- "message": "string",
- "correlationId": "string",
- "properties": {
- "property1": null,
- "property2": null
}
}
Modifies an existing document context linked to the credit facility.
creditFacilityId required | integer <int32> Credit facility ID |
id required | integer <int32> Document Context ID |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
Patch document context request
name | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
dmsDocumentCategoryKey | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
isMandatory | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CBoolean%3E%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 |
hasValidityDate | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CBoolean%3E%3E) Wrapper around properties used in patch requests |
externalId | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
customAttributes | object (UpdateableProperty%3C%3E) Wrapper around properties used in patch requests |
dmsDocumentSetId | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
dmsDocumentMetadataId | object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
contactTypes | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.IEnumerable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
creditInstanceTypes | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.IEnumerable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
creditUsages | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.IEnumerable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
collateralUsages | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.IEnumerable%3CInt32%3E%3E) Wrapper around properties used in patch requests |
collateralTypes | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.IEnumerable%3CDocumentContextCollateralType%3E%3E) Wrapper around properties used in patch requests |
listItems | object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.IEnumerable%3CString%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"
}, - "dmsDocumentCategoryKey": {
- "doUpdate": true,
- "value": "string"
}, - "isMandatory": {
- "doUpdate": true,
- "value": true
}, - "isActive": {
- "doUpdate": true,
- "value": true
}, - "hasValidityDate": {
- "doUpdate": true,
- "value": true
}, - "externalId": {
- "doUpdate": true,
- "value": "string"
}, - "customAttributes": {
- "doUpdate": true,
- "value": "string"
}, - "dmsDocumentSetId": {
- "doUpdate": true,
- "value": 0
}, - "dmsDocumentMetadataId": {
- "doUpdate": true,
- "value": 0
}, - "contactTypes": {
- "doUpdate": true,
- "value": [
- 0
]
}, - "creditInstanceTypes": {
- "doUpdate": true,
- "value": [
- 0
]
}, - "creditUsages": {
- "doUpdate": true,
- "value": [
- 0
]
}, - "collateralUsages": {
- "doUpdate": true,
- "value": [
- 0
]
}, - "collateralTypes": {
- "doUpdate": true,
- "value": [
- {
- "collateralTypeId": 0,
- "isPrimaryResidence": true,
- "isHolidayResidence": true
}
]
}, - "listItems": {
- "doUpdate": true,
- "value": [
- "string"
]
}
}
{- "code": "General",
- "subCode": "string",
- "message": "string",
- "correlationId": "string",
- "properties": {
- "property1": null,
- "property2": null
}
}
Gets all the document contexts linked to a credit facility and their details.
creditFacilityId required | integer <int32> Credit facility 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",
- "dmsDocumentCategoryKey": "string",
- "dmsDocumentMetadataId": 0,
- "creditFacilityId": 0,
- "isMandatory": true,
- "isActive": true,
- "hasValidityDate": true,
- "externalId": "string",
- "customAttributes": "string",
- "dmsDocumentSetId": 0,
- "documentContextId": 0
}
]
Creates a new document context linked to the credit facility which will be used to determine the required documents for a credit instance.
creditFacilityId required | integer <int32> Credit facility ID |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
Create document context request
name required | string non-empty |
dmsDocumentCategoryKey required | string non-empty |
dmsDocumentMetadataId required | integer <int32> |
creditFacilityId required | integer <int32> |
isMandatory | boolean |
isActive | boolean |
hasValidityDate | boolean |
externalId | string Nullable |
customAttributes | string Nullable |
dmsDocumentSetId | integer <int32> Nullable |
creditInstanceTypes required | Array of integers <int32> |
creditUsages required | Array of integers <int32> |
collateralUsages required | Array of integers <int32> |
collateralTypes required | Array of objects (DocumentContextCollateralType) |
contactTypes | Array of integers <int32> Nullable |
listItems | Array of strings Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "name": "string",
- "dmsDocumentCategoryKey": "string",
- "dmsDocumentMetadataId": 0,
- "creditFacilityId": 0,
- "isMandatory": true,
- "isActive": true,
- "hasValidityDate": true,
- "externalId": "string",
- "customAttributes": "string",
- "dmsDocumentSetId": 0,
- "creditInstanceTypes": [
- 0
], - "creditUsages": [
- 0
], - "collateralUsages": [
- 0
], - "collateralTypes": [
- {
- "collateralTypeId": 0,
- "isPrimaryResidence": true,
- "isHolidayResidence": true
}
], - "contactTypes": [
- 0
], - "listItems": [
- "string"
]
}
{- "id": 0
}
Gets single document context linked to a credit facility.
creditFacilityId required | integer <int32> Credit facility ID |
documentContextId required | integer <int32> Document Context 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",
- "dmsDocumentCategoryKey": "string",
- "dmsDocumentMetadataId": 0,
- "creditFacilityId": 0,
- "isMandatory": true,
- "isActive": true,
- "hasValidityDate": true,
- "externalId": "string",
- "customAttributes": "string",
- "dmsDocumentSetId": 0,
- "creditInstanceTypes": [
- 0
], - "creditUsages": [
- 0
], - "collateralUsages": [
- 0
], - "collateralTypes": [
- {
- "collateralTypeId": 0,
- "isPrimaryResidence": true,
- "isHolidayResidence": true
}
], - "contactTypes": [
- 0
], - "listItems": [
- "string"
], - "documentContextId": 0
}
Gets the document contexts required for a credit facility based on the request criteria. The required filters are credit instance type, credit usage, collateral usage, collateral type ids.
creditFacilityId required | integer <int32> Credit facility ID |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
Request
contactTypeIds required | Array of integers <int32> |
creditInstanceTypeIds required | Array of integers <int32> |
creditUsageIds required | Array of integers <int32> |
collateralUsageIds required | Array of integers <int32> |
collateralTypeIds required | Array of integers <int32> |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "contactTypeIds": [
- 0
], - "creditInstanceTypeIds": [
- 0
], - "creditUsageIds": [
- 0
], - "collateralUsageIds": [
- 0
], - "collateralTypeIds": [
- 0
]
}
[- {
- "name": "string",
- "dmsDocumentCategoryKey": "string",
- "dmsDocumentMetadataId": 0,
- "creditFacilityId": 0,
- "isMandatory": true,
- "isActive": true,
- "hasValidityDate": true,
- "externalId": "string",
- "customAttributes": "string",
- "dmsDocumentSetId": 0,
- "documentContextId": 0
}
]