POST api/ReferenceData/PriceInstrument/GetById?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DataResultOfPriceInstrumentEntityModel
NameDescriptionTypeAdditional information
Data

PriceInstrumentEntityModel

None.

Query

Object

None.

Validations

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Abbreviation": "sample string 1",
    "BookId": 1,
    "CounterPartyId": 1,
    "CurrencyId": 1,
    "ExchangeSymbol": "sample string 2",
    "ExternalReferenceNumber": "sample string 3",
    "ExtractPrices": true,
    "IndexPriceInstrumentId": 1,
    "IndexPriceTypeCvid": 1,
    "IsActive": true,
    "LocationId": 1,
    "Name": "sample string 6",
    "PriceInstrumentId": 7,
    "PricePublisherId": 8,
    "ProductId": 1,
    "PropertyListId": 1,
    "SourceExtractedDateTime": "2025-12-10T08:25:52.243675-06:00",
    "SourceId": 1,
    "SourceVerb": "sample string 9",
    "ToCurrencyId": 1,
    "UnitofMeasureId": 1,
    "Extras": {
      "sample string 1": {},
      "sample string 3": {}
    }
  },
  "Query": {},
  "Validations": null
}

text/html

Sample:
{"Data":{"Abbreviation":"sample string 1","BookId":1,"CounterPartyId":1,"CurrencyId":1,"ExchangeSymbol":"sample string 2","ExternalReferenceNumber":"sample string 3","ExtractPrices":true,"IndexPriceInstrumentId":1,"IndexPriceTypeCvid":1,"IsActive":true,"LocationId":1,"Name":"sample string 6","PriceInstrumentId":7,"PricePublisherId":8,"ProductId":1,"PropertyListId":1,"SourceExtractedDateTime":"2025-12-10T08:25:52.243675-06:00","SourceId":1,"SourceVerb":"sample string 9","ToCurrencyId":1,"UnitofMeasureId":1,"Extras":{"sample string 1":{},"sample string 3":{}}},"Query":{},"Validations":null}

application/xml, text/xml

Sample:
<DataResultOfPriceInstrumentEntityModelwD3tWLDN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.Services.Base.DataRequests">
  <Query />
  <Validations xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gravitate.Library.Validation" i:nil="true" />
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gravitate.Domain.CoreModel.DtoClasses">
    <Extras xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.Domain.CoreModel.Extensibility">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </Extras>
    <d2p1:Abbreviation>sample string 1</d2p1:Abbreviation>
    <d2p1:BookId>1</d2p1:BookId>
    <d2p1:CounterPartyId>1</d2p1:CounterPartyId>
    <d2p1:CurrencyId>1</d2p1:CurrencyId>
    <d2p1:ExchangeSymbol>sample string 2</d2p1:ExchangeSymbol>
    <d2p1:ExternalReferenceNumber>sample string 3</d2p1:ExternalReferenceNumber>
    <d2p1:ExtractPrices>true</d2p1:ExtractPrices>
    <d2p1:IndexPriceInstrumentId>1</d2p1:IndexPriceInstrumentId>
    <d2p1:IndexPriceTypeCvid>1</d2p1:IndexPriceTypeCvid>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:LocationId>1</d2p1:LocationId>
    <d2p1:Name>sample string 6</d2p1:Name>
    <d2p1:PriceInstrumentId>7</d2p1:PriceInstrumentId>
    <d2p1:PricePublisherId>8</d2p1:PricePublisherId>
    <d2p1:ProductId>1</d2p1:ProductId>
    <d2p1:PropertyListId>1</d2p1:PropertyListId>
    <d2p1:SourceExtractedDateTime>2025-12-10T08:25:52.243675-06:00</d2p1:SourceExtractedDateTime>
    <d2p1:SourceId>1</d2p1:SourceId>
    <d2p1:SourceVerb>sample string 9</d2p1:SourceVerb>
    <d2p1:ToCurrencyId>1</d2p1:ToCurrencyId>
    <d2p1:UnitofMeasureId>1</d2p1:UnitofMeasureId>
  </Data>
</DataResultOfPriceInstrumentEntityModelwD3tWLDN>