Post Medical Expense Schedule

POST https://portal-staging.aiicoplc.com/api/services/app/MedicalExpenseService/PostandFinalizeMedicalExpense

This endpoint Posts and Finalizes Medical Expense Schedule.

Headers

NameTypeDescription

X-ApiKey

string

To be provided.

Content-Type

string

application/json

Query Parameters


NameTypeDescription

titleId

string

See hint Below

SurName

string

Client's Surname

otherNames

string

Client's Other names

phoneNumber

string

Client's Phone number

email

string

Client's email address

dob

string

Client's date of birth

paymentRef

string

Unique Payment reference for each transaction

partnerReference

string

Partner Unique reference

premium

string

premium, refer to product overview

genderId

string

See hint below

address

string

Client's address

effectiveDate

string

Policy start date

identificationUrl

string

Valid Id image in base 64 string/URL

subclassSectCovtypeId

string

See hint Below

productId

string

897a41f5-6225-e811-a2cc-005056a0228e

wef

string

Policy start date

wet

string

Policy end date

is9mobileTransaction

Boolean

Passed as True at all times

Sample Payload
{
  "titleId": "10439e44-98cf-e711-83b7-44850015c0e7",
  "surName": "Doe",
  "otherNames": "John",
  "phoneNumber": "08190000000",
  "email": "wllmsojo@gmail.com",
  "dob": "2000-04-25",
  "occupation": "IT",
  "genderId": "01439e44-98cf-e711-83b7-44850015c0e7",
  "address": "Churchgate, VI",
  "effectiveDate": "2024-04-25T13:10:57.829Z",
  "premium": 1200,
  "identificationUrl": "xxx.png",
 "partnerReference": "REF-010",
  "subclassSectCovtypeId": "31fa6df4-c0c0-ee11-b660-000d3a9c968a",
  "productId": "897a41f5-6225-e811-a2cc-005056a0228e",
  "wef": "2024-04-15T10:42:15.103Z",
  "wet": "2024-04-15T10:42:15.103Z",
  "paymentRef": "16487344",
  "is9MobileTransaction": true
}

{
    "result": {
        "fullName": "John Doe",
        "agentName": null,
        "policies": [
            "191700212401"
        ],
        "clientAddress": null,
        "clientEmail": "wllmsojo@gmail.com",
        "clientPhoneNumber": null,
        "wef": "25-Apr-2024",
        "wet": "24-Apr-2025",
        "totalAmount": "₦1,200.00",
        "printPolicyUrl": "https://portal-staging.aiicoplc.com/api/services/app/MedicalExpenseService/GetMedicalExpenseCertificate?tr=MEX-C7AECA",
        "printReceiptUrl": null,
        "hash": "fd6dcaa11cdc5f262eb888b4c7fe3ffe40ee5f58798b80a0da0522073bffc732599351ba46a04fbd65e5215253bacb72406e8b962b2705cc08aa4098938a02d0",
        "responseMessage": null,
        "responseCode": null,
        "polledToTQ": false,
        "isLoan": false
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}

subclassSectCovtypeIdPremium to be passedVariants

31fa6df4-c0c0-ee11-b660-000d3a9c968a

1200

Medical Expense Bronze

138adf0d-c1c0-ee11-b660-000d3a9c968a

1800

Medical Expense Silver 1

7205a78f-c1c0-ee11-b660-000d3a9c968a

2400

Medical Expense Silver 2


GenderID Gender

02439e44-98cf-e711-83b7-44850015c0e7

Female

01439e44-98cf-e711-83b7-44850015c0e7

Male


TitleIdTitle

11439e44-98cf-e711-83b7-44850015c0e7

Mrs

10439e44-98cf-e711-83b7-44850015c0e7

Mr

0f439e44-98cf-e711-83b7-44850015c0e7

Miss

Last updated