The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/Calculate 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,"progressionOption":false,"financeMode":"String","showLoyaltyFund":false,"performance":0,"ts":0,"bg":0,"fundSelectionType":"String","ppAmount":0,"smallIncome":false,"ppClearanceAmount":0,"cpClearanceAmount":0,"ppPaymentDuration":0,"ppPaymentDurationType":"String","ppPaymentInterval":0,"ppServiceBbBU":false,"ppFunds":[{"key":"String","percent":0}],"ppFactoringFactor":0,"coAmount":0,"coMonth":0,"coUniqueInvestmentStrategy":false,"coFunds":[{"key":"String","percent":0}],"commissionRate":"String","connectedContract":false,"commissionRateCP":"String","spAmount":0,"spFunds":[{"key":"String","percent":0}],"rentGuaranteeDuration":0,"rentPaymentInterval":0,"ppClearanceType":"String","costfreeCoPayments":[{"amount":0,"month":0,"funds":[{"key":"String","percent":0}]}],"rentFactorMode":"String","options":{"rules":[{"key":"String","value":"String"}]},"documents":["String"],"docFieldValues":[{"key":"String","value":"String"}],"ppDynamic":0,"ppDynamicInterval":0,"brand":"String","isKidOption":false,"cpcfAutoFill":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"report":{"pdf":"AA==","fileKey":"String","allPages":0},"documents":[{"pdf":"AA==","fileKey":"String","allPages":0}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]},"allRuns":[{"performance":0,"inPayment":0,"payOutEnd":0,"rentPerInterval":0,"rentPerIntervalGuarantee":0,"rentInterval":0,"rentYearly":0,"rentYearlyGuarantee":0,"rentCapitalGuarantee":0,"dynamicRent":[{"year":0,"rent":0}],"dynamicGuaranteeRent":[{"year":0,"rent":0}],"progression":[{"year":0,"ageVP":0,"assetValue":0,"fidelityAssetValue":0,"payableOnDeath":0,"cashInValue":0}]}],"reductionsInYield":[{"performance":0,"reductionInYield":0}],"dynamicResult":{"performance":0,"dynamicResultValues":[{"year":0,"inPayment":0,"fundValueTotal":0}]},"id":"String","costsPP":{"valuationDuration":0,"valuationAmountNetto":0,"valuationAmountBrutto":0,"inPaymentBruttoSum":0,"inPaymentNettoSum":0,"inPaymentBrutto":0,"inPaymentNetto":0,"dynamic":0,"dealFeeToPay":0,"setupFeeToPay":0,"singleAdminFeeToPay":0,"alphaFee":0,"alphaFeeNetto":0,"alphaFeeToPayInit":0,"alphaFeeToPay":0,"gammaCost":0,"betaCost1":0,"betaCost2":0,"betaSumCost":0,"h0Cost":0,"clearanceAmount":0,"clearanceAmountMonthly":0,"paymentEnd":"\/Date(-62135596800000-0000)\/"},"costsSP":{"valuationDuration":0,"valuationAmountNetto":0,"valuationAmountBrutto":0,"inPaymentBruttoSum":0,"inPaymentNettoSum":0,"inPaymentBrutto":0,"inPaymentNetto":0,"dynamic":0,"dealFeeToPay":0,"setupFeeToPay":0,"singleAdminFeeToPay":0,"alphaFee":0,"alphaFeeNetto":0,"alphaFeeToPayInit":0,"alphaFeeToPay":0,"gammaCost":0,"betaCost1":0,"betaCost2":0,"betaSumCost":0,"h0Cost":0,"clearanceAmount":0,"clearanceAmountMonthly":0,"paymentEnd":"\/Date(-62135596800000-0000)\/"},"costsCP":{"valuationDuration":0,"valuationAmountNetto":0,"valuationAmountBrutto":0,"inPaymentBruttoSum":0,"inPaymentNettoSum":0,"inPaymentBrutto":0,"inPaymentNetto":0,"dynamic":0,"dealFeeToPay":0,"setupFeeToPay":0,"singleAdminFeeToPay":0,"alphaFee":0,"alphaFeeNetto":0,"alphaFeeToPayInit":0,"alphaFeeToPay":0,"gammaCost":0,"betaCost1":0,"betaCost2":0,"betaSumCost":0,"h0Cost":0,"clearanceAmount":0,"clearanceAmountMonthly":0,"paymentEnd":"\/Date(-62135596800000-0000)\/"},"insuranceEnd":"\/Date(-62135596800000-0000)\/","tsPayOut":0}