SP.EventReceiverDefinitionCollection object

Represents a collection of EventReceiverDefinition objects that are used to enumerate a list of registered event receivers for Microsoft SharePoint Foundation objects.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.EventReceiverDefinitionCollection()

Members

The EventReceiverDefinitionCollection object has the following members.

Methods

The EventReceiverDefinitionCollection object has the following methods.

Method

Description

add

getById

itemAt

Properties

The EventReceiverDefinitionCollection object has the following properties.

Property

Description

childItemType

item

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/eventreceivers

HTTP requests

This resource supports the following HTTP commands:

GET syntax

GET http://<sitecollection>/<site>/_api/web/eventreceivers

POST syntax

POST http://<sitecollection>/<site>/_api/web/eventreceivers