Reports

Retrieves both standard and custom reports

image-png-Mar-22-2024-01-24-05-8317-PM /reports/list/{user_id}

https://api.oauth.pabau.com/{api_key}/reports/list/{user_id}

Request

 

Query Parameters:  
api_key *  
company * Int
user_id* Int

Response sample

application/json

[
{
"id": 171,
"report_name": "Big Spender Report",
"data_category": "client",
"user_ids": "10,11,12",
"url": "https://staging.pabau.com/share-report/6e5jefeh26hd26ec1ef62d0f6j37bj03ag6hh9deehc1cic32fhcgc443c2911b1",
"favorite": true
},
{
"id": 172,
"report_name": "Open Leads",
"data_category": "lead",
"user_ids": "13,14,15",
"url": "https://staging.pabau.com/share-report/j3c95c49abdi0eddaf7i3a6ffdje5h3a2c65eha36ea678a7613e5gh33e8acg72",
"favorite": false
}
]