GET api/customer/loanamountlimits/{customerId}

Get loan amount limits for the given customerid.

Requires Authorisation

The api request must supply authenticated token in a custom variable in the request header. The custom variable name is configured in web.config. The default name of the custom variable is “X-Fern-Token”.

Requires Api License and User Access

The api requires license and user permission for API ID, GETapi/customer/loanamountlimits/{customerId}. The user permission can be defined on User Settings screen in Abacus. For license, please contact Fern manager.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

Customer unique identifier.

integer

Required

Body Parameters

None.

Response Information

Response Codes

Success Status:

  • OK (200), please see resource description below.

Failed Status(es):

Resource Description

Returns the LoanAmount Limits for the given customer id.

Collection of CustomerLoanLimitDto
NameDescriptionTypeAdditional information
CustomerLoanLimitID

Customer loan limit identifier.

integer
CustomerID

Customer's unique identifier for whome the loan limit is set.

integer
CurrencyID

Currency's unique identifier.

integer
MaximumAmount

Maximum loan amount limit for the customer in a currency.

decimal number

Response Formats

application/json, text/json

Sample:
[
  {
    "customerLoanLimitID": 1,
    "customerID": 1,
    "currencyID": 1,
    "maximumAmount": 1.0
  },
  {
    "customerLoanLimitID": 1,
    "customerID": 1,
    "currencyID": 1,
    "maximumAmount": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerLoanLimitDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fern.Abacus.ObjectModel.Dto">
  <CustomerLoanLimitDto>
    <CurrencyID>1</CurrencyID>
    <CustomerID>1</CustomerID>
    <CustomerLoanLimitID>1</CustomerLoanLimitID>
    <MaximumAmount>1</MaximumAmount>
  </CustomerLoanLimitDto>
  <CustomerLoanLimitDto>
    <CurrencyID>1</CurrencyID>
    <CustomerID>1</CustomerID>
    <CustomerLoanLimitID>1</CustomerLoanLimitID>
    <MaximumAmount>1</MaximumAmount>
  </CustomerLoanLimitDto>
</ArrayOfCustomerLoanLimitDto>