Post Personal Accident Schedule

Post Personal Accident Schedule

POST https://portal-staging.aiicoplc.com/api/services/app/PersonalAccidentProductService/PostPersonalAccidentSchedule

This endpoint Post Personal Accident Schedule.

Query Parameters

NameTypeDescription

identificationName*

string

Valid Id name

identificationUrl*

string

Valid Id image in base 64 string

utilityBillName*

string

Utility bill name

utilityBillUrl*

string

Utility bill image in base 64 string

wef*

string

start date

wet*

string

end date

beneficiary*

string

Beneficiary Name

relationship*

string

Beneficiary Relationship

premiumAmount*

string

Refer to Personal Accident Rate

subClassSectCovtypeIdId*

string

Refer to Get Product SubClass Cover Types

unit*

string

amount of unit to purchase

firstName*

string

First Name

lastName*

string

Last Name

dateOfBirth*

string

Date of birth

pryEmail*

string

Email Address

smsTel*

string

Phone number

ProductId*

string

Refer to Get Products

Headers

NameTypeDescription

X-ApiKey*

string

To be provided

Content-Type*

string

application/json

{
    "result": {
        "beneficiary": "segun",
        "relationship": "Brother",
        "premiumAmount": 3000.00,
        "sumAssured": 2000000.0,
        "transactionRef": "PAC-E4074C",
        "subclassSectCovtypeId": "92317c51-5d25-e811-a2cc-005056a02281",
        "titles": null,
        "gender": null,
        "lgaId": null,
        "isFullYear": false,
        "valueOfContents": null,
        "unit": 2,
        "firstName": null,
        "lastName": null,
        "dateOfBirth": null,
        "pryEmail": null,
        "branchId": "15439e44-98cf-e711-83b7-44850015c0e7",
        "domiciledCountry": "00000000-0000-0000-0000-000000000000",
        "dlNo": null,
        "dlIssueDate": null,
        "yearsOfDrvExperience": null,
        "physicalAddrs": null,
        "smsTel": null,
        "townId": null,
        "productId": "897a91f5-6225-e811-a2cc-005056a02281",
        "intermediaryId": null,
        "titleId": null,
        "genderId": null,
        "clientCategoryId": null,
        "clientId": "8e4267e8-1a55-e811-a2de-005056a02281",
        "wef": "2019-11-02T00:00:00",
        "wet": "2020-11-01T00:00:00",
        "userId": null,
        "ravePublicKey": "FLWPUBK-c674c68d40a0cb428926869498f14171-X",
        "interswitchMacKey": "E187B1191265B18338B5DEBAF9F38FEC37B170FF582D4666DAB1F098304D5EE7F3BE15540461FE92F1D40332FDBBA34579034EE2AC78B1A1B8D9A321974025C4",
        "interswitchPaymentUrl": "https://sandbox.interswitchng.com/webpay/pay",
        "wemaBankMacKey": "7E410E2C6FAEB61C7A128026CB0160E4581F90194B72E609EDB46F8D4FFB1637",
        "wemaBankPaymentUrl": "https://apps.wemabank.com/GateWay",
        "utilityBillName": null,
        "utilityBillUrl": null,
        "identificationName": null,
        "identificationUrl": null,
        "partnerReference": null,
        "hash": null,
        "isWemaBank": false,
        "referralCode": null
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}
Sample Payload
{
"beneficiary": "Johnny",
"relationship": "Brother",
"premiumAmount": 1500,
"subclassSectCovtypeId": "92317c51-5d25-e811-a2cc-005056a02281",
"unit": 2,
"TitleId":"08439e44-98cf-e711-83b7-44850015c0e7",
"GenderId":"02439e44-98cf-e711-83b7-44850015c0e7",
"firstName": "John",
"lastName": "Doe",
"dateOfBirth": "2000-01-01",
"pryEmail": "innovation@aiicoplc.com",
"smsTel": "08032989988",
"productId": "897a91f5-6225-e811-a2cc-005056a02281",
"wef": "2022-06-01",
"wet": "2023-05-31",
"utilityBillName": "Light",
"utilityBillUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
"identificationName": "National ID Card",
"identificationUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/..."
}
  1. WefDt means policy start date, while WetDt means policy end date. The WetDt = (WefDt + One year) - One day

Last updated