Create an analytics report result

post

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

Request

Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : analyticsReports-filters
Type: object
The filters used for running an analytics report.
Show Source
Nested Schema : analyticsReports-filters-attributes
Type: object
The attributes associated with an analytics report filter.
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. The right-hand side (RHS) of the filter value.
Show Source
Back to Top

Response

Default Response

Back to Top

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"
        }
    ]
}
Back to Top