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.
Example Request
Section titled “Example Request”POST /api/v1/Lead/getEnquiryLogAuthorization: Bearer eyJh...usDMContent-Type: application/json
{ "fromDate": "2026-01-01T00:00:00Z", "toDate": "2026-02-01T23:59:59Z", "dealershipCode": "AKL01"}Response
Section titled “Response”The response is a list of LeadDto objects containing details about each enquiry.
Enquiry Types
Section titled “Enquiry Types”The type field in the response returns one of the following values:
| Type | Description |
|---|---|
General | A general enquiry or question about a vehicle. |
PhoneCall | A logged phone call lead. |
FinanceLead | A finance application or buying power lead. |
TestDrive | A request to book a test drive. |
TradeIn | A trade-in appraisal or offer. |
Watchlist | The vehicle was added to a user’s watchlist. |
[ { "branch": "Christchurch", "type": "General", "createdAt": "2026-01-15T14:30:00Z", "phone": "0211234567", "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", "message": "I'd like to book a test drive for Saturday.", "name": "John Smith", "listingId": 108, "stockNumber": "STOCK-002" }]