BSE Web Service
Click here for a complete list of operations.
Level1MainMarket
Level I for a list of symbols on their main market
Test
The test form is only available for methods with primitive types as parameters.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 /BVBOnline/Intraday.asmx HTTP/1.1 Host: ws.bvb.ro Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "www.bvb.ro/Level1MainMarket" <?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> <Level1MainMarket xmlns="www.bvb.ro"> <symbols> <string>string</string> <string>string</string> </symbols> </Level1MainMarket> </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> <Level1MainMarketResponse xmlns="www.bvb.ro"> <Level1MainMarketResult> <TypeLevel1> <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode> <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode> <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime> <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice> <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice> <Value xmlns="http://www.bvb.ro/">decimal</Value> <Volume xmlns="http://www.bvb.ro/">long</Volume> <Trades xmlns="http://www.bvb.ro/">long</Trades> <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent> <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent> <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice> <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice> <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice> <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice> <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol> <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice> <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus> <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime> <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol> <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice> <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol> <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice> </TypeLevel1> <TypeLevel1> <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode> <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode> <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime> <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice> <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice> <Value xmlns="http://www.bvb.ro/">decimal</Value> <Volume xmlns="http://www.bvb.ro/">long</Volume> <Trades xmlns="http://www.bvb.ro/">long</Trades> <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent> <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent> <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice> <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice> <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice> <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice> <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol> <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice> <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus> <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime> <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol> <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice> <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol> <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice> </TypeLevel1> </Level1MainMarketResult> </Level1MainMarketResponse> </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 /BVBOnline/Intraday.asmx HTTP/1.1 Host: ws.bvb.ro 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> <Level1MainMarket xmlns="www.bvb.ro"> <symbols> <string>string</string> <string>string</string> </symbols> </Level1MainMarket> </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> <Level1MainMarketResponse xmlns="www.bvb.ro"> <Level1MainMarketResult> <TypeLevel1> <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode> <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode> <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime> <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice> <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice> <Value xmlns="http://www.bvb.ro/">decimal</Value> <Volume xmlns="http://www.bvb.ro/">long</Volume> <Trades xmlns="http://www.bvb.ro/">long</Trades> <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent> <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent> <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice> <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice> <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice> <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice> <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol> <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice> <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus> <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime> <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol> <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice> <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol> <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice> </TypeLevel1> <TypeLevel1> <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode> <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode> <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime> <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice> <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice> <Value xmlns="http://www.bvb.ro/">decimal</Value> <Volume xmlns="http://www.bvb.ro/">long</Volume> <Trades xmlns="http://www.bvb.ro/">long</Trades> <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent> <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent> <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice> <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice> <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice> <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice> <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol> <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice> <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus> <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime> <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol> <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice> <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol> <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice> </TypeLevel1> </Level1MainMarketResult> </Level1MainMarketResponse> </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 /BVBOnline/Intraday.asmx/Level1MainMarket?symbols=string&symbols=string HTTP/1.1 Host: ws.bvb.ro
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfTypeLevel1 xmlns="www.bvb.ro"> <TypeLevel1> <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode> <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode> <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime> <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice> <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice> <Value xmlns="http://www.bvb.ro/">decimal</Value> <Volume xmlns="http://www.bvb.ro/">long</Volume> <Trades xmlns="http://www.bvb.ro/">long</Trades> <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent> <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent> <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice> <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice> <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice> <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice> <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol> <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice> <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus> <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime> <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol> <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice> <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol> <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice> </TypeLevel1> <TypeLevel1> <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode> <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode> <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime> <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice> <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice> <Value xmlns="http://www.bvb.ro/">decimal</Value> <Volume xmlns="http://www.bvb.ro/">long</Volume> <Trades xmlns="http://www.bvb.ro/">long</Trades> <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent> <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent> <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice> <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice> <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice> <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice> <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol> <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice> <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus> <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime> <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol> <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice> <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol> <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice> </TypeLevel1> </ArrayOfTypeLevel1>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /BVBOnline/Intraday.asmx/Level1MainMarket HTTP/1.1 Host: ws.bvb.ro Content-Type: application/x-www-form-urlencoded Content-Length: length symbols=string&symbols=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfTypeLevel1 xmlns="www.bvb.ro"> <TypeLevel1> <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode> <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode> <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime> <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice> <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice> <Value xmlns="http://www.bvb.ro/">decimal</Value> <Volume xmlns="http://www.bvb.ro/">long</Volume> <Trades xmlns="http://www.bvb.ro/">long</Trades> <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent> <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent> <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice> <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice> <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice> <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice> <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol> <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice> <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus> <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime> <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol> <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice> <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol> <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice> </TypeLevel1> <TypeLevel1> <Symbolcode xmlns="http://www.bvb.ro/">string</Symbolcode> <Marketcode xmlns="http://www.bvb.ro/">string</Marketcode> <LastTradeTime xmlns="http://www.bvb.ro/">dateTime</LastTradeTime> <Openprice xmlns="http://www.bvb.ro/">decimal</Openprice> <Closeprice xmlns="http://www.bvb.ro/">decimal</Closeprice> <Value xmlns="http://www.bvb.ro/">decimal</Value> <Volume xmlns="http://www.bvb.ro/">long</Volume> <Trades xmlns="http://www.bvb.ro/">long</Trades> <Lowpricecurrent xmlns="http://www.bvb.ro/">decimal</Lowpricecurrent> <Highpricecurrent xmlns="http://www.bvb.ro/">decimal</Highpricecurrent> <Avgprice xmlns="http://www.bvb.ro/">decimal</Avgprice> <NetChgFromOfficialPrice xmlns="http://www.bvb.ro/">decimal</NetChgFromOfficialPrice> <PrcChgFromOfficialPrice xmlns="http://www.bvb.ro/">double</PrcChgFromOfficialPrice> <ReferencePrice xmlns="http://www.bvb.ro/">decimal</ReferencePrice> <PotentialOpenVol xmlns="http://www.bvb.ro/">long</PotentialOpenVol> <PotentialOpenPrice xmlns="http://www.bvb.ro/">decimal</PotentialOpenPrice> <SymbolStatus xmlns="http://www.bvb.ro/">string</SymbolStatus> <LastBestTime xmlns="http://www.bvb.ro/">dateTime</LastBestTime> <BestBidVol xmlns="http://www.bvb.ro/">long</BestBidVol> <BestBidPrice xmlns="http://www.bvb.ro/">decimal</BestBidPrice> <BestAskVol xmlns="http://www.bvb.ro/">long</BestAskVol> <BestAskPrice xmlns="http://www.bvb.ro/">decimal</BestAskPrice> </TypeLevel1> </ArrayOfTypeLevel1>