SP.Web.doesPushNotificationSubscriberExist Method (sp.js)
Checks whether the push notification subscriber exist for the current user with the given device application instance ID.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Web.doesPushNotificationSubscriberExist()
Parameters
- deviceAppInstanceId
Device application instance identifier.
Return value
Undefined
REST resource endpoint
See Web resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/doesPushNotificationSubscriberExist(deviceAppInstanceId)
HTTP requests
This resource supports the following HTTP commands:
- POST
GET syntax
GET http://<sitecollection>/<site>/_api/web/doesPushNotificationSubscriberExist(deviceAppInstanceId)
POST syntax
POST http://<sitecollection>/<site>/_api/web/doesPushNotificationSubscriberExist(deviceAppInstanceId)
Resource parameters
- deviceAppInstanceId