The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/Calculate HTTP/1.1
Host: services.prismalife.com
Content-Type: text/jsv
Content-Length: length
{
login:
{
username: String,
password: String
},
identifier:
{
productKey: 00000000000000000000000000000000,
avbKey: 00000000000000000000000000000000
},
language: String,
vp:
{
gender: String,
familyName: String,
firstName: String,
birthDay: 0001-01-01,
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: 0001-01-01,
companyName: String,
isSmoker: False,
cigarettesAmount: 0,
underMedication: False,
weight: 0,
bodyHeight: 0,
bmiResult: 0,
familyStatusBestLifeStyle: False
},
duration:
{
insuranceBegin: 0001-01-01,
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: text/jsv
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: 0001-01-01
},
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: 0001-01-01
},
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: 0001-01-01
},
insuranceEnd: 0001-01-01,
tsPayOut: 0
}