Skip to content

Get Enquiry Log

API reference for /api/v1/Lead/getEnquiryLog

Use the Lead/getEnquiryLog endpoint to retrieve a list of enquiries (leads) for a dealership. You can filter the results by date range and dealership code.

POST /api/v1/Lead/getEnquiryLog
Authorization: Bearer eyJh...usDM
Content-Type: application/json
{
"fromDate": "2026-01-01T00:00:00Z",
"toDate": "2026-02-01T23:59:59Z",
"dealershipCode": "AKL01"
}

The response is a list of LeadDto objects containing details about each enquiry.

The type field in the response returns one of the following values:

TypeDescription
GeneralA general enquiry or question about a vehicle.
PhoneCallA logged phone call lead.
FinanceLeadA finance application or buying power lead.
TestDriveA request to book a test drive.
TradeInA trade-in appraisal or offer.
WatchlistThe vehicle was added to a user’s watchlist.
[
{
"branch": "Christchurch",
"type": "General",
"createdAt": "2026-01-15T14:30:00Z",
"phone": "0211234567",
"email": "[email protected]",
"message": "Is this still available?",
"name": "Jane Doe",
"listingId": 105,
"stockNumber": "STOCK-001"
},
{
"branch": "Christchurch",
"type": "TestDrive",
"createdAt": "2026-01-16T10:00:00Z",
"phone": "0279876543",
"email": "[email protected]",
"message": "I'd like to book a test drive for Saturday.",
"name": "John Smith",
"listingId": 108,
"stockNumber": "STOCK-002"
}
]