Post Agency Banking Schedule

POST https://portal-staging.aiicoplc.com/api/services/app/AgencyBankingService/PostAgencyBankingSchedule

This endpoint Posts Agency Banking Schedule

Headers

NameTypeDescription

X-ApiKey*

String

To be provided

Content-Type*

String

application/json

Request Body

NameTypeDescription

titleId*

String

Refer to Get Titles

effectiveDate*

String

Policy effective date

subclassCovtTypeId*

String

Refer to Get Product SubClass Cover Types

productId*

String

Refer to Get Products

utilityBillUrl*

String

Utility bill image in base 64 string

utilityBillName*

String

Utility bill name

identificationUrl*

String

Valid Id image in base 64 string

identificationName*

String

Valid Id name

genderId*

String

Refer to Get Genders

address*

String

Customer address

email*

String

Customer email address

phoneNumber*

String

Customer phone number

lastName*

String

Customer last name

middleName*

String

Customer middle name

firstName*

String

Customer first name

{
    "result": {
        "titleId": null,
        "firstName": "Will",
        "middleName": null,
        "lastName": "Ojo",
        "phoneNumber": "innovation@aiicoplc.com",
        "email": "innovation@aiicoplc.com",
        "address": "Aiico Plaza, VI",
        "genderId": null,
        "identificationName": "National Id",
        "identificationUrl": "xxxx",
        "utilityBillName": "Light Bill",
        "utilityBillUrl": "xxxx",
        "productId": "8e12f5f1-723c-ec11-aed4-00bb608a4be7",
        "subclassSectCovtypeId": "0116931d-723c-ec11-aed4-00bb608a4be7",
        "moneySumInsured": 500000.0,
        "moneyRate": 0.5,
        "moneyPremium": 2500.0,
        "electronicEquipmentSumInsured": 100000.0,
        "electronicEquipmentRate": 1.75,
        "electronicEquipmentPremium": 1750.0,
        "totalPremium": 5000.00,
        "transactionRef": "AGB-0A5ABF",
        "userId": null,
        "clientId": "30d4d7b8-993c-ec11-9820-e42aac778601",
        "wef": "2021-11-03T11:20:15.187Z",
        "wet": "2022-11-02T11:20:15.187Z"
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}
Sample Payload
{
  "titleId": "0a439e44-98cf-e711-83b7-44850015c0e7",
  "firstName": "John",
  "middleName": "A",
  "lastName": "Doe",
  "phoneNumber": "innovation@aiicoplc.com",
  "email": "innovation@aiicoplc.com",
  "address": "Aiico Plaza, VI",
  "genderId": "01439e44-98cf-e711-83b7-44850015c0e7",
  "identificationName": "National Id",
  "identificationUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
  "utilityBillName": "Light Bill",
  "utilityBillUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
  "productId": "8e12f5f1-723c-ec11-aed4-00bb608a4be7",
  "subclassSectCovtypeId": "0116931d-723c-ec11-aed4-00bb608a4be7",
  "effectiveDate": "2021-11-03T11:20:15.187Z"
}

Identification and UtilityBill Url are to be converted to Base 64.

Last updated