Certificates of Deposit - Response

Please see the Legend to understand the conventions used to document each element and attribute. Note that for responses, the XML elements are documented in the order that they appear in the response.


🟥 <outCD>

Element TypeData Type
Parent-

This is the root element of the response, and is required. This element simply acts as a container for all of the result child elements.

Attributes: None


🟥 <CalcResult>

Element TypeData Type
DataText

If the calculation was completed successfully, then this element will contain the value Valid Calculation. Otherwise, this element will contain a description of the problem encountered during the attempted computation.

Attributes: None


🟦 <XMLDetail>[]

Element TypeData TypeDefault
DataTextNULL

The <XMLDetail> elements are messages passed back to the calling application which detail the status of the XML request. If the SCE issues any warnings regarding unrecognized elements or attributes, then each warning message will be displayed in an <XMLDetail> element.

In our sample output above, no warnings are returned by the SCE, and hence there are no <XMLDetail> elements returned.

Attributes: None


🟥 <PresentValue>

Element TypeData Type
DataCurrency

Present value of the CD, representing the initial deposit made on the specified deposit date.

Attributes: None


🟥 <FutureValue>

Element TypeData Type
DataCurrency

The future value of the CD at its maturity.

Attributes: None


🟥 <IntRate>

Element TypeData Type
DataDecimal

The rate at which interest will accrue on the CD.

Attributes: None


🟥 <Term>

Element TypeData Type
DataInteger

The value of this element is the number of unit periods (as specified in the Units attribute) between the deposit date and the CD’s maturity date.

Attributes: 🔸Units

🔸 Units

Data TypeValues
Enumyears, months, days

This attribute specifies the units used for the CD’s term. The three options are: years, months, and days.


🟥 <Maturity>

Element TypeData Type
DataDate

The date of maturity for the CD. All dates are in the form of YYYY-MM-DD, and must be 10 characters long. Hence, a maturity date of October 27, 2009 is specified as <Maturity>2009-10-27</Maturity>.

Attributes: None


🟥 <Gain>

Element TypeData Type
DataCurrency

The <Gain> is the difference between the future value and the present value. It is the amount by which the present value increased over the term of the CD.

Attributes: None


🟥 <APY>

Element TypeData Type
DataDecimal

The <APY> (annual percentage yield) is the rate of return on an investment over the term of a year. The APY takes compounding into account, and if the compounding frequency is other than annual, the APY will differ from the interest rate.

Attributes: None