PrismaLife services - Metadata

<back to all web services

CalculateBU

The following routes are available for this service:
POST/api/calculatebu
Parameters:
NameParameterData TypeRequiredDescription
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
ConnectedContractpathboolNoEs wurde ein mit dem Versicherungsvertrag zusammenhängender Vertrag geschlossen. (Vergütungs- oder Honorarberatung)
IsKidOptionpathstringNoFür die Berechnung als Kinder Versicherung. Eingabe: true

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

HTTP + XML

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

POST /xml/reply/CalculateBU HTTP/1.1 
Host: services.prismalife.com 
Content-Type: application/xml
Content-Length: length

<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>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

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