GET api/v1/general/programsPriceList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ProgramPriceListsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PriceListId | integer |
None. |
|
| Name | string |
Required Max length: 50 |
|
| YearId | integer |
None. |
|
| ProgramId | integer |
Required |
|
| MonthlyPrice | decimal number |
Required |
|
| ParentPriceListDiscount | decimal number |
None. |
|
| IsDefaultPriceList | boolean |
Required |
|
| RelatedInstrumentPriceListId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"PriceListId": 1,
"Name": "sample string 2",
"YearId": 3,
"ProgramId": 4,
"MonthlyPrice": 5.0,
"ParentPriceListDiscount": 1.0,
"IsDefaultPriceList": true,
"RelatedInstrumentPriceListId": 1
},
{
"Id": 1,
"PriceListId": 1,
"Name": "sample string 2",
"YearId": 3,
"ProgramId": 4,
"MonthlyPrice": 5.0,
"ParentPriceListDiscount": 1.0,
"IsDefaultPriceList": true,
"RelatedInstrumentPriceListId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfProgramPriceListsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
<ProgramPriceListsModel>
<Id>1</Id>
<IsDefaultPriceList>true</IsDefaultPriceList>
<MonthlyPrice>5</MonthlyPrice>
<Name>sample string 2</Name>
<ParentPriceListDiscount>1</ParentPriceListDiscount>
<PriceListId>1</PriceListId>
<ProgramId>4</ProgramId>
<RelatedInstrumentPriceListId>1</RelatedInstrumentPriceListId>
<YearId>3</YearId>
</ProgramPriceListsModel>
<ProgramPriceListsModel>
<Id>1</Id>
<IsDefaultPriceList>true</IsDefaultPriceList>
<MonthlyPrice>5</MonthlyPrice>
<Name>sample string 2</Name>
<ParentPriceListDiscount>1</ParentPriceListDiscount>
<PriceListId>1</PriceListId>
<ProgramId>4</ProgramId>
<RelatedInstrumentPriceListId>1</RelatedInstrumentPriceListId>
<YearId>3</YearId>
</ProgramPriceListsModel>
</ArrayOfProgramPriceListsModel>