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>
<CalculateMR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<ActivityAsSupervisorPercent>0</ActivityAsSupervisorPercent>
<ActivityAtBackOfficePercent>0</ActivityAtBackOfficePercent>
<ActivityExternalPercent>0</ActivityExternalPercent>
<ActivityOutdoorPercent>0</ActivityOutdoorPercent>
<ActivityPhysicallyPercent>0</ActivityPhysicallyPercent>
<BuPlusEndAge>0</BuPlusEndAge>
<BuPlusRent>0</BuPlusRent>
<BuPlusVersion>String</BuPlusVersion>
<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>
<DreadDiseasePlusSum>0</DreadDiseasePlusSum>
<DynamicPlus>false</DynamicPlus>
<EndAge>0</EndAge>
<FullTimePersonnel>0</FullTimePersonnel>
<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>
<JobStateKey>String</JobStateKey>
<Language>String</Language>
<Login>
<Password>String</Password>
<Username>String</Username>
</Login>
<MasterCraftsmanCertificate>false</MasterCraftsmanCertificate>
<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>
<PartTimePersonnel>0</PartTimePersonnel>
<PdfOption>String</PdfOption>
<PensionPlus>false</PensionPlus>
<PrintCustomerCopyWatermark>false</PrintCustomerCopyWatermark>
<Rent>0</Rent>
<RiskPlusDuration>0</RiskPlusDuration>
<RiskPlusSum>0</RiskPlusSum>
<SelfEmployedSince>0001-01-01T00:00:00</SelfEmployedSince>
<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>
</CalculateMR>
</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>
<CalculateMRResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<AlphaFee>0</AlphaFee>
<BetaYear>0</BetaYear>
<Documents>
<Report>
<AllPages>0</AllPages>
<FileKey>String</FileKey>
<PDF>AA==</PDF>
</Report>
</Documents>
<Id>String</Id>
<Prem>0</Prem>
<PremBuPlus>0</PremBuPlus>
<PremBuPlusDynamicPlus>0</PremBuPlusDynamicPlus>
<PremDreadDiseasePlus>0</PremDreadDiseasePlus>
<PremDynamicPlus>0</PremDynamicPlus>
<PremDynamicPlusTotal>0</PremDynamicPlusTotal>
<PremPensionPlus>0</PremPensionPlus>
<PremRiskPlus>0</PremRiskPlus>
<PremTotal>0</PremTotal>
<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>
</CalculateMRResponse>
</soap12:Body>
</soap12:Envelope>