POST Prestamos/GetLoan

Request Information

URI Parameters

None.

Body Parameters

GetLoanInput
NameDescriptionTypeAdditional information
ProductBankIdentifier

string

None.

FeesStatus

integer

None.

Paging

Paging

None.

ChannelId

integer

None.

TenantId

string

None.

UserLanguage

integer

None.

UserName

string

None.

IpAddress

string

None.

Location

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductBankIdentifier": "sample string 1",
  "FeesStatus": 2,
  "Paging": {
    "OrderByField": "sample string 1",
    "PageStartIndex": 2,
    "PageSize": 3
  },
  "ChannelId": 3,
  "TenantId": "sample string 4",
  "UserLanguage": 5,
  "UserName": "sample string 6",
  "IpAddress": "sample string 7",
  "Location": "sample string 8"
}

application/xml, text/xml

Sample:
<GetLoanInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FBSBankingly.Models.Input">
  <ChannelId>3</ChannelId>
  <IpAddress>sample string 7</IpAddress>
  <Location>sample string 8</Location>
  <TenantId>sample string 4</TenantId>
  <UserLanguage>5</UserLanguage>
  <UserName>sample string 6</UserName>
  <FeesStatus>2</FeesStatus>
  <Paging>
    <OrderByField>sample string 1</OrderByField>
    <PageSize>3</PageSize>
    <PageStartIndex>2</PageStartIndex>
  </Paging>
  <ProductBankIdentifier>sample string 1</ProductBankIdentifier>
</GetLoanInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetLoanResult
NameDescriptionTypeAdditional information
AccountBankIdentifier

string

None.

CurrentBalance

decimal number

None.

CurrentRate

decimal number

None.

FeesDue

integer

None.

FeesDueData

FeesDueData

None.

LoanStatusId

byte

None.

NextFee

LoanFee

None.

OriginalAmount

decimal number

None.

OverdueDays

integer

None.

PaidFees

integer

None.

PayoffBalance

decimal number

None.

PrepaymentAmount

decimal number

None.

ProducttBankIdentifier

string

None.

Term

integer

None.

ShowPrincipalInformation

boolean

None.

GetLoanFeesResult

GetLoanFeesResult

None.

GetLoanRatesResult

GetLoanRatesResult

None.

GetLoanPaymentsResult

GetLoanPaymentsResult

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountBankIdentifier": "sample string 1",
  "CurrentBalance": 2.0,
  "CurrentRate": 3.0,
  "FeesDue": 1,
  "FeesDueData": {
    "FeesDueInterestAmount": 1.0,
    "FeesDueOthersAmount": 1.0,
    "FeesDueOverdueAmount": 1.0,
    "FeesDuePrincipalAmount": 1.0,
    "FeesDueTotalAmount": 1.0
  },
  "LoanStatusId": 64,
  "NextFee": {
    "CapitalBalance": 1.0,
    "FeeNumber": 1,
    "PrincipalAmount": 2.0,
    "DueDate": "2024-12-22T02:19:11.0396274-05:00",
    "InterestAmount": 4.0,
    "OverdueAmount": 5.0,
    "FeeStatusId": 64,
    "OthersAmount": 7.0,
    "TotalAmount": 8.0
  },
  "OriginalAmount": 5.0,
  "OverdueDays": 1,
  "PaidFees": 1,
  "PayoffBalance": 6.0,
  "PrepaymentAmount": 1.0,
  "ProducttBankIdentifier": "sample string 7",
  "Term": 8,
  "ShowPrincipalInformation": true,
  "GetLoanFeesResult": {
    "LoanFees": [
      {
        "CapitalBalance": 1.0,
        "FeeNumber": 1,
        "PrincipalAmount": 2.0,
        "DueDate": "2024-12-22T02:19:11.0396274-05:00",
        "InterestAmount": 4.0,
        "OverdueAmount": 5.0,
        "FeeStatusId": 64,
        "OthersAmount": 7.0,
        "TotalAmount": 8.0
      },
      {
        "CapitalBalance": 1.0,
        "FeeNumber": 1,
        "PrincipalAmount": 2.0,
        "DueDate": "2024-12-22T02:19:11.0396274-05:00",
        "InterestAmount": 4.0,
        "OverdueAmount": 5.0,
        "FeeStatusId": 64,
        "OthersAmount": 7.0,
        "TotalAmount": 8.0
      }
    ],
    "LoanFeesCount": 1
  },
  "GetLoanRatesResult": {
    "LoanRates": [
      {
        "InitialDate": "2024-12-22T02:19:11.0396274-05:00",
        "Rate": 2.0
      },
      {
        "InitialDate": "2024-12-22T02:19:11.0396274-05:00",
        "Rate": 2.0
      }
    ],
    "LoanRatesCount": 1
  },
  "GetLoanPaymentsResult": {
    "LoanPayments": [
      {
        "CapitalBalance": 1.0,
        "FeeNumber": 1,
        "MovementType": 2,
        "NormalInterestAmount": 1.0,
        "OthersAmount": 1.0,
        "OverdueInterestAmount": 1.0,
        "PaymentDate": "2024-12-22T02:19:11.0396274-05:00",
        "PrincipalAmount": 1.0,
        "TotalAmount": 1.0
      },
      {
        "CapitalBalance": 1.0,
        "FeeNumber": 1,
        "MovementType": 2,
        "NormalInterestAmount": 1.0,
        "OthersAmount": 1.0,
        "OverdueInterestAmount": 1.0,
        "PaymentDate": "2024-12-22T02:19:11.0396274-05:00",
        "PrincipalAmount": 1.0,
        "TotalAmount": 1.0
      }
    ],
    "LoanPaymentsCount": 1
  }
}

