PrismaLife services - Metadata

<back to all web services

CalculateRLV

The following routes are available for this service:
POST/api/calculaterlv
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
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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"login":{"username":"String","password":"String"},"identifier":{"productKey":"00000000000000000000000000000000","avbKey":"00000000000000000000000000000000"},"language":"String","vp":{"gender":"String","familyName":"String","firstName":"String","birthDay":"\/Date(-62135596800000-0000)\/","companyName":"String","isSmoker":false,"cigarettesAmount":0,"underMedication":false,"weight":0,"bodyHeight":0,"bmiResult":0,"familyStatusBestLifeStyle":false},"vnType":"String","vn":{"gender":"String","familyName":"String","firstName":"String","birthDay":"\/Date(-62135596800000-0000)\/","companyName":"String","isSmoker":false,"cigarettesAmount":0,"underMedication":false,"weight":0,"bodyHeight":0,"bmiResult":0,"familyStatusBestLifeStyle":false},"duration":{"insuranceBegin":"\/Date(-62135596800000-0000)\/","insuranceDurationType":"String","insuranceDuration":0,"insuranceDurationInMonths":0},"pdfOption":"String","printCustomerCopyWatermark":false,"sum":0,"coverage":"String","fixPremAge":0,"paymentInterval":0,"options":{"rules":[{"key":"String","value":"String"}]},"documents":["String"],"docFieldValues":[{"key":"String","value":"String"}],"isKidOption":false,"connectedContract":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"report":{"pdf":"AA==","fileKey":"String","allPages":0},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]},"insuranceYears":[{"year":0,"ageVP":0,"prem":0,"sum":0}],"costs":{"firstYear":{"betaCost":0,"setupFee":0,"betaFamilyPlus":0,"betaLadiesPlus":0,"betaKidsPlus":0,"premFamilyPlus":0,"premLadiesPlus":0,"premKidsPlus":0,"premMailing":0,"premBruttoAll":0,"premBruttoAllCompare":0}},"warnings":["String"]}