.NET SOAP/REST Methods
XML SOAP/REST Methods
JSON SOAP/REST Methods
RSS/ATOM SOAP/REST Methods
Ref-Table I
Ref-Table II
SOAP Method (using BasicHttpBinding)
Description
Parameter Options
Returns
REST URL (using WebHttpBinding)
REST Example
Consumption Example
GetAllData4DeskTop()
Method to Obtain all data for use by .NET desktop clients.
N/A
Dataset containing 2 tables, 0 being Indices, and 1 being AllCompPrices.
REST URL is - http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/AllData
Example URL is -
http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/AllData
Example of consuming XML in html via xmlhttp object
http://wcf.sharepricewebservice.co.uk/GetAllData4Desktop.html
GetAllIndices()
Method to Obtain all Indices.
N/A
Dataset
REST URL is - http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Indices
Example URL is -
http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Indices
Example of consuming XML in html via xmlhttp object
http://wcf.sharepricewebservice.co.uk/GetAllIndices.html
GetCompanySymbolContains(string CompanyName)
GetCompanySymbolContains returns a companies symbol based upon its name containing the string passed.
Company Name containing the string passed.
Dataset
REST URL is - http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/SymbolContains={CompanyName}
REST Example is -
http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/SymbolContains=Santander
Example of consuming XML in html via xmlhttp object
http://wcf.sharepricewebservice.co.uk/GetCompanySymbolContains.html
GetCompanySymbolStart(string CompanyName)
GetCompanySymbolStart returns a companies symbol based upon the beginning part of its name.
Company Name starting with the string passed.
Dataset
REST URL is - http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/SymbolStart={CompanyName}
REST Example is -
http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/SymbolStart=Banco
Example of consuming XML in html via xmlhttp object
http://wcf.sharepricewebservice.co.uk/GetCompanySymbolStart.html
GetCompanySymbol(string CompanyName)
Method to Obtain a Companies Symbol via its full name (as a string).
Full Company Name passed as a string.
Dataset
REST URL is - http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/format=xml/Symbol={CompanyName}
REST Example is -
http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Symbol=BP
Example of consuming XML in html via xmlhttp object
http://wcf.sharepricewebservice.co.uk/GetCompanySymbol.html
GetSharePrice(string CompanySymbol)
Method to Obtain a Companies Share Price via its Symbol (as a string).
Full Company Symbol passed as a string.
Dataset
REST URL is - http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Price={CompanySymbol}
REST Example is -
http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Price=III.L
Example of consuming XML in html via xmlhttp object
http://wcf.sharepricewebservice.co.uk/GetSharePrice.html
GetAllCompPrices(int indexid)
Method to Obtain all companies name and share price by index (as integer).
Indexid (see Ref Table II below).
Dataset
REST URL - http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Prices?indexid={indexid}
REST Example -
http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Prices?indexid=1
Example of consuming XML in html via xmlhttp object
http://wcf.sharepricewebservice.co.uk/GetAllCompPrices.html
GetAllCompanies(int indexid)
Method to Obtain all Company Symbols by index (as integer).
Indexid (see Ref Table II below)
Dataset
REST URL - http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Companies?indexid={indexid}
REST Example -
http://wcf.sharepricewebservice.co.uk/Service1.svc/REST/NETSPWCF/Companies?indexid=1
Example of consuming XML in html via xmlhttp object
http://wcf.sharepricewebservice.co.uk/GetAllCompanies.html