Create an instance of analyticsReportResults

post

/services/rest/connect/v1.4/analyticsReportResults

Request

Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : analyticsReports-filters
Type: object
An Analytics Report Filter Definition
Show Source
Nested Schema : analyticsReports-filters-attributes
Type: object
Attributes associated with an AnalyticsReportFilter
Show Source
Nested Schema : namedIDs-analyticsReports-filters-dataType
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-analyticsReports-filters-operator
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : values
Type: array
Maximum Length: 1048576
The string representation of the values for the Operator to apply
Show Source

Response

Default Response

Examples

Use POST with the following syntax to run a report:

https://your_site_interface/services/rest/connect/version/analyticsReportResults

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/analyticsReportResults

Request body example

Include the report ID or LookupName in the request body. This example uses the LookupName.

{
"lookupName": "Last Updated by Status"
}

Response body example

{
    "count": 1,
    "name": "Last Updated by Status",
    columnNames": [
        "Status",
        "Incidents",
        "Average Time Since Last Response"
    ],
    rows": [
        [
        "Unresolved",
        "46",
        null
        ]
    ],
    "links": [
        {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/analyticsReportResults"
        },
        {
        "rel": "canonical",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/analyticsReportResults"
        },
        {
        "rel": "describedby",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/analyticsReportResults",
        "mediaType": "application/schema+json"
        }
    ]
}