Post Motor Schedule

Post Motor Schedule

POST https://portal-staging.aiicoplc.com/api/services/app/MotorProductService/PostMotorSchedule

This endpoint Post Motor Schedule.

Headers

NameTypeDescription

X-ApiKey*

string

To be Provided

Content-Type*

string

application/json

Request Body

NameTypeDescription

ProductUd*

String

Refer to Get Products

GenderId*

String

Refer to Get SubClass Cover

TitleId*

String

Refer to Get Titles

GenderId*

String

Refer to Get Genders

FirstName*

String

Customer First Name

LastName*

String

Customer Last Name

DateOfBirth*

String

Customer Date of birth

PryEmail*

String

Customer Email Address

SmsTel*

String

Customer Phone Number

BodyType*

String

Vehicle Body Type

RegNo*

String

Vehicle Registration/Plate Number

YrManft*

String

Vehicle Manufacture Year

Make*

String

Vehicle Make

Model*

String

Vehicle Model

ChasisNo*

String

Vehicle ChasisNo

Color*

String

Vehicle Color

EngineNo*

String

Vehicle Engine Number

VehicleAmount*

String

Vehicle Value

WefDt*

String

Policy effective date

WetDt*

String

Policy end date

vehicleLicenseUrl*

String

Vehicle license Image converted to Base 64 string or a link to the image

identificationUrl*

String

Customer Valid Id Image converted to Base 64 string or a link to the image

proofOfOwnershipUrl*

String

Proof of Ownership Image converted to Base 64 string or a link to the image

{
    "result": {
        "regNo": "soj002",
        "make": "ACURA",
        "model": "TSX",
        "cubicCap": null,
        "yrManft": "2006",
        "carryCap": null,
        "bodyType": "Car",
        "engineNo": "2HNYD18654H54567",
        "chasisNo": "2HNYD18654H54567",
        "color": "BLACK",
        "transactionRef": "MOT-FAF197",
        "premiumAmount": 100000.00,
        "vehicleAmount": 2000000.0,
        "partnerReference": null,
        "hash": null,
        "validityPeriod": null,
        "vehicleLicenseUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
        "utilityBillName": null,
        "utilityBillUrl": null,
        "identificationName": null,
        "identificationUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
        "proofOfOwnershipName": null,
        "proofOfOwnershipUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
        "firstName": "John",
        "lastName": "Doe",
        "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": "08100000000",
        "townId": null,
        "productId": "f1326cce-47e7-e711-a2be-005056a02281",
        "intermediaryId": null,
        "subclassSectCovtypeId": "02baaf3b-47e7-e711-a2be-005056a02281",
        "titleId": null,
        "genderId": null,
        "clientCategoryId": null,
        "clientId": "ce6a0849-3967-ed11-ade6-0003ffe6bf17",
        "wefDt": "2023-01-01T14:51:00",
        "wetDt": "2023-12-31T14:51:00",
        "userId": null,
        "ravePublicKey": "FLWPUBK_TEST-d7fec501b9be2af81e11abd94c814e07-X",
        "interswitchMacKey": "E187B1191265B18338B5DEBAF9F38FEC37B170FF582D4666DAB1F098304D5EE7F3BE15540461FE92F1D40332FDBBA34579034EE2AC78B1A1B8D9A321974025C4",
        "interswitchPaymentUrl": "https://sandbox.interswitchng.com/webpay/pay",
        "interswitchProductId": "6204",
        "interswitchProductItemId": "103",
        "wemaBankMacKey": "7E410E2C6FAEB61C7A128026CB0160E4581F90194B72E609EDB46F8D4FFB1637",
        "wemaBankPaymentUrl": "https://apps.wemabank.com/GateWay",
        "paystackPublicKey": "pk_test_7c81d65b68c9e5723b28f0e52bd30d267a374303",
        "paystackSubaccount": "",
        "referralCode": null,
        "paymentChannel": null,
        "beneficiaryFullname": null,
        "beneficiaryPhone": null,
        "beneficiaryDateOfBirth": null,
        "oldPolicyNumber": null,
        "clientShortDescription": null,
        "agentShortDescription": null,
        "grossPremium": 100000.00,
        "commission": 0.0,
        "isQuote": false
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}
Sample Payload
{
"ProductId":"f1326cce-47e7-e711-a2be-005056a02281",
"SubclassSectCovtypeId":"02baaf3b-47e7-e711-a2be-005056a02281",
"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":"08100000000",
"BodyType":"Car",
"RegNo":"soj002",
"YrManft":"2006",
"Make":"ACURA",
"Model":"TSX",
"ChasisNo":"2HNYD18654H54567",
"Color":"BLACK",
"EngineNo":"2HNYD18654H54567",
"physicalAddrs": "Ikoyi, Lagos",
"VehicleAmount":2000000,
"WefDt":"2023-01-01T14:51:00",
"WetDt":"2023-12-31T14:51:00",
"vehicleLicenseUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
"proofOfOwnershipUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
"identificationUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/..."
}

  1. The minimum vehicle amount = 1,000,000, maximum vehicle amount = 10,000,000

  2. WefDt means policy start date, while WetDt means policy end date. The WetDt = (WefDt + One year) - One day

  3. Date of birth must be greater than or equal to 18 years.

Last updated