Calculate Disclosure
calculate a disclosure from a run.
- method: POST
- headers:
- content-type: multipart/form-data
- authorization: API Key token
- endpoint:
/disclosures/:run_id/:disclosure
request body payload
type_of_business: string. optional. type of business.class_of_business: string. optional. class of business.sub_class: string. optional. sub class.grouping_criteria_1: string. optional. grouping criteria 1.grouping_criteria_2: string. optional. grouping criteria 2.approach_paa_gmm_vfa_mgmm: optional. string. approach.is_reinsurance_held: string. optional. either'NO'or'YES'.go_c_id: string. optional GoC id.oci_approach: string. optional. EitherTRUEorFALSE. Defaults toFALSE.
All filters are optional and default to 'All'. Valid disclosure types are:
DiscISDiscBSDisc100GMMDisc100PAADisc101GMMDisc102VFADisc104Disc105Disc106DiscJournals
sample request
curl --location 'https://api.i17.actserv-africa.com/api/v2/disclosures/{{run-id-here}}/DiscJournals' \
--header 'Authorization: Bearer API-KEY-goes-here' \
--form 'oci_approach="TRUE"' \
--form 'type_of_business="General"' \
--form 'class_of_business="Aviation"' \
--form 'is_reinsurance_held="YES"' \
--form 'go_c_id="80"'
response payload
code: http status of the responsemsg: messagedisclosure: an object containing the disclosure results.
sample response
{
"code": 200,
"msg": "success",
"disclosure": {
"Name": [
"Opening Balance",
"Insurance Revenue",
"Actual premium booked for future service - PAA, GMM, VFA",
"Premium reserve total release - PAA",
"CSM recognized for services provided - GMM",
"Expected release of risk adjustment over the period - GMM"
],
"Insurance Revenue": [
6571774.58,
"NA",
-3022281292.15,
0,
0,
7824852.85
],
"Insurance Service Expense": [
"NA",
"NA",
"NA",
"NA",
"NA",
"NA"
],
"Insurance Finance Income": [
72442.26,
0,
"NA",
"NA",
55575.22,
"NA"
]
}
}