The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CalculateBU 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
},
rent: 0,
jobId: 0,
insuranceBegin: 0001-01-01,
endAge: 0,
pdfOption: String,
printCustomerCopyWatermark: False,
options:
{
rules:
[
{
key: String,
value: String
}
]
},
documents:
[
String
],
docFieldValues:
[
{
key: String,
value: String
}
],
connectedContract: False,
isKidOption: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
report:
{
pdf: AA==,
fileKey: String,
allPages: 0
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: 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
},
initialPrem: 0,
warnings:
[
String
]
}