GET api/RateTermStructure?programId={programId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programId

System.String

Required

Body Parameters

None.

Response Information

Resource Description

Altai.Core.Cache.Entities.RateTermStructure
NameDescriptionTypeAdditional information
Id

System.String

None.

Name

System.String

None.

ProgramId

System.Guid

None.

VolumeRanges

System.Collections.Generic.List`1[Altai.Core.Cache.Entities.VolumeRange]

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "ProgramId": "8e6b2d17-f14e-414a-8993-fdad03e92a2a",
  "VolumeRanges": [
    {
      "Id": "sample string 1",
      "Start": 2.0,
      "End": 3.0,
      "Name": "sample string 4",
      "Amount": 5.0
    },
    {
      "Id": "sample string 1",
      "Start": 2.0,
      "End": 3.0,
      "Name": "sample string 4",
      "Amount": 5.0
    }
  ]
}

application/xml, text/xml

Sample:
<RateTermStructure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Core.Cache.Entities">
  <Id>sample string 1</Id>
  <Name>sample string 2</Name>
  <ProgramId>8e6b2d17-f14e-414a-8993-fdad03e92a2a</ProgramId>
  <VolumeRanges>
    <VolumeRange>
      <Amount>5</Amount>
      <End>3</End>
      <Id>sample string 1</Id>
      <Name>sample string 4</Name>
      <Start>2</Start>
    </VolumeRange>
    <VolumeRange>
      <Amount>5</Amount>
      <End>3</End>
      <Id>sample string 1</Id>
      <Name>sample string 4</Name>
      <Start>2</Start>
    </VolumeRange>
  </VolumeRanges>
</RateTermStructure>