reports.php¶
Reports management module for administrative tasks including billing synchronization, traffic usage analysis, and deployment logs.
reports/asa_log¶
Logs an ASA event with details about the IP address and action performed.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: asa_log |
| token | ✅ | string | Authentication token. |
| message | ❌ | string | JSON encoded message containing event details (action, username, ipinfo, ipexternal, ipinternal, message). |
| ipinternal | ✅ | string | Параметр ipinternal |
| username | ✅ | string | Параметр username |
| ipinfo | ✅ | string | Параметр ipinfo |
| ipexternal | ✅ | string | Параметр ipexternal |
Request example
Success response example
reports/count_software_installs¶
Updates the installation counts for all software components in the system and logs the results.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: count_software_installs |
| token | ✅ | string | Authentication token for API access. |
Request example
Success response example
reports/create_preset_reports¶
Initializes the system with predefined report templates.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: create_preset_reports |
| token | ✅ | string | Authentication token for API access. |
Request example
reports/execute¶
Executes a specific report based on the provided ID.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: execute |
| id | ❌ | integer | Report ID to execute. |
Request example
reports/generate_daily¶
Generates a daily report for the specified ID. Currently, this action is not used but triggers platform-wide reporting processes.
HTTP method: POST|GET
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: generate_daily |
| id | ❌ | integer | The ID of the entity for which to generate the report. |
Request example
reports/ovirt_ip¶
Returns a report of OVIRT IP addresses for the specified location.
HTTP method: POST|GET
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: ovirt_ip |
| location | ❌ | string | Location filter for the report. |
Success response example
reports/port_of_virt_node¶
Returns a report containing information about the ports of Virt nodes in the specified location.
HTTP method: POST|GET
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: port_of_virt_node |
| token | ✅ | string | Authentication token. |
| location | ❌ | string | Location filter. |
| id | ❌ | integer | ID parameter (default -1). |
Request example
Success response example
reports/tplatforms¶
Generates a T-Platforms usage report for the specified period.
HTTP method: POST|GET
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: tplatforms |
| period_from | ❌ | string | Start date for the report period. |
| period_to | ❌ | string | End date for the report period. |
Request example
reports/windows_ip¶
Returns a list of IP addresses for servers with licensed Windows operating systems to facilitate activation server access.
HTTP method: POST|GET
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: windows_ip |
| token | ✅ | string | Authentication token. |
| location | ❌ | string | Filter by location. Default is empty string. |
Request example