What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
Additional environment details
No response
Issue description
I am exploring the Alerts REST API (/web/alerts, /web/currentuser/alerts etc.).
I would like to ask, if there is any documentation available for /Alerts/Add endpoint.
It does not seem to be working on my end (other endpoints like list of all alerts, alert details or delete alert works correctly)
POST [site]/_api/Web/CurrentUser/Alerts/Add
BODY
{
"alertCreationInformation": {
"AlertFrequency": 1,
"AlertTemplateName": "SPAlertTemplateType.WebPageLibrary",
"AlertTime": "2021-07-29T11:56:18.9574215+02:00",
"AlertType": 0,
"AlwaysNotify": false,
"DeliveryChannels":1,
"EventType": -1,
"EventTypeBitmask" : 2,
"Filter": "",
"Status": 0,
"Title": "Alert -- generated",
"Properties": []
}
}
The AlertCreationInformation type does not contain any property for List, Item or User :(
https://s-kainet.github.io/sp-rest-explorer/#/_api/web/CurrentUser/Alerts/Add
Thanks
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
Additional environment details
No response
Issue description
I am exploring the Alerts REST API (/web/alerts, /web/currentuser/alerts etc.).
I would like to ask, if there is any documentation available for
/Alerts/Addendpoint.It does not seem to be working on my end (other endpoints like list of all alerts, alert details or delete alert works correctly)
POST
[site]/_api/Web/CurrentUser/Alerts/AddBODY
The
AlertCreationInformationtype does not contain any property for List, Item or User :(https://s-kainet.github.io/sp-rest-explorer/#/_api/web/CurrentUser/Alerts/Add
Thanks