HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/CalculateRLV HTTP/1.1
Host: services.prismalife.com
Content-Type: application/xml
Content-Length: length
<CalculateRLV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<ConnectedContract>false</ConnectedContract>
<Coverage>String</Coverage>
<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>
<Duration>
<InsuranceBegin>0001-01-01T00:00:00</InsuranceBegin>
<InsuranceDuration>0</InsuranceDuration>
<InsuranceDurationInMonths>0</InsuranceDurationInMonths>
<InsuranceDurationType>String</InsuranceDurationType>
</Duration>
<FixPremAge>0</FixPremAge>
<Identifier>
<AvbKey>00000000-0000-0000-0000-000000000000</AvbKey>
<ProductKey>00000000-0000-0000-0000-000000000000</ProductKey>
</Identifier>
<IsKidOption>false</IsKidOption>
<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>
<PaymentInterval>0</PaymentInterval>
<PdfOption>String</PdfOption>
<PrintCustomerCopyWatermark>false</PrintCustomerCopyWatermark>
<Sum>0</Sum>
<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>
</CalculateRLV>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CalculateRLVResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<Costs>
<FirstYear>
<BetaCost>0</BetaCost>
<BetaFamilyPlus>0</BetaFamilyPlus>
<BetaKidsPlus>0</BetaKidsPlus>
<BetaLadiesPlus>0</BetaLadiesPlus>
<PremBruttoAll>0</PremBruttoAll>
<PremBruttoAllCompare>0</PremBruttoAllCompare>
<PremFamilyPlus>0</PremFamilyPlus>
<PremKidsPlus>0</PremKidsPlus>
<PremLadiesPlus>0</PremLadiesPlus>
<PremMailing>0</PremMailing>
<SetupFee>0</SetupFee>
</FirstYear>
</Costs>
<InsuranceYears>
<InsuranceYear>
<AgeVP>0</AgeVP>
<Prem>0</Prem>
<Sum>0</Sum>
<Year>0</Year>
</InsuranceYear>
</InsuranceYears>
<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>
</CalculateRLVResponse>