POST api/v1/general/instrumentTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of InstrumentsPriceListModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

Max length: 100

InstrumentPriceListId

integer

None.

DiscountOnPriceList

decimal number

None.

IsDefaultPriceList

boolean

Required

YearId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "InstrumentPriceListId": 1,
    "DiscountOnPriceList": 1.0,
    "IsDefaultPriceList": true,
    "YearId": 1
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "InstrumentPriceListId": 1,
    "DiscountOnPriceList": 1.0,
    "IsDefaultPriceList": true,
    "YearId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfInstrumentsPriceListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <InstrumentsPriceListModel>
    <DiscountOnPriceList>1</DiscountOnPriceList>
    <Id>1</Id>
    <InstrumentPriceListId>1</InstrumentPriceListId>
    <IsDefaultPriceList>true</IsDefaultPriceList>
    <Name>sample string 2</Name>
    <YearId>1</YearId>
  </InstrumentsPriceListModel>
  <InstrumentsPriceListModel>
    <DiscountOnPriceList>1</DiscountOnPriceList>
    <Id>1</Id>
    <InstrumentPriceListId>1</InstrumentPriceListId>
    <IsDefaultPriceList>true</IsDefaultPriceList>
    <Name>sample string 2</Name>
    <YearId>1</YearId>
  </InstrumentsPriceListModel>
</ArrayOfInstrumentsPriceListModel>