Post Travel Schedule
Post Travel Schedule
POST
https://portal-staging.aiicoplc.com/api/services/app/TravelProductService/PostNewTravelSchedule
This endpoint Posts Travel schedule.
Headers
X-ApiKey*
string
To be Provided
Content-Type*
string
application/json
Query Parameters
genderId*
string
Refer to Get Genders
titleId*
string
Refer to Get Titles
productId*
string
Refer to Get Products
subclassSectCovtypeId
String
Refer to Get Travel SubclassCoverTypes
smsTel*
string
Traveler phone number
pryEmail*
string
Traveler Email
dateOfBirth*
string
Traveler date of birth
lastName*
string
Traveler last name
firstName*
string
Traveler first name
premium*
string
Refer to Compute Travel Premium
passportNumber*
string
Passport number
transDate*
string
Date of transaction
noKaddr*
string
next of kin address
nokName*
string
Traveler's next of kin full name
wet*
string
End date of Travel Insurance
wef*
string
Start date of Travel Insurance
name*
string
Traveler's Full Name
countryId*
string
Refer to Get Countries
preMedical
Boolean
If customer has a medical condition, this is to be set to true
medical
String
If preMedical is true, customer is to enter details of medical condition.
passportUrl
String
URL of the passport biodata
{
"countryId": "6333ae6c-98e4-e711-83bb-44850015c0e4",
"dateOfBirth": "2000-05-13T00:00:00",
"firstName": "John",
"lastName": "Doe",
"medical": "Medical Condition",
"name": "John Doe",
"noKaddr": "Victoria Island",
"noKrelationship": "Brother",
"nokName": "Testing One",
"passportNumber": "A12345678",
"preMedical": true,
"medical": "illness",
"premium": 25222.00,
"productId": "cb00e3f3-9feb-e711-a2be-005056a02281",
"subclassSectCovtypeId": "bf67e9f9-0d0f-4b58-ce91-08dbe0359d81",
"pryEmail": "[email protected]",
"smsTel": "08100000000",
"titleId": "08439e44-98cf-e711-83b7-44850015c0e7",
"transDate": "2024-05-13T12:42:01.387795+01:00",
"wef": "2024-05-14T00:00:00",
"wet": "2024-05-18T00:00:00",
"passportUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/..."
}
{
"result": {
"name": "John Doe",
"countryId": "6333ae6c-98e4-e711-83bb-44850015c0e4",
"wef": "2024-05-14T00:00:00",
"wet": "2024-05-18T00:00:00",
"nokName": "Testing One",
"noKrelationship": "Brother",
"noKaddr": "Victoria Island",
"embassycode": null,
"travelParty": null,
"groupType": null,
"currency": null,
"travelPurpose": null,
"preMedical": true,
"medical": "illness",
"transDate": "2024-05-13T12:23:09.9265836+00:00",
"certNo": null,
"sumAssured": 100000.00,
"passportNumber": "A12345678",
"passportUrl": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...",
"premium": 25222.00,
"excess": 100.00,
"commAllowed": false,
"isActive": false,
"transactionRef": "TRA-E3C006",
"productId": "cb00e3f3-9feb-e711-a2be-005056a02281",
"subclassSectCovtypeId": "bf67e9f9-0d0f-4b58-ce91-08dbe0359d81",
"branchId": "15439e44-98cf-e711-83b7-44850015c0e7",
"firstName": null,
"lastName": null,
"dateOfBirth": "0001-01-01T00:00:00",
"pryEmail": null,
"physicalAddrs": null,
"smsTel": null,
"intermediaryId": null,
"titleId": null,
"genderId": null,
"clientCategoryId": null,
"clientId": "b6544274-2311-ef11-96f5-000d3a1af045",
"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": "",
"partnerReference": null,
"hash": null,
"referralCode": null,
"paymentChannel": null,
"beneficiaryFullname": null,
"beneficiaryPhone": null,
"beneficiaryDateOfBirth": null,
"agentShortDescription": null,
"grossPremium": 25222.00,
"commission": 0.0,
"isQuote": false,
"is9Mobile": false,
"is9MobileTransaction": false,
"proxy": null
},
"targetUrl": null,
"success": true,
"error": null,
"unAuthorizedRequest": false,
"__abp": true
}
Last updated