Post Motor Schedule

Post Motor Schedule

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

This endpoint Post Motor Schedule

Query Parameters

NameTypeDescription

identificationUrl*

string

Valid Id image in base 64 string or a link to the image

wetDt*

string

End Date of the Vehicle Insurance

wefDt*

string

Start Date of the Vehicle Insurance

titleId*

string

Refer to Get Titles

subclassSectCovtypeId*

string

Refer to Get Product Sub Class Cover

productId*

string

Refer to Get Products

smsTel*

string

Vehicle Owner Telephone Number

physicalAddrs*

string

Vehicle Owner Physical Address

pryEmail*

string

Vehicle Owner Email Address

dateOfBirth*

string

Vehicle Owner Date of Birth

lastName*

string

Vehicle Owner Last Name

firstName*

string

Vehicle Owner First Name

premiumAmount*

integer

Premium Amount

color*

string

Refer to Get Color List

chasisNo*

string

Vehicle Chasis Number

engineNo*

string

Vehicle Engine Number

bodyType*

string

Refer to Get Body Types

yrManft*

string

Refer to Get Manufacture Year

model*

string

Refer to Get Vehicles details

regNo*

string

Vehicle Registration Number

make*

string

Refer to Get vehicle Make

vehicleLicenseUrl*

String

Valid Vehicle License image in base 64 string or a link to the image

Headers

NameTypeDescription

X-ApiKey*

string

To be Provided

Content-Type*

string

application/json

{
    "result": {
        "regNo": "soj003",
        "make": "ACURA",
        "model": "TSX",
        "cubicCap": null,
        "yrManft": "2006",
        "carryCap": null,
        "bodyType": "Car",
        "engineNo": "2HNYD18654H520597",
        "chasisNo": "2HNYD18654H520597",
        "color": "BLACK",
        "transactionRef": "MOT-9D30DB",
        "premiumAmount": 15000.0,
        "vehicleAmount": 0.0,
        "partnerReference": null,
        "hash": null,
        "validityPeriod": null,
        "vehicleLicenseUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
        "utilityBillName": null,
        "utilityBillUrl": null,
        "identificationName": "National ID Card",
        "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": "08030480172",
        "townId": null,
        "productId": "fef672bd-faf1-e711-a2c0-005056a02281",
        "intermediaryId": null,
        "subclassSectCovtypeId": "dd55d886-fcf1-e711-a2c0-005056a02281",
        "titleId": null,
        "genderId": null,
        "clientCategoryId": null,
        "clientId": "47e4b9a3-9b68-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": 15000.0,
        "commission": 0.0,
        "isQuote": false
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}
Sample Payload
{
"BodyType":"Car",
"ChasisNo":"2HNYD18654H520597",
"Color":"BLACK",
"TitleId":"08439e44-98cf-e711-83b7-44850015c0e7",
"GenderId":"02439e44-98cf-e711-83b7-44850015c0e7",
"EngineNo":"2HNYD18654H520597",
"Make":"ACURA",
"Model":"TSX",
"PremiumAmount":15000,
"RegNo":"soj003",
"SubclassSectCovtypeId":"dd55d886-fcf1-e711-a2c0-005056a02281",
"WefDt":"2023-01-01T14:51:00",
"WetDt":"2023-12-31T14:51:00",
"YrManft":"2006",
"DateOfBirth":"2000-11-12T14:51:00",
"FirstName":"John",
"LastName":"Doe",
"ProductId":"fef672bd-faf1-e711-a2c0-005056a02281",
"PryEmail":"innovation@aiicoplc.com",
"physicalAddrs": "Ikoyi, Lagos",
"SmsTel":"08030480172",
"vehicleLicenseUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
"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

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

Last updated