POST api/v1/general/instrumentTypeModelPriceList

Request Information

URI Parameters

None.

Body Parameters

InstrumentTypeModelPriceListModel
NameDescriptionTypeAdditional information
Id

integer

None.

InstrumentPriceListId

integer

Required

InstrumentTypeId

integer

Required

InstrumentModelId

integer

Required

Price

decimal number

Required

Deposit

decimal number

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "InstrumentPriceListId": 2,
  "InstrumentTypeId": 3,
  "InstrumentModelId": 4,
  "Price": 5.0,
  "Deposit": 6.0,
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<InstrumentTypeModelPriceListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <Deposit>6</Deposit>
  <Id>1</Id>
  <InstrumentModelId>4</InstrumentModelId>
  <InstrumentPriceListId>2</InstrumentPriceListId>
  <InstrumentTypeId>3</InstrumentTypeId>
  <IsDeleted>true</IsDeleted>
  <Price>5</Price>
</InstrumentTypeModelPriceListModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InstrumentTypeModelPriceListModel'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>