Retrieves the active agreement by agreement code.
GET/Agreements/:code
Retrieves the active agreement by agreement code.
Request​
Path Parameters
code stringrequired
Agreement code
Query Parameters
api-version string
Header Parameters
X-Request-ID stringrequired
Responses​
- 200
- 400
- 404
- 500
Agreement details if found, otherwise an error response
- application/json
- Schema
- Example (from schema)
Schema
agreementCode stringnullablerequired
Agreement code.
agreementType stringnullablerequired
Agreement title
color stringnullablerequired
Gets or sets the color associated with the agreement.
agreementAmount decimalrequired
AgreementAmount
customers stringnullablerequired
Customer.
active booleannullablerequired
If the agreement is active.
dateUpdated date-timerequired
Updated date of the agreement.
loanTypes stringnullablerequired
Loan types associated with the agreement.
{
"agreementCode": 32897,
"agreementType": "Consumer Fully Amortized Agreement",
"color": "Red",
"agreementAmount": 200000,
"customers": "000464:THEODOROU LEONIDAS / DIMITRIS",
"active": true,
"dateUpdated": "2024-11-01T13:00:11.30",
"loanTypes": "[Corporate OpenRevolving Credit Account]"
}
- application/json
- Schema
- Example (from schema)
Schema
type stringnullablerequired
title stringnullablerequired
status int32nullablerequired
detail stringnullablerequired
instance stringnullablerequired
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
type stringnullablerequired
title stringnullablerequired
status int32nullablerequired
detail stringnullablerequired
instance stringnullablerequired
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
type stringnullablerequired
title stringnullablerequired
status int32nullablerequired
detail stringnullablerequired
instance stringnullablerequired
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...