GET api/RateTermStructure?programId={programId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programId | System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
Altai.Core.Cache.Entities.RateTermStructureName | Description | Type | Additional 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": "a8b88c2f-df7f-4640-8f36-177686635f4a", "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>a8b88c2f-df7f-4640-8f36-177686635f4a</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>