UK Lotto
Click here for a complete list of operations.
LottoResult
Returns the latest U.K. Lotto Results in the following format: DrawDate As DateTime; LottoNumbers(5) As Byte
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /services/uk_lotto_results.asmx HTTP/1.1
Host: www.sansburycc.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://sansburycc.co.uk/services/uk_lotto_results/LottoResult"
<?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>
<LottoResult xmlns="http://sansburycc.co.uk/services/uk_lotto_results" />
</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>
<LottoResultResponse xmlns="http://sansburycc.co.uk/services/uk_lotto_results">
<LottoResultResult>
<DrawDate>dateTime</DrawDate>
<LottoNumbers>base64Binary</LottoNumbers>
</LottoResultResult>
</LottoResultResponse>
</soap:Body>
</soap:Envelope>