POST api/newinstrument

Request Information

URI Parameters

None.

Body Parameters

InstrumentModel
NameDescriptionTypeAdditional information
Id

integer

None.

InstrumentToken

string

None.

ExchangeToken

string

None.

TradingSymbol

string

None.

Name

string

None.

LastPrice

decimal number

None.

Expiry

string

None.

Strike

decimal number

None.

TickSize

decimal number

None.

LotSize

integer

None.

InstrumentType

string

None.

Segment

string

None.

Exchange

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "InstrumentToken": "sample string 2",
  "ExchangeToken": "sample string 3",
  "TradingSymbol": "sample string 4",
  "Name": "sample string 5",
  "LastPrice": 6.1,
  "Expiry": "sample string 7",
  "Strike": 8.1,
  "TickSize": 9.1,
  "LotSize": 10,
  "InstrumentType": "sample string 11",
  "Segment": "sample string 12",
  "Exchange": "sample string 13"
}

application/xml, text/xml

Sample:
<InstrumentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/R2RDataManager.Library.Models">
  <Exchange>sample string 13</Exchange>
  <ExchangeToken>sample string 3</ExchangeToken>
  <Expiry>sample string 7</Expiry>
  <Id>1</Id>
  <InstrumentToken>sample string 2</InstrumentToken>
  <InstrumentType>sample string 11</InstrumentType>
  <LastPrice>6.1</LastPrice>
  <LotSize>10</LotSize>
  <Name>sample string 5</Name>
  <Segment>sample string 12</Segment>
  <Strike>8.1</Strike>
  <TickSize>9.1</TickSize>
  <TradingSymbol>sample string 4</TradingSymbol>
</InstrumentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.