application/xml, text/xml

Sample:
<GetLoanResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FBSBankingly.Models.Result">
  <AccountBankIdentifier>sample string 1</AccountBankIdentifier>
  <CurrentBalance>2</CurrentBalance>
  <CurrentRate>3</CurrentRate>
  <FeesDue>1</FeesDue>
  <FeesDueData>
    <FeesDueInterestAmount>1</FeesDueInterestAmount>
    <FeesDueOthersAmount>1</FeesDueOthersAmount>
    <FeesDueOverdueAmount>1</FeesDueOverdueAmount>
    <FeesDuePrincipalAmount>1</FeesDuePrincipalAmount>
    <FeesDueTotalAmount>1</FeesDueTotalAmount>
  </FeesDueData>
  <GetLoanFeesResult>
    <LoanFees>
      <LoanFee>
        <CapitalBalance>1</CapitalBalance>
        <DueDate>2024-12-22T02:19:11.0396274-05:00</DueDate>
        <FeeNumber>1</FeeNumber>
        <FeeStatusId>64</FeeStatusId>
        <InterestAmount>4</InterestAmount>
        <OthersAmount>7</OthersAmount>
        <OverdueAmount>5</OverdueAmount>
        <PrincipalAmount>2</PrincipalAmount>
        <TotalAmount>8</TotalAmount>
      </LoanFee>
      <LoanFee>
        <CapitalBalance>1</CapitalBalance>
        <DueDate>2024-12-22T02:19:11.0396274-05:00</DueDate>
        <FeeNumber>1</FeeNumber>
        <FeeStatusId>64</FeeStatusId>
        <InterestAmount>4</InterestAmount>
        <OthersAmount>7</OthersAmount>
        <OverdueAmount>5</OverdueAmount>
        <PrincipalAmount>2</PrincipalAmount>
        <TotalAmount>8</TotalAmount>
      </LoanFee>
    </LoanFees>
    <LoanFeesCount>1</LoanFeesCount>
  </GetLoanFeesResult>
  <GetLoanPaymentsResult>
    <LoanPayments>
      <LoanPayment>
        <CapitalBalance>1</CapitalBalance>
        <FeeNumber>1</FeeNumber>
        <MovementType>2</MovementType>
        <NormalInterestAmount>1</NormalInterestAmount>
        <OthersAmount>1</OthersAmount>
        <OverdueInterestAmount>1</OverdueInterestAmount>
        <PaymentDate>2024-12-22T02:19:11.0396274-05:00</PaymentDate>
        <PrincipalAmount>1</PrincipalAmount>
        <TotalAmount>1</TotalAmount>
      </LoanPayment>
      <LoanPayment>
        <CapitalBalance>1</CapitalBalance>
        <FeeNumber>1</FeeNumber>
        <MovementType>2</MovementType>
        <NormalInterestAmount>1</NormalInterestAmount>
        <OthersAmount>1</OthersAmount>
        <OverdueInterestAmount>1</OverdueInterestAmount>
        <PaymentDate>2024-12-22T02:19:11.0396274-05:00</PaymentDate>
        <PrincipalAmount>1</PrincipalAmount>
        <TotalAmount>1</TotalAmount>
      </LoanPayment>
    </LoanPayments>
    <LoanPaymentsCount>1</LoanPaymentsCount>
  </GetLoanPaymentsResult>
  <GetLoanRatesResult>
    <LoanRates>
      <LoanRate>
        <InitialDate>2024-12-22T02:19:11.0396274-05:00</InitialDate>
        <Rate>2</Rate>
      </LoanRate>
      <LoanRate>
        <InitialDate>2024-12-22T02:19:11.0396274-05:00</InitialDate>
        <Rate>2</Rate>
      </LoanRate>
    </LoanRates>
    <LoanRatesCount>1</LoanRatesCount>
  </GetLoanRatesResult>
  <LoanStatusId>64</LoanStatusId>
  <NextFee>
    <CapitalBalance>1</CapitalBalance>
    <DueDate>2024-12-22T02:19:11.0396274-05:00</DueDate>
    <FeeNumber>1</FeeNumber>
    <FeeStatusId>64</FeeStatusId>
    <InterestAmount>4</InterestAmount>
    <OthersAmount>7</OthersAmount>
    <OverdueAmount>5</OverdueAmount>
    <PrincipalAmount>2</PrincipalAmount>
    <TotalAmount>8</TotalAmount>
  </NextFee>
  <OriginalAmount>5</OriginalAmount>
  <OverdueDays>1</OverdueDays>
  <PaidFees>1</PaidFees>
  <PayoffBalance>6</PayoffBalance>
  <PrepaymentAmount>1</PrepaymentAmount>
  <ProducttBankIdentifier>sample string 7</ProducttBankIdentifier>
  <ShowPrincipalInformation>true</ShowPrincipalInformation>
  <Term>8</Term>
</GetLoanResult>