BSE Web Service


Click here for a complete list of operations.

SymbolDataSeries

All the trades in the last trading day by symbol. Parameters: symbol (string), market (string : Empty for all markets), fromID(long 64 bits integer: 0 from beginning),toID (long 64 bits integer: 0 to end)

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
symbol:
market:
fromID:
toID:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /BseWS/Intraday.asmx HTTP/1.1
Host: 195.28.176.74
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "www.bvb.ro/SymbolDataSeries"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <Header xmlns="www.bvb.ro">
      <User>string</User>
      <Password>string</Password>
    </Header>
  </soap:Header>
  <soap:Body>
    <SymbolDataSeries xmlns="www.bvb.ro">
      <symbol>string</symbol>
      <market>string</market>
      <fromID>long</fromID>
      <toID>long</toID>
    </SymbolDataSeries>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SymbolDataSeriesResponse xmlns="www.bvb.ro">
      <SymbolDataSeriesResult>
        <TypeTrade>
          <TradeID xmlns="http://www.bvb.ro/">long</TradeID>
          <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
          <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
          <TradeTime xmlns="http://www.bvb.ro/">dateTime</TradeTime>
          <Volume xmlns="http://www.bvb.ro/">long</Volume>
          <Price xmlns="http://www.bvb.ro/">decimal</Price>
        </TypeTrade>
        <TypeTrade>
          <TradeID xmlns="http://www.bvb.ro/">long</TradeID>
          <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
          <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
          <TradeTime xmlns="http://www.bvb.ro/">dateTime</TradeTime>
          <Volume xmlns="http://www.bvb.ro/">long</Volume>
          <Price xmlns="http://www.bvb.ro/">decimal</Price>
        </TypeTrade>
      </SymbolDataSeriesResult>
    </SymbolDataSeriesResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /BseWS/Intraday.asmx HTTP/1.1
Host: 195.28.176.74
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <Header xmlns="www.bvb.ro">
      <User>string</User>
      <Password>string</Password>
    </Header>
  </soap12:Header>
  <soap12:Body>
    <SymbolDataSeries xmlns="www.bvb.ro">
      <symbol>string</symbol>
      <market>string</market>
      <fromID>long</fromID>
      <toID>long</toID>
    </SymbolDataSeries>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SymbolDataSeriesResponse xmlns="www.bvb.ro">
      <SymbolDataSeriesResult>
        <TypeTrade>
          <TradeID xmlns="http://www.bvb.ro/">long</TradeID>
          <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
          <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
          <TradeTime xmlns="http://www.bvb.ro/">dateTime</TradeTime>
          <Volume xmlns="http://www.bvb.ro/">long</Volume>
          <Price xmlns="http://www.bvb.ro/">decimal</Price>
        </TypeTrade>
        <TypeTrade>
          <TradeID xmlns="http://www.bvb.ro/">long</TradeID>
          <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
          <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
          <TradeTime xmlns="http://www.bvb.ro/">dateTime</TradeTime>
          <Volume xmlns="http://www.bvb.ro/">long</Volume>
          <Price xmlns="http://www.bvb.ro/">decimal</Price>
        </TypeTrade>
      </SymbolDataSeriesResult>
    </SymbolDataSeriesResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /BseWS/Intraday.asmx/SymbolDataSeries?symbol=string&market=string&fromID=string&toID=string HTTP/1.1
Host: 195.28.176.74
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfTypeTrade xmlns="www.bvb.ro">
  <TypeTrade>
    <TradeID xmlns="http://www.bvb.ro/">long</TradeID>
    <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
    <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
    <TradeTime xmlns="http://www.bvb.ro/">dateTime</TradeTime>
    <Volume xmlns="http://www.bvb.ro/">long</Volume>
    <Price xmlns="http://www.bvb.ro/">decimal</Price>
  </TypeTrade>
  <TypeTrade>
    <TradeID xmlns="http://www.bvb.ro/">long</TradeID>
    <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
    <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
    <TradeTime xmlns="http://www.bvb.ro/">dateTime</TradeTime>
    <Volume xmlns="http://www.bvb.ro/">long</Volume>
    <Price xmlns="http://www.bvb.ro/">decimal</Price>
  </TypeTrade>
</ArrayOfTypeTrade>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /BseWS/Intraday.asmx/SymbolDataSeries HTTP/1.1
Host: 195.28.176.74
Content-Type: application/x-www-form-urlencoded
Content-Length: length

symbol=string&market=string&fromID=string&toID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfTypeTrade xmlns="www.bvb.ro">
  <TypeTrade>
    <TradeID xmlns="http://www.bvb.ro/">long</TradeID>
    <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
    <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
    <TradeTime xmlns="http://www.bvb.ro/">dateTime</TradeTime>
    <Volume xmlns="http://www.bvb.ro/">long</Volume>
    <Price xmlns="http://www.bvb.ro/">decimal</Price>
  </TypeTrade>
  <TypeTrade>
    <TradeID xmlns="http://www.bvb.ro/">long</TradeID>
    <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode>
    <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode>
    <TradeTime xmlns="http://www.bvb.ro/">dateTime</TradeTime>
    <Volume xmlns="http://www.bvb.ro/">long</Volume>
    <Price xmlns="http://www.bvb.ro/">decimal</Price>
  </TypeTrade>
</ArrayOfTypeTrade>