SAP
Click here for a complete list of operations.
Login
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/Login" <?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> <Login xmlns="https://www.stromamembers.co.uk/sap.asmx"> <Username>string</Username> <password>string</password> <TransactionID>string</TransactionID> <Encryption>string</Encryption> </Login> </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> <LoginResponse xmlns="https://www.stromamembers.co.uk/sap.asmx"> <LoginResult> <Insurance> <StartDate>string</StartDate> <Enddate>string</Enddate> <PLLimit>string</PLLimit> <PolicyNo>string</PolicyNo> <Insurer>string</Insurer> <Include>boolean</Include> </Insurance> <Permissions> <importtype>string</importtype> <eacertificate>string</eacertificate> <Include>boolean</Include> <SketchImported>boolean</SketchImported> </Permissions> <UserDetail> <UserID>int</UserID> <EacertificateNO>string</EacertificateNO> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <postTown>string</postTown> <Postcode>string</Postcode> <Website>string</Website> <Email>string</Email> <Fax>string</Fax> <Telephone>string</Telephone> <CompanyName>string</CompanyName> <Suffix>string</Suffix> <Lastname>string</Lastname> <FirstName>string</FirstName> <Prefix>string</Prefix> <ErrMsg>string</ErrMsg> </UserDetail> <ErrMsg>string</ErrMsg> </LoginResult> </LoginResponse> </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> <Login xmlns="https://www.stromamembers.co.uk/sap.asmx"> <Username>string</Username> <password>string</password> <TransactionID>string</TransactionID> <Encryption>string</Encryption> </Login> </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> <LoginResponse xmlns="https://www.stromamembers.co.uk/sap.asmx"> <LoginResult> <Insurance> <StartDate>string</StartDate> <Enddate>string</Enddate> <PLLimit>string</PLLimit> <PolicyNo>string</PolicyNo> <Insurer>string</Insurer> <Include>boolean</Include> </Insurance> <Permissions> <importtype>string</importtype> <eacertificate>string</eacertificate> <Include>boolean</Include> <SketchImported>boolean</SketchImported> </Permissions> <UserDetail> <UserID>int</UserID> <EacertificateNO>string</EacertificateNO> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <postTown>string</postTown> <Postcode>string</Postcode> <Website>string</Website> <Email>string</Email> <Fax>string</Fax> <Telephone>string</Telephone> <CompanyName>string</CompanyName> <Suffix>string</Suffix> <Lastname>string</Lastname> <FirstName>string</FirstName> <Prefix>string</Prefix> <ErrMsg>string</ErrMsg> </UserDetail> <ErrMsg>string</ErrMsg> </LoginResult> </LoginResponse> </soap12:Body> </soap12:Envelope>