Get Started
Portal api methods
Help

POST api/2.0/crm/report/generate This function requires authentication

Description

Run the report generation task

Parameters
Name Description Type Example
type
sent in body
Report type SalesByManagers, SalesForecast, SalesFunnel, WorkloadByContacts, WorkloadByTasks, WorkloadByDeals, WorkloadByInvoices, WorkloadByVoip, SummaryForThePeriod, SummaryAtThisMoment
timePeriod
sent in body
Time period Today, Yesterday, Tomorrow, CurrentWeek, PreviousWeek, NextWeek, CurrentMonth, PreviousMonth, NextMonth, CurrentQuarter, PreviousQuarter, NextQuarter, CurrentYear, PreviousYear, NextYear, DuringAllTime
managers
sent in body
Managers Collection of Guids
Example
POST api/2.0/crm/report/generate
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "type": "SalesByManagers",
  "timePeriod": "Today",
  "managers": [
    "9924256a-739c-462b-af15-e652a3b1b6eb",
    "98777e9c-f2a7-4e97-b314-ba9f92c2e882"
  ]
}
Returns

Report state