Loading

DFS Collateral Services API (latest)

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.

Collaterals

Delete collateral

Deletes an existing collateral and its JSON data.

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id for contact group verification

id
required
integer <int32>

Collateral ID

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

delete/v1.0/contacts/{contactId}/collaterals/{id}
https://example-host/v1.0/contacts/{contactId}/collaterals/{id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Modify an existing collateral

Modifies an existing collateral.

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id for account validation

id
required
integer <int32>

Collateral id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Request

name
object (UpdateableProperty%3C%3E)

Wrapper around properties used in patch requests

collateralUsageId
object (Api.Common.UpdateableProperty%3CInt32%3E)

Wrapper around properties used in patch requests

contactGroupId
object (Api.Common.UpdateableProperty%3CInt32%3E)

Wrapper around properties used in patch requests

accountIds
object (Api.Common.UpdateableProperty%3CSystem.Collections.Generic.List%3CInt32%3E%3E)

Wrapper around properties used in patch requests

collateralTypeId
object (Api.Common.UpdateableProperty%3CInt32%3E)

Wrapper around properties used in patch requests

isFinanced
object (Api.Common.UpdateableProperty%3CBoolean%3E)

Wrapper around properties used in patch requests

isPrimaryResidence
object (Api.Common.UpdateableProperty%3CBoolean%3E)

Wrapper around properties used in patch requests

isHolidayResidence
object (Api.Common.UpdateableProperty%3CBoolean%3E)

Wrapper around properties used in patch requests

data
object (UpdateableProperty%3C%3E)

Wrapper around properties used in patch requests

value
object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CDecimal%3E%3E)

Wrapper around properties used in patch requests

netValue
object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CDecimal%3E%3E)

Wrapper around properties used in patch requests

customAttributes
object (UpdateableProperty%3C%3E)

Wrapper around properties used in patch requests

minValuation
object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CDecimal%3E%3E)

Wrapper around properties used in patch requests

maxValuation
object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CDecimal%3E%3E)

Wrapper around properties used in patch requests

medianValuation
object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CDecimal%3E%3E)

Wrapper around properties used in patch requests

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

patch/v1.0/contacts/{contactId}/collaterals/{id}
https://example-host/v1.0/contacts/{contactId}/collaterals/{id}

Request samples

Content type
Copy
Expand all Collapse all
{
  • "name":
    {
    },
  • "collateralUsageId":
    {
    },
  • "contactGroupId":
    {
    },
  • "accountIds":
    {
    },
  • "collateralTypeId":
    {
    },
  • "isFinanced":
    {
    },
  • "isPrimaryResidence":
    {
    },
  • "isHolidayResidence":
    {
    },
  • "data":
    {
    },
  • "value":
    {
    },
  • "netValue":
    {
    },
  • "customAttributes":
    {
    },
  • "minValuation":
    {
    },
  • "maxValuation":
    {
    },
  • "medianValuation":
    {
    }
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Get collaterals

Gets a list of all collaterals with the data of the collateral. The list of collaterals is determined by the contact groups the contact is a member of.

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id for contact group verification

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.0/contacts/{contactId}/collaterals
https://example-host/v1.0/contacts/{contactId}/collaterals

Response samples

Content type
application/json
Copy
Expand all Collapse all
[
  • {
    }
]

Create collateral

Creates a new collateral. A list of account ids can be passed that will indicate the account/s used as collateral.

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id for account validation

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Request

name
required
string non-empty
collateralUsageId
required
integer <int32>
contactGroupId
required
integer <int32>
collateralTypeId
required
integer <int32>
isFinanced
required
boolean
isPrimaryResidence
required
boolean
isHolidayResidence
required
boolean
value
number <double> Nullable
netValue
number <double> Nullable
customAttributes
string Nullable
accountIds
Array of integers <int32> Nullable
data
string Nullable
minValuation
number <double> Nullable
maxValuation
number <double> Nullable
medianValuation
number <double> Nullable

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

post/v1.0/contacts/{contactId}/collaterals
https://example-host/v1.0/contacts/{contactId}/collaterals

Request samples

Content type
Copy
Expand all Collapse all
{
  • "name": "string",
  • "collateralUsageId": 0,
  • "contactGroupId": 0,
  • "collateralTypeId": 0,
  • "isFinanced": true,
  • "isPrimaryResidence": true,
  • "isHolidayResidence": true,
  • "value": 0,
  • "netValue": 0,
  • "customAttributes": "string",
  • "accountIds":
    [
    ],
  • "data": "string",
  • "minValuation": 0,
  • "maxValuation": 0,
  • "medianValuation": 0
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": 0
}

CollateralTypes

Delete collateral type

Deletes an existing collateral type.

Authorizations:
path Parameters
id
required
integer <int32>

CollateralType id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

delete/v1.0/collateraltypes/{id}
https://example-host/v1.0/collateraltypes/{id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Modify a collateral type

Modifies an existing collateral type.

Authorizations:
path Parameters
id
required
integer <int32>

CollateralTypeId of the collateral type that will be modified

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Patch collateral type request

name
object (UpdateableProperty%3C%3E)

Wrapper around properties used in patch requests

key
object (UpdateableProperty%3C%3E)

Wrapper around properties used in patch requests

dynamicSchemaId
object (Api.Common.UpdateableProperty%3CSystem.Nullable%3CInt32%3E%3E)

Wrapper around properties used in patch requests

canBeLoaned
object (Api.Common.UpdateableProperty%3CBoolean%3E)

Wrapper around properties used in patch requests

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

patch/v1.0/collateraltypes/{id}
https://example-host/v1.0/collateraltypes/{id}

Request samples

Content type
Copy
Expand all Collapse all
{
  • "name":
    {
    },
  • "key":
    {
    },
  • "dynamicSchemaId":
    {
    },
  • "canBeLoaned":
    {
    }
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Get collateral types

Gets collateral types.

Authorizations:
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

get/v1.0/collateraltypes
https://example-host/v1.0/collateraltypes

Response samples

Content type
application/json
Copy
Expand all Collapse all
[
  • {
    }
]

Create a new collateral type

Creates a new collateral type.

Authorizations:
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Create collateral type request

name
required
string non-empty
key
required
string non-empty
dynamicSchemaId
required
integer <int32>
canBeLoaned
boolean

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

post/v1.0/collateraltypes
https://example-host/v1.0/collateraltypes

Request samples

Content type
Copy
Expand all Collapse all
{
  • "name": "string",
  • "key": "string",
  • "dynamicSchemaId": 0,
  • "canBeLoaned": true
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": 0
}

CollateralUsages

Get collateral usages

Gets a list of collateral usages.

Authorizations:
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

get/v1.0/collateralusages
https://example-host/v1.0/collateralusages

Response samples

Content type
application/json
Copy
Expand all Collapse all
[
  • {
    }
]