Generate Report
GET
/leads/reportGenerates a report based on lead data and sends to a registered email.
Request
None
Responses
Success(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {9}]
required
id
string
optional
name
string
optional
date
string
optional
email
string
optional
phonenumber
string
optional
lead_status
string
optional
status
string
optional
lead_type
string
optional
color
string
optional
page
object
required
current_page
integer
required
from
integer
required
to
integer
required
total
integer
required
per_page
integer
required
last_page
integer
required
next
integer
required
previous
integer
required
message
string
required
Example
{
"data": [
{
"id": "1",
"name": "rvr",
"date": "2024-08-05 14:07:36",
"email": "[email protected]",
"phonenumber": "03002221223",
"lead_status": "New",
"status": "1",
"lead_type": "Sales",
"color": "#7cb342"
}
],
"page": {
"current_page": 1,
"from": 1,
"to": 1,
"total": 1,
"per_page": 5,
"last_page": 0,
"next": -1,
"previous": 0
},
"message": "success"
}
Last modified: 2 months ago