POST api/amortization/last

Request Information

URI Parameters

None.

Body Parameters

AmortizationRequestDTO
NameDescriptionTypeAdditional information
AnualInterest

decimal number

None.

LoanDate

date

None.

Frequency

string

None.

PaymentAmount

decimal number

None.

Terms

integer

None.

TermsWithDecimal

decimal number

None.

DealType

string

None.

Contract

Contract

None.

AdjustLastPayment

boolean

None.

DownPayments

Collection of DownPaymentDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "anualInterest": 1.1,
  "loanDate": "2025-12-28T18:39:44.1482927+00:00",
  "frequency": "sample string 3",
  "paymentAmount": 4.0,
  "terms": 5,
  "termsWithDecimal": 6.0,
  "dealType": "sample string 7",
  "contract": {
    "compoundingDays": 1,
    "salesTaxDeferred": true,
    "compoundPeriod": "sample string 3",
    "computeMethod": "sample string 4"
  },
  "adjustLastPayment": true,
  "downPayments": [
    {
      "downPaymentAmount": 1.0,
      "downPaymentDate": "2025-12-28T18:39:44.1482927+00:00"
    },
    {
      "downPaymentAmount": 1.0,
      "downPaymentDate": "2025-12-28T18:39:44.1482927+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<AmortizationRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.Tvalue.Services.Models.DTO">
  <AdjustLastPayment>true</AdjustLastPayment>
  <AnualInterest>1.1</AnualInterest>
  <Contract>
    <CompoundPeriod>sample string 3</CompoundPeriod>
    <CompoundingDays>1</CompoundingDays>
    <ComputeMethod>sample string 4</ComputeMethod>
    <SalesTaxDeferred>true</SalesTaxDeferred>
  </Contract>
  <DealType>sample string 7</DealType>
  <DownPayments>
    <DownPaymentDTO>
      <DownPaymentAmount>1</DownPaymentAmount>
      <DownPaymentDate>2025-12-28T18:39:44.1482927+00:00</DownPaymentDate>
    </DownPaymentDTO>
    <DownPaymentDTO>
      <DownPaymentAmount>1</DownPaymentAmount>
      <DownPaymentDate>2025-12-28T18:39:44.1482927+00:00</DownPaymentDate>
    </DownPaymentDTO>
  </DownPayments>
  <Frequency>sample string 3</Frequency>
  <LoanDate>2025-12-28T18:39:44.1482927+00:00</LoanDate>
  <PaymentAmount>4</PaymentAmount>
  <Terms>5</Terms>
  <TermsWithDecimal>6</TermsWithDecimal>
</AmortizationRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.