IntegratedQuote
Click here for a complete list of operations.
GetPolicyDetails
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 /ws/integratedquote.asmx HTTP/1.1 Host: www.asuaonline.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "WS-IntegratedQuote/GetPolicyDetails" <?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> <GetPolicyDetails xmlns="WS-IntegratedQuote"> <userID>long</userID> <userCode>long</userCode> <quoteID>long</quoteID> <emailAddress>string</emailAddress> <code>string</code> </GetPolicyDetails> </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> <GetPolicyDetailsResponse xmlns="WS-IntegratedQuote"> <GetPolicyDetailsResult> <message>string</message> <policyDetails> <policyID>long</policyID> <schemaName>string</schemaName> <policytypeName>string</policytypeName> <residenceName>string</residenceName> <destinationName>string</destinationName> <startDate>string</startDate> <endDate>string</endDate> <SI>string</SI> <PW>string</PW> <IPID>string</IPID> <currency>string</currency> <IPT>double</IPT> <IPTRate>double</IPTRate> <GrossPrice>double</GrossPrice> <IconURL>string</IconURL> <SchemaID>long</SchemaID> <PolicyTypeID>long</PolicyTypeID> <DestinationID>long</DestinationID> <PackageID>long</PackageID> <MaxAgeAgebandID>long</MaxAgeAgebandID> <SummaryCovers> <summaryCover xsi:nil="true" /> <summaryCover xsi:nil="true" /> </SummaryCovers> <packageName>string</packageName> <transactionID>string</transactionID> <Address>string</Address> <Postcode>string</Postcode> <msScreeningID>long</msScreeningID> <msPrice>double</msPrice> <Travellers> <Traveller xsi:nil="true" /> <Traveller xsi:nil="true" /> </Travellers> <DynamicDetails> <DynamicDetail_SavedValue xsi:nil="true" /> <DynamicDetail_SavedValue xsi:nil="true" /> </DynamicDetails> <ScreeningQuestionAnswers> <policyID>long</policyID> <Q1Response>string</Q1Response> <Q2Response>string</Q2Response> <Q3Response>string</Q3Response> <Q4Response>string</Q4Response> <Q5Response>string</Q5Response> <Q6Response>string</Q6Response> <Q7Response>string</Q7Response> <Q8Response>string</Q8Response> <Q9Response>string</Q9Response> <Q10Response>string</Q10Response> <Q11Response>string</Q11Response> <Q12Response>string</Q12Response> <Q13Response>string</Q13Response> <Q14Response>string</Q14Response> <Q15Response>string</Q15Response> <Q16Response>string</Q16Response> <Q17Response>string</Q17Response> <Q18Response>string</Q18Response> <Q19Response>string</Q19Response> <Q20Response>string</Q20Response> <MedicalScreeningRef>string</MedicalScreeningRef> </ScreeningQuestionAnswers> <schemaIcon>string</schemaIcon> <Activities> <policyActivity_BasicInfo xsi:nil="true" /> <policyActivity_BasicInfo xsi:nil="true" /> </Activities> <companyID>long</companyID> <voucherCode>string</voucherCode> <priceAmended>boolean</priceAmended> </policyDetails> </GetPolicyDetailsResult> </GetPolicyDetailsResponse> </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 /ws/integratedquote.asmx HTTP/1.1 Host: www.asuaonline.com 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> <GetPolicyDetails xmlns="WS-IntegratedQuote"> <userID>long</userID> <userCode>long</userCode> <quoteID>long</quoteID> <emailAddress>string</emailAddress> <code>string</code> </GetPolicyDetails> </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> <GetPolicyDetailsResponse xmlns="WS-IntegratedQuote"> <GetPolicyDetailsResult> <message>string</message> <policyDetails> <policyID>long</policyID> <schemaName>string</schemaName> <policytypeName>string</policytypeName> <residenceName>string</residenceName> <destinationName>string</destinationName> <startDate>string</startDate> <endDate>string</endDate> <SI>string</SI> <PW>string</PW> <IPID>string</IPID> <currency>string</currency> <IPT>double</IPT> <IPTRate>double</IPTRate> <GrossPrice>double</GrossPrice> <IconURL>string</IconURL> <SchemaID>long</SchemaID> <PolicyTypeID>long</PolicyTypeID> <DestinationID>long</DestinationID> <PackageID>long</PackageID> <MaxAgeAgebandID>long</MaxAgeAgebandID> <SummaryCovers> <summaryCover xsi:nil="true" /> <summaryCover xsi:nil="true" /> </SummaryCovers> <packageName>string</packageName> <transactionID>string</transactionID> <Address>string</Address> <Postcode>string</Postcode> <msScreeningID>long</msScreeningID> <msPrice>double</msPrice> <Travellers> <Traveller xsi:nil="true" /> <Traveller xsi:nil="true" /> </Travellers> <DynamicDetails> <DynamicDetail_SavedValue xsi:nil="true" /> <DynamicDetail_SavedValue xsi:nil="true" /> </DynamicDetails> <ScreeningQuestionAnswers> <policyID>long</policyID> <Q1Response>string</Q1Response> <Q2Response>string</Q2Response> <Q3Response>string</Q3Response> <Q4Response>string</Q4Response> <Q5Response>string</Q5Response> <Q6Response>string</Q6Response> <Q7Response>string</Q7Response> <Q8Response>string</Q8Response> <Q9Response>string</Q9Response> <Q10Response>string</Q10Response> <Q11Response>string</Q11Response> <Q12Response>string</Q12Response> <Q13Response>string</Q13Response> <Q14Response>string</Q14Response> <Q15Response>string</Q15Response> <Q16Response>string</Q16Response> <Q17Response>string</Q17Response> <Q18Response>string</Q18Response> <Q19Response>string</Q19Response> <Q20Response>string</Q20Response> <MedicalScreeningRef>string</MedicalScreeningRef> </ScreeningQuestionAnswers> <schemaIcon>string</schemaIcon> <Activities> <policyActivity_BasicInfo xsi:nil="true" /> <policyActivity_BasicInfo xsi:nil="true" /> </Activities> <companyID>long</companyID> <voucherCode>string</voucherCode> <priceAmended>boolean</priceAmended> </policyDetails> </GetPolicyDetailsResult> </GetPolicyDetailsResponse> </soap12:Body> </soap12:Envelope>