Get Site Data

This service returns a map and a list of locations within the buffer specified for a given species (in this case Mytilus edulis - NBNSYS0000176602).
In this example, x,y coordinates and a buffer distance are specified.

Click here to view the source code.

Click here to view the request to the server.

Click here to view the returned XML file.




Request to Server

POST /ws/webservice HTTP/1.0 Host: User-Agent: NuSOAP/0.7.2 (1.94) Content-Type: text/xml; charset=UTF-8 SOAPAction: "" Content-Length: 855 <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC="" xmlns:nbnq=""><SOAP-ENV:Body><OneSiteDataRequest xmlns=""> <GeographicalFilter> <Buffer xmlns=""> <Point srs="osgb_BNG" x="231500" y="328500" /> <Distance>5000</Distance> </Buffer> <MapSettings height="400" width="400" fillColour="#ffffff" fillTransparency="0" /> <OverlayRule>overlaps</OverlayRule> </GeographicalFilter> <TaxonVersionKey>NBNSYS0000176602</TaxonVersionKey> </OneSiteDataRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
Back to the top

The Returned XML File

<?xml version="1.0" encoding="utf-8"?>

Source code for this page