Insurance Vehicles
Search the insurer vehicle list by make and model. Each result gives the modelno, modeldesc, bodytype, engcc, tonnage and noseats a motor policy needs in policy.motor.
Request History
Your request history will appear here.
Headers
Your Moolre username.
Your Private API Key for the paying wallet.
Send application/json.
Body Params
Your insurance agent wallet account number.
Make and model to look for, 2 to 60 characters.
Number of seats of the vehicle, a whole number from 1 to 100.
Engine capacity in cc, a whole number from 1 to 20000.
Responses
Matching vehicles, at most 100. The values shown are examples.
{
"status": "1",
"code": "IQ21",
"message": "Vehicles",
"data": {
"search_term": "TOYOTA COROLLA",
"count": 1,
"vehicles": [
{
"modelno": "1234",
"modeldesc": "TOYOTA COROLLA",
"bodytype": "SALOON",
"engcc": 1600,
"tonnage": null,
"noseats": 5
}
]
},
"go": null,
"meta": {
"requestid": "req_c68f4c66115c26725c796242",
"notices": []
}
}Nothing matched. Try a shorter or different search_term.
{
"status": "1",
"code": "IQ22",
"message": "No vehicles found",
"data": {
"search_term": "TOYOTA COROLLA",
"count": 0,
"vehicles": []
},
"go": null,
"meta": {
"requestid": "req_c68f4c66115c26725c796242",
"notices": []
}
}Fields every response can carry
On failures, read code, message and data (the first failing field). meta is always present and holds requestid (also the X-Request-Id header), notices and, only on idempotent replays, replayed. There is no outcome field: use status, code and data.txstatus. Send X-Moolre-Http-Status: strict to receive real HTTP status codes. See Responses and request IDs and Errors and status codes.
