PrismaLife services - Metadata

<back to all web services

CalculateVita2

Parameters:
NameParameterData TypeRequiredDescription
LoginbodyCredentialYesLogin (Benutzername und Passwort)
IdentifierbodyIdentificationYesKennung (Das Produktportfolio können Sie über die Operation MyProducts abfragen. Der ProductKey bildet zusammen mit dem AvbKey die Kennung des zu berechnenden Produktes.)
VPbodyPersonYesVersicherte Person
JobIdbodyintNoJob ID (Interne ID) aus der Liste Jobs abfragen
VNTypepathstringNoindividualPerson (Versicherungsnehmer ist eine eigenständige Person), equalToVP (Versicherungsnehmer und versicherte Person sind identisch), company (Versicherungsnehmer ist ein Unternehmen)
VNbodyPersonNoVersicherungsnehmer
DurationbodyDurationYesVersicherungsdauer - InsuranceDurationType(
MaxIns (Maximale dauer der Versicherung abhänig von Alter VN und VP)
RentAge (Versicherungsdauer bis zum Rentenalter abhänig von Alter VP)OpenIns (Frei wählbare Versicherungsdauer bis zur Maximaldauer)
PdfOptionpathstringNoSteuert ob die Modellrechnung generiert wird.
returnAll oder returnIt(pdf wird generiert und als Gesamter Antrag zurückgegeben)
dismissIt (pdf wird nicht generiert)
PrintCustomerCopyWatermarkpathboolNoEin Wasserzeichen 'Für Ihre Unterlagen' wird hiermit auf die Dokumente gedruckt
SumpathdecimalYesVersicherungssumme
PaymentIntervalpathintNoZahlungsinterval (
12 (monatliche Zahlung)
1 (jährliche Zahlung)
DocumentspathstringNoDokumente: übergabe als Array.
Beispiel: '[id1, id2]'
(Die erlaubten Dokumente können über die Operation Documents abgefragt werden)
DocFieldValuespathstringNoPDF Felder Werte: übergabe als Array.
Beispiel: '[{Key:AgentName,Value:Muster Vermittler},{Key:AgentNumber,Value:998877112233}]'
Feldnamen und Feldewerte(RadioButtons) müssen aus den PDFs ausgelesen werden
FixPrempathboolYesMontaliche Prämie Fix = true: Fallende Versicherungssumme
Monatliche Pramie Fix = false: Steigende Prämie bei gleicher Versicherungsumme
ProductVariantpathboolYesProduktvariante
false = Basis
true = Comfort
ContractAddsbodyContractVita2AddYesZusatzversicherungen
IsKidOptionpathstringNoFür die Berechnung als Kinder Versicherung. Eingabe: true
ConnectedContractpathboolNoEs wurde ein mit dem Versicherungsvertrag zusammenhängender Vertrag geschlossen. (Vergütungs- oder Honorarberatung)

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: services.prismalife.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CalculateVita2

<?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>

<CalculateVita2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <ConnectedContract>false</ConnectedContract>
  <ContractAdds>
    <BirthdayMVP>0001-01-01T00:00:00</BirthdayMVP>
    <FamilyNameMVP>String</FamilyNameMVP>
    <FamilyPlusMVP>false</FamilyPlusMVP>
    <FamilyPlusVP>false</FamilyPlusVP>
    <FirstNameMVP>String</FirstNameMVP>
    <Kids i:nil="true" />
    <KidsPlus>false</KidsPlus>
    <LadiesPlus>false</LadiesPlus>
    <LadiesPlusContractEnd>0001-01-01T00:00:00</LadiesPlusContractEnd>
    <Mailing>false</Mailing>
  </ContractAdds>
  <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>
  <FixPrem>false</FixPrem>
  <Identifier>
    <AvbKey>00000000-0000-0000-0000-000000000000</AvbKey>
    <ProductKey>00000000-0000-0000-0000-000000000000</ProductKey>
  </Identifier>
  <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>
  <PaymentInterval>0</PaymentInterval>
  <PdfOption>String</PdfOption>
  <PrintCustomerCopyWatermark>false</PrintCustomerCopyWatermark>
  <ProductVariant>false</ProductVariant>
  <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>
</CalculateVita2>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<CalculateVita2Response 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>
  <Documents>
    <Report>
      <AllPages>0</AllPages>
      <FileKey>String</FileKey>
      <PDF>AA==</PDF>
    </Report>
  </Documents>
  <Id>String</Id>
  <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>
</CalculateVita2Response>

    </soap:Body>
</soap:Envelope>