Reports

Сводный отчет по обращениям у выбранной УК/РСО.

Changed on

Reports/ReportController

post/reports/calls_by_firms

Request

  • Base URL
    https://dev.curog.ru/api
  • URL
    https://dev.curog.ru/api/reports/calls_by_firms
  • Auth
    API key in header Authorization

Headers

организация от имени которой зашел пользователь (firm_users.id)

Request body

Example request

{
  "data": {
    "startDate": "2026-07-01",
    "endDate": "2026-07-31",
    "breakdownType": "folder",
    "callType": "all",
    "firmId": 45,
    "contracts": [
      {
        "contractId": 5,
        "divisionIds": [
          345
        ]
      }
    ],
    "topics": [
      {
        "topicId": 5,
        "subTopicIds": [
          395
        ]
      }
    ]
  }
}

Response

Oк

Example response

{
  "data": {
    "id": 425,
    "status": "completed",
    "progress": 100,
    "createdAt": "2025-10-20 11:12",
    "completedAt": "2025-10-20 11:15",
    "header": "Отчет по обращениям",
    "fileName": "report_by_firm"
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • warning

      removed the request property /

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new optional request property /

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///