The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/CalculateDD 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},"tsPercent":0,"connectedContract":false,"pdfOption":"String","printCustomerCopyWatermark":false,"insuranceSum":0,"paymentInterval":0,"options":{"rules":[{"key":"String","value":"String"}]},"documents":["String"],"docFieldValues":[{"key":"String","value":"String"}],"isKidOption":false,"ppDynamic":0}
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"}]},"id":"String","premDD":0,"premTS":0,"premSum":0,"insuranceSumDD":0,"insuranceSumTS":0,"tsPercent":0,"insuranceDuration":0,"insuranceDurationLifeTime":false,"insuranceBegin":"\/Date(-62135596800000-0000)\/","insuranceEnd":"\/Date(-62135596800000-0000)\/","costsDD":{"alphaFeeToPayTotalYear1":0,"alphaFeeToPayTotal":0,"betaPlusGamma":0,"beta2PlusGamma":0},"warnings":["String"]}