SP.Web.getPushNotificationSubscribersByArgs Method (sp.js)

Queries for the push notification subscribers over the site for the specified value of custom arguments. Null or empty custom arguments will return subscribers without any filtering.

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

SP.Web.getPushNotificationSubscribersByArgs()

Parameters

  • customArgs
    A string that specifies the custom arguments.

Return value

SP.PushNotificationSubscriberCollection

Collection of push notification subscribers.

REST resource endpoint

See Web resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/getPushNotificationSubscribersByArgs(customArgs)

HTTP requests

This resource supports the following HTTP commands:

  • POST

GET syntax

GET http://<sitecollection>/<site>/_api/web/getPushNotificationSubscribersByArgs(customArgs)

POST syntax

POST http://<sitecollection>/<site>/_api/web/getPushNotificationSubscribersByArgs(customArgs)

Resource parameters

  • customArgs