# Dealer report

# Setup

Endpoint: https://app.lamatool.com/api/v2/stats/dealer-report

Type: GET

# Parameters

Field Type Required Note
api_key string true Company API key
from date true Format Y-m-d
until date true Format Y-m-d

# Using from and until

When using from and until be aware that from is start of day and until is end of day.

So if you want a report for january:

from=2023-01-01&until=2023-01-31

from=2023-01-01&until=2023-02-01

# Example

https://app.lamatool.com/api/v2/stats/dealer-report?api_key=[YOUR_API_KEY]&from=2023-01-01&until=2023-01-31

# Example result

[
    {
        "id": 1,
        "name": "Dealer 1",
        "total": {
            "AwaitingAccept": 17,
            "SubjectAccepted": 2,
            "SubjectNotContacted": 0,
            "GoalNotReached": 0,
            "GoalReached": 1,
            "DisagreementCustomerSaysNo": 1,
            "DisagreementCustomerSaysYes": 0,
            "Rejected": 0,
            "Ignored": 11,
            "Stopped": 0,
            "Paused": 0
        },
        "meta": {
            "average_accept_time": 25 // seconds
        }
    },
    ...
]