HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: services.prismalife.com
Content-Type: text/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>
<CalculateBU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<ConnectedContract>false</ConnectedContract>
<DocFieldValues>
<DocFieldValue>
<Key>String</Key>
<Value>String</Value>
</DocFieldValue>
</DocFieldValues>
<Documents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Documents>
<EndAge>0</EndAge>
<Identifier>
<AvbKey>00000000-0000-0000-0000-000000000000</AvbKey>
<ProductKey>00000000-0000-0000-0000-000000000000</ProductKey>
</Identifier>
<InsuranceBegin>0001-01-01T00:00:00</InsuranceBegin>
<IsKidOption>false</IsKidOption>
<JobId>0</JobId>
<Language>String</Language>
<Login>
<Password>String</Password>
<Username>String</Username>
</Login>
<Options xmlns:d2p1="http://schemas.datacontract.org/2004/07/Service.Engine.Models">
<d2p1:Rules>
<d2p1:Rule>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>String</d2p1:Value>
</d2p1:Rule>
</d2p1:Rules>
</Options>
<PdfOption>String</PdfOption>
<PrintCustomerCopyWatermark>false</PrintCustomerCopyWatermark>
<Rent>0</Rent>
<VN>
<BMIResult>0</BMIResult>
<BirthDay>0001-01-01T00:00:00</BirthDay>
<BodyHeight>0</BodyHeight>
<CigarettesAmount>0</CigarettesAmount>
<CompanyName>String</CompanyName>
<FamilyName>String</FamilyName>
<FamilyStatusBestLifeStyle>false</FamilyStatusBestLifeStyle>
<FirstName>String</FirstName>
<Gender>String</Gender>
<IsSmoker>false</IsSmoker>
<UnderMedication>false</UnderMedication>
<Weight>0</Weight>
</VN>
<VNType>String</VNType>
<VP>
<BMIResult>0</BMIResult>
<BirthDay>0001-01-01T00:00:00</BirthDay>
<BodyHeight>0</BodyHeight>
<CigarettesAmount>0</CigarettesAmount>
<CompanyName>String</CompanyName>
<FamilyName>String</FamilyName>
<FamilyStatusBestLifeStyle>false</FamilyStatusBestLifeStyle>
<FirstName>String</FirstName>
<Gender>String</Gender>
<IsSmoker>false</IsSmoker>
<UnderMedication>false</UnderMedication>
<Weight>0</Weight>
</VP>
</CalculateBU>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>
<CalculateBUResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<CostsPP>
<AlphaFee>0</AlphaFee>
<AlphaFeeNetto>0</AlphaFeeNetto>
<AlphaFeeToPay>0</AlphaFeeToPay>
<AlphaFeeToPayInit>0</AlphaFeeToPayInit>
<BetaCost1>0</BetaCost1>
<BetaCost2>0</BetaCost2>
<BetaSumCost>0</BetaSumCost>
<ClearanceAmount>0</ClearanceAmount>
<ClearanceAmountMonthly>0</ClearanceAmountMonthly>
<DealFeeToPay>0</DealFeeToPay>
<Dynamic>0</Dynamic>
<GammaCost>0</GammaCost>
<H0Cost>0</H0Cost>
<InPaymentBrutto>0</InPaymentBrutto>
<InPaymentBruttoSum>0</InPaymentBruttoSum>
<InPaymentNetto>0</InPaymentNetto>
<InPaymentNettoSum>0</InPaymentNettoSum>
<PaymentEnd>0001-01-01T00:00:00</PaymentEnd>
<SetupFeeToPay>0</SetupFeeToPay>
<SingleAdminFeeToPay>0</SingleAdminFeeToPay>
<ValuationAmountBrutto>0</ValuationAmountBrutto>
<ValuationAmountNetto>0</ValuationAmountNetto>
<ValuationDuration>0</ValuationDuration>
</CostsPP>
<InitialPrem>0</InitialPrem>
<Report>
<AllPages>0</AllPages>
<FileKey>String</FileKey>
<PDF>AA==</PDF>
</Report>
<ResponseStatus>
<ErrorCode>String</ErrorCode>
<Message>String</Message>
<StackTrace>String</StackTrace>
<Errors>
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
</ResponseError>
</Errors>
</ResponseStatus>
<Warnings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Warnings>
</CalculateBUResponse>
</soap12:Body>
</soap12:Envelope>