Archive Reports
When a server cluster is created and a child server is mounted on a mount point, the child server retains the policies that were previously applied to it. It does not inherit the parent server policies, by default. If you want to apply the parent server policies to child servers, you must navigate to the individual policy and inherit the policy from the parent server. The same applies to location time zone policy.
JSON Table
Attribute | Data Type | Description |
---|---|---|
id | int | System-generated ID of the archived report. |
reportName | String | Name of the report. |
reportGenerationTime | long | The time in milliseconds when the report was generated. |
format | String | The format in which the report is generated. The applicable values are PDF, XML, and HTML. |
sizeKb | int | The size in kilobytes of the archived report. |
userId | int | System-generated ID of the user who generated the report. |
locationName | String | Name of the location where the report was generated. |
userFirstName | String | The first name of the user who generated the report. |
userLastName | String | The last name of the user who generated the report. |
userLoginName | String | The log-in name of the user who generated the report. |
customerFirstName | String | The first name of the customer for whom the report is generated. |
deleteAfterDays | long | The number of days after which the archived report will be deleted. The default value is 0, which indicates that the archived report will never be deleted. |
fromTime | long | The time from which the archived report will start collecting data. The time unit is milliseconds. |
toTime | long | The time until which the archived report will contain data. The time unit is milliseconds. |
clusterChildId | int | System-generated ID of the cluster child. This attribute is used only in cluster environments. |
Copy Sample JSON
Sample JSON
[ { "id": 2, "reportName": "Airspace Risk Assessment", "reportGenerationTime": 1518683400169, "format": "PDF", "sizeKb": 80, "userId": 1, "locationName": "//Locations/ATN1-MountPoint", "userFirstName": "System", "userLastName": "Superuser", "userLoginName": "admin", "customerFirstName": "System", "deleteAfterDays": 0, "fromTime": 1518679805984, "toTime": 1518683405984, "clusterChildId": 0 }, { "id": 3, "reportName": "Airspace Risk Assessment", "reportGenerationTime": 1518687000170, "format": "PDF", "sizeKb": 80, "userId": 1, "locationName": "//Locations/ATN1-MountPoint", "userFirstName": "System", "userLastName": "Superuser", "userLoginName": "admin", "customerFirstName": "System", "deleteAfterDays": 0, "fromTime": 1518683406285, "toTime": 1518687006285, "clusterChildId": 0 }, { "id": 4, "reportName": "Airspace Risk Assessment", "reportGenerationTime": 1518690600244, "format": "PDF", "sizeKb": 80, "userId": 1, "locationName": "//Locations/ATN1-MountPoint", "userFirstName": "System", "userLastName": "Superuser", "userLoginName": "admin", "customerFirstName": "System", "deleteAfterDays": 0, "fromTime": 1518687007586, "toTime": 1518690607586, "clusterChildId": 0 }, { "id": 172, "reportName": "Airspace Risk Assessment", "reportGenerationTime": 1519021800162, "format": "PDF", "sizeKb": 80, "userId": 1, "locationName": "//Locations/ATN1-MountPoint", "userFirstName": "System", "userLastName": "Superuser", "userLoginName": "admin", "customerFirstName": "System", "deleteAfterDays": 0, "fromTime": 1519018205937, "toTime": 1519021805937, "clusterChildId": 0 } ]
API Calls
/V5/reports/fetch/archivedreport
/V5/reports/archived
<Base_URL>/V2/analytics/associationdata/{startdate}/{enddate}
/V5/reports/archived/{reportid}/{name}
/V5/reports/archived/{reportid}
/V5/reports/archived