SAP
Click here for a complete list of operations.
AddressByUPRN
Test
The test form is only available for requests from the local machine.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 /SAP.asmx HTTP/1.1 Host: stromamembers.co.uk Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://www.stromamembers.co.uk/sap.asmx/AddressByUPRN" <?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> <AddressByUPRN xmlns="https://www.stromamembers.co.uk/sap.asmx"> <UPRN>string</UPRN> <Request> <Selection> <Country>England or Wales or Scotland or NorthenIreland</Country> <Environment>LIVE or UAT or OTE or DEV</Environment> <Assessment>EPC or SAP or EPR or OA or GD or GDIP or Forms or Finance or ECO</Assessment> <language>English or Welsh</language> </Selection> <Security> <Encryption>string</Encryption> <Transaction>string</Transaction> </Security> </Request> </AddressByUPRN> </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> <AddressByUPRNResponse xmlns="https://www.stromamembers.co.uk/sap.asmx"> <AddressByUPRNResult> <ExtensionData /> <Address> <AddressDetails> <ExtensionData xsi:nil="true" /> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <AddressLine4>string</AddressLine4> <AddressSummary>string</AddressSummary> <City>string</City> <Country>int</Country> <County>string</County> <District>string</District> <Easting>string</Easting> <HAS_EPC>boolean</HAS_EPC> <Northing>string</Northing> <PostCode>string</PostCode> <UPRN>string</UPRN> <Ward>string</Ward> <existingAssessments>string</existingAssessments> <temporary>string</temporary> </AddressDetails> <AddressDetails> <ExtensionData xsi:nil="true" /> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <AddressLine4>string</AddressLine4> <AddressSummary>string</AddressSummary> <City>string</City> <Country>int</Country> <County>string</County> <District>string</District> <Easting>string</Easting> <HAS_EPC>boolean</HAS_EPC> <Northing>string</Northing> <PostCode>string</PostCode> <UPRN>string</UPRN> <Ward>string</Ward> <existingAssessments>string</existingAssessments> <temporary>string</temporary> </AddressDetails> </Address> <Msg>string</Msg> <Success>boolean</Success> </AddressByUPRNResult> </AddressByUPRNResponse> </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 /SAP.asmx HTTP/1.1 Host: stromamembers.co.uk 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> <AddressByUPRN xmlns="https://www.stromamembers.co.uk/sap.asmx"> <UPRN>string</UPRN> <Request> <Selection> <Country>England or Wales or Scotland or NorthenIreland</Country> <Environment>LIVE or UAT or OTE or DEV</Environment> <Assessment>EPC or SAP or EPR or OA or GD or GDIP or Forms or Finance or ECO</Assessment> <language>English or Welsh</language> </Selection> <Security> <Encryption>string</Encryption> <Transaction>string</Transaction> </Security> </Request> </AddressByUPRN> </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> <AddressByUPRNResponse xmlns="https://www.stromamembers.co.uk/sap.asmx"> <AddressByUPRNResult> <ExtensionData /> <Address> <AddressDetails> <ExtensionData xsi:nil="true" /> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <AddressLine4>string</AddressLine4> <AddressSummary>string</AddressSummary> <City>string</City> <Country>int</Country> <County>string</County> <District>string</District> <Easting>string</Easting> <HAS_EPC>boolean</HAS_EPC> <Northing>string</Northing> <PostCode>string</PostCode> <UPRN>string</UPRN> <Ward>string</Ward> <existingAssessments>string</existingAssessments> <temporary>string</temporary> </AddressDetails> <AddressDetails> <ExtensionData xsi:nil="true" /> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <AddressLine4>string</AddressLine4> <AddressSummary>string</AddressSummary> <City>string</City> <Country>int</Country> <County>string</County> <District>string</District> <Easting>string</Easting> <HAS_EPC>boolean</HAS_EPC> <Northing>string</Northing> <PostCode>string</PostCode> <UPRN>string</UPRN> <Ward>string</Ward> <existingAssessments>string</existingAssessments> <temporary>string</temporary> </AddressDetails> </Address> <Msg>string</Msg> <Success>boolean</Success> </AddressByUPRNResult> </AddressByUPRNResponse> </soap12:Body> </soap12:Envelope>