Retrieve collection of eventSubscriptions

get

/services/rest/connect/v1.4/eventSubscriptions

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 eventSubscriptions
Root Schema : eventSubscriptions-collection
Type: object
Collection of eventSubscriptions
Show Source

Examples

Use GET with the following syntax to list all event subscriptions:

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

Request URI example

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

Response body example

{
  "items": [
    {
      "id": 10000,
      "lookupName": "ContactCreateSubscription",
      "createdTime": "2016-03-21T15:07:58Z",
      "updatedTime": "2016-03-21T15:07:58Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/eventSubscriptions/10000"
        }
      ]
    },
    {
      "id": 10001,
      "lookupName": "OrgCreateSubscription",
      "createdTime": "2016-03-21T16:56:05Z",
      "updatedTime": "2016-03-21T16:56:05Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/eventSubscriptions/10001"
        }
      ]
    },
    {
      "id": 10002,
      "lookupName": "ContactUpdateSubscription",
      "createdTime": "2016-03-21T19:11:04Z",
      "updatedTime": "2016-03-21T19:11:04Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/eventSubscriptions/10002"
        }
      ]
    }
  ],
  "hasMore": false,
  "links": [
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/eventSubscriptions"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/
       eventSubscriptions",
      "mediaType": "application/schema+json"
    },
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/eventSubscriptions"
    }
  ]
}