Retrieve collection of analyticsReports

get

/services/rest/connect/v1.4/analyticsReports

Request

Supported Media Types
Query Parameters
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name
  • The requested page size, which limits the number of elements the collection should max return
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Returns the count of elements as the given order. The value is a comma delimited string. Each token in the string is the name of the field, optionally followed by asc or desc.
  • Query parameter that allows searching by providing ROQL WHERE clause filtering
  • Indicates whether or not to calculate the totalResults property. By default, totalResults is not calculated.

Response

Supported Media Types

Default Response

Body ()
Collection of analyticsReports
Root Schema : analyticsReports-collection
Type: object
Collection of analyticsReports
Show Source

Examples

Use GET with the following syntax to list all reports:

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

Request URI example

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

Response body example

{
  "items": [
    {
      "id": 1,
      "lookupName": "Answer Notifications by Answer",
      "createdTime": "2007-02-01T08:00:00Z",
      "updatedTime": "2007-02-01T08:00:00Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/analyticsReports/1"
        }
      ]
    },
    {
      "id": 2,
      "lookupName": "Answer Notifications by Product",
      "createdTime": "2007-02-01T08:00:00Z",
      "updatedTime": "2007-02-01T08:00:00Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/analyticsReports/2"
        }
      ]
    },

    ...

    {
      "id": 100021,
      "lookupName": "Logged In Accounts",
      "createdTime": "2016-01-04T20:42:12Z",
      "updatedTime": "2016-01-04T21:15:35Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/analyticsReports/100021"
        }
      ]
    }
  ],
  "hasMore": false,
  "links": [
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/analyticsReports"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/analyticsReports",
      "mediaType": "application/schema+json"
    },
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/analyticsReports"
    }
  ]
}