Share via


SP.EventReceiverDefinition object

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

var object = new SP.EventReceiverDefinition()

Members

The EventReceiverDefinition object has the following members.

Methods

The EventReceiverDefinition object has the following methods.

Method

Description

deleteObject

update

Properties

The EventReceiverDefinition object has the following properties.

Property

Description

eventType

receiverAssembly

receiverClass

receiverId

receiverName

receiverUrl

sequenceNumber

synchronization

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/eventreceivers(eventreceiverid)

HTTP requests

This resource supports the following HTTP commands:

DELETE syntax

DELETE http://<sitecollection>/<site>/_api/web/eventreceivers(eventreceiverid)

MERGE syntax

MERGE http://<sitecollection>/<site>/_api/web/eventreceivers(eventreceiverid)

POST syntax

POST http://<sitecollection>/<site>/_api/web/eventreceivers(eventreceiverid)

PUT syntax

PUT http://<sitecollection>/<site>/_api/web/eventreceivers(eventreceiverid)