From 258f1095b6e257dc34e241c4e36b6471feaeb19d Mon Sep 17 00:00:00 2001 From: Sergei Sergeev Date: Tue, 16 Nov 2021 02:26:37 +0300 Subject: [PATCH] List webhooks feature. --- docs/using-the-sdk/lists-intro.md | 1 + docs/using-the-sdk/lists-webhooks.md | 115 +++++++ docs/using-the-sdk/toc.yml | 2 + .../SharePoint/ListWebhookTests.cs | 304 ++++++++++++++++++ ...NewWebhookCustomBatchTest-0-00000.response | 1 + ...NewWebhookCustomBatchTest-0-00001.response | 9 + ...NewWebhookCustomBatchTest-0-00002.response | 10 + ...NewWebhookCustomBatchTest-0-00003.response | 10 + ...ewWebhookDefaultBatchTest-0-00000.response | 1 + ...ewWebhookDefaultBatchTest-0-00001.response | 9 + ...ewWebhookDefaultBatchTest-0-00002.response | 10 + ...ewWebhookDefaultBatchTest-0-00003.response | 10 + .../CreateNewWebhookTest-0-00000.response | 1 + .../CreateNewWebhookTest-0-00001.response | 9 + .../CreateNewWebhookTest-0-00002.response | 10 + .../CreateNewWebhookTest-0-00003.response | 10 + ...ebhookWithMonthsBatchTest-0-00000.response | 1 + ...ebhookWithMonthsBatchTest-0-00001.response | 9 + ...ebhookWithMonthsBatchTest-0-00002.response | 10 + ...ebhookWithMonthsBatchTest-0-00003.response | 10 + ...ithMonthsDefaultBatchTest-0-00000.response | 1 + ...ithMonthsDefaultBatchTest-0-00001.response | 9 + ...ithMonthsDefaultBatchTest-0-00002.response | 10 + ...ithMonthsDefaultBatchTest-0-00003.response | 10 + ...eNewWebhookWithMonthsTest-0-00000.response | 1 + ...eNewWebhookWithMonthsTest-0-00001.response | 9 + ...eNewWebhookWithMonthsTest-0-00002.response | 10 + ...eNewWebhookWithMonthsTest-0-00003.response | 10 + ...ewWebhookWithoutstateTest-0-00000.response | 1 + ...ewWebhookWithoutstateTest-0-00001.response | 9 + ...ewWebhookWithoutstateTest-0-00002.response | 10 + ...ewWebhookWithoutstateTest-0-00003.response | 10 + ...ewWebhookWithoutstateTest-0-00004.response | 9 + ...ewWebhookWithoutstateTest-0-00005.response | 9 + ...ewWebhookWithoutstateTest-0-00006.response | 9 + .../GetAllWebhooksTest-0-00000.response | 1 + .../GetAllWebhooksTest-0-00001.response | 9 + .../GetAllWebhooksTest-0-00002.response | 10 + .../GetWebhookByIdTest-0-00000.response | 1 + .../GetWebhookByIdTest-0-00001.response | 9 + .../GetWebhookByIdTest-0-00002.response | 10 + .../GetWebhookByIdTest-0-00003.response | 10 + .../GetWebhookByIdTest-0-00004.response | 9 + .../RemoveWebhookTest-0-00000.response | 1 + .../RemoveWebhookTest-0-00001.response | 9 + .../RemoveWebhookTest-0-00002.response | 10 + .../RemoveWebhookTest-0-00003.response | 10 + .../RemoveWebhookTest-0-00004.response | 10 + .../RemoveWebhookTest-0-00005.response | 0 .../RemoveWebhookTest-0-00006.response | 10 + .../UpdateWebhookUrlTest-0-00000.response | 1 + .../UpdateWebhookUrlTest-0-00001.response | 9 + .../UpdateWebhookUrlTest-0-00002.response | 10 + .../UpdateWebhookUrlTest-0-00003.response | 10 + .../UpdateWebhookUrlTest-0-00004.response | 9 + .../UpdateWebhookUrlTest-0-00005.response | 9 + ...ookArgumentOutOfRangeTest-0-00000.response | 1 + ...ookArgumentOutOfRangeTest-0-00001.response | 9 + ...ookArgumentOutOfRangeTest-0-00002.response | 10 + ...ficationNullExceptionTest-0-00000.response | 1 + ...ficationNullExceptionTest-0-00001.response | 9 + ...ficationNullExceptionTest-0-00002.response | 10 + .../ListWebhookTests/Cleanup-0-00000.response | 1 + .../ListWebhookTests/Cleanup-0-00001.response | 9 + .../ListWebhookTests/Cleanup-0-00002.response | 9 + .../ListWebhookTests/Cleanup-0-00003.response | 9 + ...NewWebhookCustomBatchTest-0-00000.response | 1 + ...NewWebhookCustomBatchTest-0-00001.response | 9 + ...NewWebhookCustomBatchTest-0-00002.response | 10 + ...NewWebhookCustomBatchTest-0-00003.response | 10 + ...ewWebhookDefaultBatchTest-0-00000.response | 1 + ...ewWebhookDefaultBatchTest-0-00001.response | 9 + ...ewWebhookDefaultBatchTest-0-00002.response | 10 + ...ewWebhookDefaultBatchTest-0-00003.response | 10 + .../CreateNewWebhookTest-0-00000.response | 1 + .../CreateNewWebhookTest-0-00001.response | 9 + .../CreateNewWebhookTest-0-00002.response | 10 + .../CreateNewWebhookTest-0-00003.response | 10 + .../CreateNewWebhookTest-0-00004.response | 10 + ...ebhookWithMonthsBatchTest-0-00000.response | 1 + ...ebhookWithMonthsBatchTest-0-00001.response | 9 + ...ebhookWithMonthsBatchTest-0-00002.response | 10 + ...ebhookWithMonthsBatchTest-0-00003.response | 10 + ...ithMonthsDefaultBatchTest-0-00000.response | 1 + ...ithMonthsDefaultBatchTest-0-00001.response | 9 + ...ithMonthsDefaultBatchTest-0-00002.response | 10 + ...ithMonthsDefaultBatchTest-0-00003.response | 10 + ...eNewWebhookWithMonthsTest-0-00000.response | 1 + ...eNewWebhookWithMonthsTest-0-00001.response | 9 + ...eNewWebhookWithMonthsTest-0-00002.response | 10 + ...eNewWebhookWithMonthsTest-0-00003.response | 10 + ...ewWebhookWithoutstateTest-0-00000.response | 1 + ...ewWebhookWithoutstateTest-0-00001.response | 9 + ...ewWebhookWithoutstateTest-0-00002.response | 10 + ...ewWebhookWithoutstateTest-0-00003.response | 10 + ...etAllWebhooksLoadListTest-0-00000.response | 1 + ...etAllWebhooksLoadListTest-0-00001.response | 9 + ...etAllWebhooksLoadListTest-0-00002.response | 10 + ...etAllWebhooksLoadListTest-0-00003.response | 10 + .../GetAllWebhooksLoadTest-0-00000.response | 1 + .../GetAllWebhooksLoadTest-0-00001.response | 9 + .../GetAllWebhooksLoadTest-0-00002.response | 10 + .../GetAllWebhooksLoadTest-0-00003.response | 10 + .../GetAllWebhooksTest-0-00000.response | 1 + .../GetAllWebhooksTest-0-00001.response | 9 + .../GetAllWebhooksTest-0-00002.response | 10 + ...tWebhookByClientStateTest-0-00000.response | 1 + ...tWebhookByClientStateTest-0-00001.response | 9 + ...tWebhookByClientStateTest-0-00002.response | 10 + ...tWebhookByClientStateTest-0-00003.response | 10 + ...tWebhookByClientStateTest-0-00004.response | 9 + .../GetWebhookByIdLinqTest-0-00000.response | 1 + .../GetWebhookByIdLinqTest-0-00001.response | 9 + .../GetWebhookByIdLinqTest-0-00002.response | 10 + .../GetWebhookByIdLinqTest-0-00003.response | 10 + .../GetWebhookByIdLinqTest-0-00004.response | 9 + .../GetWebhookByIdTest-0-00000.response | 1 + .../GetWebhookByIdTest-0-00001.response | 9 + .../GetWebhookByIdTest-0-00002.response | 10 + .../GetWebhookByIdTest-0-00003.response | 10 + .../GetWebhookByIdTest-0-00004.response | 9 + .../GetWebhookByUrlTest-0-00000.response | 1 + .../GetWebhookByUrlTest-0-00001.response | 9 + .../GetWebhookByUrlTest-0-00002.response | 10 + .../GetWebhookByUrlTest-0-00003.response | 10 + .../GetWebhookByUrlTest-0-00004.response | 9 + .../RemoveWebhookTest-0-00000.response | 1 + .../RemoveWebhookTest-0-00001.response | 9 + .../RemoveWebhookTest-0-00002.response | 10 + .../RemoveWebhookTest-0-00003.response | 10 + .../RemoveWebhookTest-0-00004.response | 10 + .../RemoveWebhookTest-0-00005.response | 0 .../RemoveWebhookTest-0-00006.response | 10 + .../UpdateWebhookUrlTest-0-00000.response | 1 + .../UpdateWebhookUrlTest-0-00001.response | 9 + .../UpdateWebhookUrlTest-0-00002.response | 10 + .../UpdateWebhookUrlTest-0-00003.response | 10 + .../UpdateWebhookUrlTest-0-00004.response | 9 + .../UpdateWebhookUrlTest-0-00005.response | 9 + ...ookArgumentOutOfRangeTest-0-00000.response | 1 + ...ookArgumentOutOfRangeTest-0-00001.response | 9 + ...ookArgumentOutOfRangeTest-0-00002.response | 10 + ...ficationNullExceptionTest-0-00000.response | 1 + ...ficationNullExceptionTest-0-00001.response | 9 + ...ficationNullExceptionTest-0-00002.response | 10 + .../Model/SharePoint/Core/Internal/List.cs | 3 + .../Core/Internal/ListSubscription.cs | 54 ++++ .../Internal/ListSubscriptionCollection.cs | 141 ++++++++ .../Model/SharePoint/Core/Public/IList.cs | 5 + .../Core/Public/IListSubscription.cs | 38 +++ .../Public/IListSubscriptionCollection.cs | 142 ++++++++ src/sdk/PnP.Core/PnPCoreResources.Designer.cs | 11 +- src/sdk/PnP.Core/PnPCoreResources.resx | 3 + 153 files changed, 1874 insertions(+), 1 deletion(-) create mode 100644 docs/using-the-sdk/lists-webhooks.md create mode 100644 src/sdk/PnP.Core.Test/SharePoint/ListWebhookTests.cs create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00005.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00006.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00005.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00006.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00005.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00005.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00006.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00003.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00004.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00005.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00002.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00000.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00001.response create mode 100644 src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00002.response create mode 100644 src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListSubscription.cs create mode 100644 src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListSubscriptionCollection.cs create mode 100644 src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListSubscription.cs create mode 100644 src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListSubscriptionCollection.cs diff --git a/docs/using-the-sdk/lists-intro.md b/docs/using-the-sdk/lists-intro.md index 2398ecfb34..9ce24062e0 100644 --- a/docs/using-the-sdk/lists-intro.md +++ b/docs/using-the-sdk/lists-intro.md @@ -18,6 +18,7 @@ Scenario | List property/method | Documentation List schema: fields | [Fields](https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IList.html#PnP_Core_Model_SharePoint_IList_Fields) | [Fields documentation](fields-intro.md) List schema: views | [Views](https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IList.html#PnP_Core_Model_SharePoint_IList_Views) | [List view documentation](lists-views.md) List schema: content types | [ContentTypes](https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IList.html#PnP_Core_Model_SharePoint_IList_ContentTypes) | [Content types documentation](contenttypes-intro.md) +List schema: webhooks | [Webhooks](https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IList.html#PnP_Core_Model_SharePoint_IList_Webhooks) | [Webhooks documentation](lists-webhooks.md) Content: items | [Items](https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IList.html#PnP_Core_Model_SharePoint_IList_Items) | [List item documentation](listitems-intro.md) Content: files | [Items](https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IList.html#PnP_Core_Model_SharePoint_IList_Items) | [Files documentation](files-intro.md) Content: pages | [Items](https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IList.html#PnP_Core_Model_SharePoint_IList_Items) | [Pages documentation](pages-intro.md) diff --git a/docs/using-the-sdk/lists-webhooks.md b/docs/using-the-sdk/lists-webhooks.md new file mode 100644 index 0000000000..09e2b73bfa --- /dev/null +++ b/docs/using-the-sdk/lists-webhooks.md @@ -0,0 +1,115 @@ +# Working with list webhooks + +PnP Core SDK allows you to perform all needed CRUD operations with list webhooks in a convenient fluent manner. The webhook instance is represented via the [IListSubscription](https://pnp.github.io/pnpcore/api/PnP.Core.Model.SharePoint.IListSubscription.html) interface. + +## Fetch and filter webhooks + +To get all list webhooks, you can use regular `Load` methods. + +Load webhooks as part of the list request: + +```csharp +var list = await context.Web.Lists.GetByTitleAsync("My List", l => l.Webhooks); +``` + +Or load webhooks explicitly: + +```csharp +var list = await context.Web.Lists.GetByTitleAsync("My List"); +list.Webhooks.Load(); +``` + +Or load using list instance: + +```csharp +var list = await context.Web.Lists.GetByTitleAsync("My List"); +list.Load(l => l.Webhooks); +``` + +Later on you can iterate over the webhooks collection: + +```csharp +foreach (var webhook in list.Webhooks.AsRequested()) +{ + // do something +} +``` + +You can also use LINQ to filter webhooks by their properties. For example, to get all webhooks, where the client state contains specific string: + +```csharp +var webhooks = await list.Webhooks.Where(w => w.ClientState.Contains("state")).ToListAsync(); + +foreach (var webhook in webhooks) +{ + // do something +} +``` + +## Get webhook by Id + +To get a webhook by its Id, you can use a dedicated method: + +```csharp +var list = await context.Web.Lists.GetByTitleAsync("My List"); + +// get by id +var webhook = await list.Webhooks.GetByIdAsync(new Guid("")); +``` + +Or you can use LINQ filter: + +```csharp +var webhookId = new Guid(""); +var webhook = await list.Webhooks.FirstOrDefaultAsync(w => w.Id == webhookId); +``` + +## Add a webhook + +To add a webhook, you should provide notification url, expiration date and optionally client state. You can use client state for validating notifications, tagging different subscriptions, or other reasons. + +There are a few different method overloads available in PnP Core SDK to add a new webhook: + +```csharp +var list = await context.Web.Lists.GetByTitleAsync("My List"); + +// creates a new webhook subscription with validity period of 180 days (maximum possible), doesn't set client state +var webhook = await list.Webhooks.AddAsync("https://my-handler.url"); + +// creates a new webhook subscription with validity period of 1 month, doesn't set client state +var webhook = await list.Webhooks.AddAsync("https://my-handler.url", 1); + +// creates a new webhook subscription with validity period of 1 month and sets client state. +var webhook = await list.Webhooks.AddAsync("https://my-handler.url", DateTime.UtcNow.AddMonths(1), "tag:client"); +``` + +> [!Note] +> +> The maximum expiration time for SharePoint list webhooks is 180 days. + +## Update a webhook + +To update a webhook, you should set properties you want to change and then call the `Update` method: + +```csharp +var list = await context.Web.Lists.GetByTitleAsync("My List"); +var webhook = await list.Webhooks.GetByIdAsync(new Guid("")); + +// change expiration for the webhook +webhook.ExpirationDateTime = DateTime.UtcNow.AddDays(180); + +// update it +await webhook.UpdateAsync(); +``` + +## Delete a webhook + +To delete a webhook just call the `Delete` method on the webhook instance: + +```csharp +var list = await context.Web.Lists.GetByTitleAsync("My List"); +var webhook = await list.Webhooks.GetByIdAsync(new Guid("")); + +// delete it +await webhook.DeleteAsync(); +``` diff --git a/docs/using-the-sdk/toc.yml b/docs/using-the-sdk/toc.yml index 1387521219..fd0f9327c4 100644 --- a/docs/using-the-sdk/toc.yml +++ b/docs/using-the-sdk/toc.yml @@ -53,6 +53,8 @@ href: lists-intro.md - name: Working with views href: lists-views.md + - name: Webhooks + href: lists-webhooks.md - name: Fields items: - name: Overview diff --git a/src/sdk/PnP.Core.Test/SharePoint/ListWebhookTests.cs b/src/sdk/PnP.Core.Test/SharePoint/ListWebhookTests.cs new file mode 100644 index 0000000000..6566d6d1a6 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/ListWebhookTests.cs @@ -0,0 +1,304 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using PnP.Core.Model; +using PnP.Core.QueryModel; +using PnP.Core.Test.Utilities; +using System; +using System.Linq; +using System.Threading.Tasks; + +namespace PnP.Core.Test.SharePoint +{ + [TestClass] + public class ListWebhookTests + { + private const string webhookHost = "https://6e4569a36d94.ngrok.io"; + + [ClassInitialize] + public static void TestFixtureSetup(TestContext context) + { + // Configure mocking default for all tests in this class, unless override by a specific test + //TestCommon.Instance.Mocking = false; + } + + [TestMethod] + public async Task CreateNewWebhookTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1), "state"); + + Assert.IsTrue(webhook.ClientState.Equals("state")); + } + } + + [TestMethod] + public async Task CreateNewWebhookDefaultBatchTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.AddBatch($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1), "state"); + await context.ExecuteAsync(); + + Assert.IsTrue(webhook.ClientState.Equals("state")); + } + } + + [TestMethod] + public async Task CreateNewWebhookCustomBatchTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var batch = context.NewBatch(); + var webhook = list.Webhooks.AddBatch(batch, $"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1), "state"); + await context.ExecuteAsync(batch); + + Assert.IsTrue(webhook.ClientState.Equals("state")); + } + } + + [TestMethod] + public async Task CreateNewWebhookWithoutstateTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1)); + + Assert.IsTrue(webhook != null); + } + } + + [TestMethod] + public async Task GetAllWebhooksTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents", l => l.Webhooks); + + Assert.IsTrue(list.Webhooks.AsRequested().Count() > 0); + } + } + + [TestMethod] + public async Task GetAllWebhooksLoadTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + list.Webhooks.Load(); + + Assert.IsTrue(list.Webhooks.AsRequested().Count() > 0); + } + } + + [TestMethod] + public async Task GetAllWebhooksLoadListTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + list.Load(l => l.Webhooks); + + Assert.IsTrue(list.Webhooks.AsRequested().Count() > 0); + } + } + + [TestMethod] + public async Task RemoveWebhookTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1)); + list.Webhooks.Load(); + var count = list.Webhooks.AsRequested().Count(); + + webhook.Delete(); + + list.Webhooks.Load(); + var count2 = list.Webhooks.AsRequested().Count(); + Assert.AreEqual(count - 1, count2); + } + } + + [TestMethod] + public async Task UpdateWebhookUrlTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1)); + + webhook.NotificationUrl = $"{webhookHost}/api/HandleEventNew"; + + webhook.Update(); + + var wh = webhook.Get(); + + Assert.IsTrue(wh.NotificationUrl.Contains("HandleEventNew")); + } + } + + [TestMethod] + public async Task GetWebhookByIdTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1)); + var wh = list.Webhooks.GetById(webhook.Id); + + Assert.IsTrue(wh.NotificationUrl == $"{webhookHost}/api/HandleEvent"); + } + } + + [TestMethod] + [ExpectedException(typeof(ArgumentOutOfRangeException))] + public async Task WebhookArgumentOutOfRangeTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddMonths(7)); + + Assert.Fail("Should throw expected exception"); + } + } + + [TestMethod] + [ExpectedException(typeof(ArgumentNullException))] + public async Task WebhookNotificationNullExceptionTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add(string.Empty, DateTime.UtcNow.AddMonths(1)); + + Assert.Fail("Should throw expected exception"); + } + } + + [TestMethod] + public async Task CreateNewWebhookWithMonthsTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", 1, "state"); + + Assert.IsTrue(webhook != null); + Assert.IsTrue(webhook.ClientState.Equals("state")); + } + } + + [TestMethod] + public async Task CreateNewWebhookWithMonthsDefaultBatchTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.AddBatch($"{webhookHost}/api/HandleEvent", 1, "state"); + + context.Execute(); + + Assert.IsTrue(webhook != null); + Assert.IsTrue(webhook.ClientState.Equals("state")); + } + } + + [TestMethod] + public async Task CreateNewWebhookWithMonthsBatchTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var batch = context.NewBatch(); + + var webhook = list.Webhooks.AddBatch(batch, $"{webhookHost}/api/HandleEvent", 1, "state"); + + context.Execute(batch); + + Assert.IsTrue(webhook != null); + Assert.IsTrue(webhook.ClientState.Equals("state")); + } + } + + [TestMethod] + public async Task GetWebhookByIdLinqTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1)); + var wh = list.Webhooks.FirstOrDefault(w => w.Id == webhook.Id); + + Assert.IsTrue(wh != null); + } + } + + [TestMethod] + public async Task GetWebhookByClientStateTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1), "state"); + var wh = list.Webhooks.Where(w => w.ClientState.Contains("state")).ToList(); + + Assert.IsTrue(wh.Count > 0); + } + } + + [TestMethod] + public async Task GetWebhookByUrlTest() + { + //TestCommon.Instance.Mocking = false; + + using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite)) + { + var list = context.Web.Lists.GetByServerRelativeUrl($"{context.Uri.LocalPath}/Shared Documents"); + var webhook = list.Webhooks.Add($"{webhookHost}/api/HandleEvent", DateTime.UtcNow.AddDays(1), "state"); + var wh = list.Webhooks.Where(w => w.NotificationUrl.Contains("ngrok")).ToList(); + + Assert.IsTrue(wh.Count > 0); + } + } + } +} diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00001.response new file mode 100644 index 0000000000..45adf81631 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_202f4c78-2843-4163-9fa2-22ac641f2dec +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_202f4c78-2843-4163-9fa2-22ac641f2dec-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00002.response new file mode 100644 index 0000000000..5dc197b3f7 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_99e4afa1-56aa-46ae-8ebf-c90493790de7 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726154807330000;383886666"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_99e4afa1-56aa-46ae-8ebf-c90493790de7-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00003.response new file mode 100644 index 0000000000..5f9808f3bc --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookCustomBatchTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_b6b99026-e938-4c5a-8e08-4699e46ff576 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-16T23:24:41.0492354Z","id":"b0c9ec25-ca31-44d7-90ee-a7441072809d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_b6b99026-e938-4c5a-8e08-4699e46ff576-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00001.response new file mode 100644 index 0000000000..546fee0751 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_e3608a80-bc0e-4f2c-b5f0-8dd8432a578b +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_e3608a80-bc0e-4f2c-b5f0-8dd8432a578b-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00002.response new file mode 100644 index 0000000000..906849be52 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_2b981c5a-6d6c-4e4f-97be-eca59b1d9cf1 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726153900970000;383886195"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_2b981c5a-6d6c-4e4f-97be-eca59b1d9cf1-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00003.response new file mode 100644 index 0000000000..d8406d7694 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookDefaultBatchTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_3cdf4ec5-8a20-4bb6-a3ba-4fb67ee94e0c +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-16T23:23:09.9570122Z","id":"b0c9ec25-ca31-44d7-90ee-a7441072809d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_3cdf4ec5-8a20-4bb6-a3ba-4fb67ee94e0c-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00001.response new file mode 100644 index 0000000000..924f21a8f5 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_405cd97e-3189-40b1-8f64-d53c3aa783bb +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_405cd97e-3189-40b1-8f64-d53c3aa783bb-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00002.response new file mode 100644 index 0000000000..520387a2eb --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_4bc55992-7ddc-4447-b551-bf9167677e9c +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726058080570000;383865206"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_4bc55992-7ddc-4447-b551-bf9167677e9c-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00003.response new file mode 100644 index 0000000000..507b0664af --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_53bafbfc-fd64-457d-b4d8-3a6319940819 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-16T20:43:27.5746214Z","id":"9ec660b8-fe03-4709-91d1-83e5109f41a7","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_53bafbfc-fd64-457d-b4d8-3a6319940819-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00001.response new file mode 100644 index 0000000000..313799d3fc --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_3deb625b-87b5-446c-8a8a-19a5bd85f028 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_3deb625b-87b5-446c-8a8a-19a5bd85f028-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00002.response new file mode 100644 index 0000000000..27dfd25425 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_52af7a18-af10-4a91-b309-1925224034dc +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726565564670000;383982853"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_52af7a18-af10-4a91-b309-1925224034dc-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00003.response new file mode 100644 index 0000000000..cc22314622 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsBatchTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_d801cf5e-5ea4-4bd9-9166-348fa8a49a5f +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-12-16T10:49:17.3541123Z","id":"b0c9ec25-ca31-44d7-90ee-a7441072809d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_d801cf5e-5ea4-4bd9-9166-348fa8a49a5f-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00001.response new file mode 100644 index 0000000000..3b0cfa5627 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_db92e0f5-2bc7-471e-9368-186d4cf27cc2 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_db92e0f5-2bc7-471e-9368-186d4cf27cc2-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00002.response new file mode 100644 index 0000000000..f503b7b809 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_985c3287-7233-45d6-8710-0a3f0644caa9 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726564534570000;383982694"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_985c3287-7233-45d6-8710-0a3f0644caa9-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00003.response new file mode 100644 index 0000000000..9cff167d91 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_184818e7-ceb3-4a01-bf47-56ad9ff5c1cc +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-12-16T10:47:33.5932667Z","id":"b0c9ec25-ca31-44d7-90ee-a7441072809d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_184818e7-ceb3-4a01-bf47-56ad9ff5c1cc-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00001.response new file mode 100644 index 0000000000..428741ff15 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_7f3b3455-b257-4fa3-a3e4-91d1f4d25c97 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_7f3b3455-b257-4fa3-a3e4-91d1f4d25c97-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00002.response new file mode 100644 index 0000000000..77b33e13e5 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_8269ff6c-410e-44ec-aba4-c482224fa7ee +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726563973070000;383982634"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_8269ff6c-410e-44ec-aba4-c482224fa7ee-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00003.response new file mode 100644 index 0000000000..f8e0273f94 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithMonthsTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_180a9064-1f8a-42d8-8b45-35d2170c8204 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-12-16T10:46:45.2340643Z","id":"b0c9ec25-ca31-44d7-90ee-a7441072809d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_180a9064-1f8a-42d8-8b45-35d2170c8204-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00001.response new file mode 100644 index 0000000000..ea856bd0ea --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_6619c1a2-28fe-4cc8-8ead-6a025a6c00d7 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_6619c1a2-28fe-4cc8-8ead-6a025a6c00d7-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00002.response new file mode 100644 index 0000000000..af2a50a369 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_f4dc76e3-ac9b-48ea-b85e-70ff4845e253 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726098563730000;383872566"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_f4dc76e3-ac9b-48ea-b85e-70ff4845e253-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00003.response new file mode 100644 index 0000000000..34fd8b319e --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_ea02ee4c-933b-4581-892f-2551a47b3ed0 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T21:50:56.8223408Z","id":"9ec660b8-fe03-4709-91d1-83e5109f41a7","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_ea02ee4c-933b-4581-892f-2551a47b3ed0-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00004.response new file mode 100644 index 0000000000..ca30a40642 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00004.response @@ -0,0 +1,9 @@ +--batchresponse_2a5be1fd-5f17-4edd-8e3c-0072b5e9a48b +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'9ec660b8-fe03-4709-91d1-83e5109f41a7')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'9ec660b8-fe03-4709-91d1-83e5109f41a7')","type":"Microsoft.SharePoint.Webhooks.Subscription"},"expirationDateTime":"2021-11-16T17:34:10.5318014Z","id":"9ec660b8-fe03-4709-91d1-83e5109f41a7"}} +--batchresponse_2a5be1fd-5f17-4edd-8e3c-0072b5e9a48b-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00005.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00005.response new file mode 100644 index 0000000000..88ccce2b3a --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00005.response @@ -0,0 +1,9 @@ +--batchresponse_854ae4d4-2a56-48da-a2e4-047c9bf0e464 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"Lists":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":125,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:12Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;d4a0cc9c-c798-450b-b086-cedf9bdc5665;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_appdata","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"d4a0cc9c-c798-450b-b086-cedf9bdc5665","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.png?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:12Z","LastItemModifiedDate":"2021-09-18T23:47:12Z","LastItemUserModifiedDate":"2021-09-18T23:47:12Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_appdataItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"appdata"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":126,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:12Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;a141bb4b-c2ec-4465-9ff5-9401afdcef55;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_appfiles","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"a141bb4b-c2ec-4465-9ff5-9401afdcef55","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.png?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:12Z","LastItemModifiedDate":"2021-09-18T23:47:12Z","LastItemUserModifiedDate":"2021-09-18T23:47:12Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_appfilesItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"appfiles"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":124,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;2ed13332-4668-4649-bc27-f3c48bf37173;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use this list to store composed looks. These looks can be applied to this site by navigating to Site Settings and choosing Change the look.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_design","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"2ed13332-4668-4649-bc27-f3c48bf37173","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.png?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":18,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-09-18T23:47:12Z","LastItemUserModifiedDate":"2021-09-18T23:47:11Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_designItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Composed Looks"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')","etag":"\"1\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":10102,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-06T14:10:40Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;ba534e5d-a739-4d04-9593-50d6e97b35b6;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"List of user browser-enabled form templates on this site collection.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"IWConvertedForms","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"ba534e5d-a739-4d04-9593-50d6e97b35b6","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/ICXDDOC.GIF?rev=47"},"ImageUrl":"/_layouts/15/images/ICXDDOC.GIF?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-10-06T14:10:40Z","LastItemModifiedDate":"2021-10-06T14:10:41Z","LastItemUserModifiedDate":"2021-10-06T14:10:40Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.IWConvertedFormsItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"a0e5a010-1329-49d4-9e09-f280cdbed37d","Title":"Converted Forms"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')","etag":"\"14\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-06T14:10:40Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;c6b2b9ff-4b3f-4d96-95c4-388dc17858a9;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"This library contains administrator-approved form templates that were activated to this site collection.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"FormServerTemplates","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"c6b2b9ff-4b3f-4d96-95c4-388dc17858a9","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-10-06T14:10:41Z","LastItemModifiedDate":"2021-10-06T14:10:41Z","LastItemUserModifiedDate":"2021-10-06T14:10:40Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.FormServerTemplatesItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Form Templates"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/WorkflowAssociations"}},"AllowContentTypes":false,"BaseTemplate":114,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;f5309916-4e11-4d85-8fa7-f519ef187c25;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Make a template available for use in list creation by adding it to this gallery. The templates in this gallery are available to this site and all sites under it. Default list templates are not shown.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_lt","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"f5309916-4e11-4d85-8fa7-f519ef187c25","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-09-18T23:47:11Z","LastItemUserModifiedDate":"2021-09-18T23:47:11Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_ltItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"List Template Gallery"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/WorkflowAssociations"}},"AllowContentTypes":false,"BaseTemplate":175,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-31T22:28:06Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Library of Site Collection Maintenance Logs","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_MaintenanceLogs","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-10-31T22:28:06Z","LastItemModifiedDate":"2021-10-31T22:28:06Z","LastItemUserModifiedDate":"2021-10-31T22:28:06Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_MaintenanceLogsItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"8c6f9096-388d-4eed-96ff-698b3ec46fc4","Title":"Maintenance Log Library"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')","etag":"\"12\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":116,"BaseType":1,"ContentTypesEnabled":true,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:10Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;1008e3c1-05c5-442f-9944-af168298d1e2;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use the master page gallery to store master pages. The master pages in this gallery are available to this site and any sites underneath it.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"OData__x005f_catalogs_x002f_masterpage","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"1008e3c1-05c5-442f-9944-af168298d1e2","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":true,"IsCatalog":true,"IsPrivate":false,"ItemCount":175,"LastItemDeletedDate":"2021-09-18T23:47:10Z","LastItemModifiedDate":"2021-10-06T14:11:00Z","LastItemUserModifiedDate":"2021-10-06T14:11:00Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_masterpageItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Master Page Gallery"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')","etag":"\"4\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-06T14:10:56Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;4adb6ea4-2f95-475e-a8f2-db115124782c;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use this library to store files which are included on pages within this site, such as images on Wiki pages.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/SiteAssets/Forms/template.doc","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"SiteAssets","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"4adb6ea4-2f95-475e-a8f2-db115124782c","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":true,"IsCatalog":false,"IsPrivate":false,"ItemCount":3,"LastItemDeletedDate":"2021-10-06T14:10:56Z","LastItemModifiedDate":"2021-10-28T11:09:00Z","LastItemUserModifiedDate":"2021-10-06T14:10:56Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.SiteAssetsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Site Assets"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')","etag":"\"29\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":119,"BaseType":1,"ContentTypesEnabled":true,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:17Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;e16f7fcf-2716-4b9b-8753-38381bd231b9;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":1,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":true,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"SitePages","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"e16f7fcf-2716-4b9b-8753-38381bd231b9","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":true,"IsCatalog":false,"IsPrivate":false,"ItemCount":6,"LastItemDeletedDate":"2021-09-18T23:47:17Z","LastItemModifiedDate":"2021-11-15T08:55:58Z","LastItemUserModifiedDate":"2021-11-15T08:55:58Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.SitePagesItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-c796-4402-9f2f-0eb9a6e71b18","Title":"Site Pages"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/WorkflowAssociations"}},"AllowContentTypes":false,"BaseTemplate":121,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:10Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;d3ed7405-39ea-4db9-8ebb-d3898be2a64c;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use the Solution Gallery to track user solutions.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_solutions","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"d3ed7405-39ea-4db9-8ebb-d3898be2a64c","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":true,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:10Z","LastItemModifiedDate":"2021-09-18T23:47:10Z","LastItemUserModifiedDate":"2021-09-18T23:47:10Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_solutionsItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Solution Gallery"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use the style library to store style sheets, such as CSS or XSL files. The style sheets in this gallery can be used by this site or any of its subsites.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Style_x0020_Library","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-09-18T23:47:11Z","LastItemUserModifiedDate":"2021-09-18T23:47:11Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.Style_x0020_LibraryItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Style Library"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')","etag":"\"111\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":100,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-06T14:10:42Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;18b8ea7b-a07e-43b4-9aa0-f92701ea4c02;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"The description for the hidden list for the taxonomy feature.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"TaxonomyHiddenListList","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"18b8ea7b-a07e-43b4-9aa0-f92701ea4c02","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.gif?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.gif?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-10-06T14:10:42Z","LastItemModifiedDate":"2021-10-06T14:10:45Z","LastItemUserModifiedDate":"2021-10-06T14:10:42Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.TaxonomyHiddenListListItem","MajorVersionLimit":50,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-de22-43b2-a848-c05709900100","Title":"TaxonomyHiddenList"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":123,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;83bf3de6-360b-4936-a868-5746397ddead;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use the theme gallery to store themes. The themes in this gallery can be used by this site or any of its subsites.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_theme","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"83bf3de6-360b-4936-a868-5746397ddead","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":41,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-09-18T23:47:15Z","LastItemUserModifiedDate":"2021-09-18T23:47:15Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_themeItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Theme Gallery"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList","etag":"\"46\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":112,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:10Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;13b71288-c124-4761-806a-4c1aa3403886;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"All people.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"UserInfo","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"13b71288-c124-4761-806a-4c1aa3403886","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/users.gif?rev=47"},"ImageUrl":"/_layouts/15/images/users.gif?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":12,"LastItemDeletedDate":"2021-09-18T23:47:10Z","LastItemModifiedDate":"2021-11-08T10:39:20Z","LastItemUserModifiedDate":"2021-09-18T23:47:10Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.UserInfoItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"User Information List"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/WorkflowAssociations"}},"AllowContentTypes":false,"BaseTemplate":113,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;29976032-5bb3-4aa2-861b-5a835a480464;637726097243530000;383872434"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use this Web Part Gallery to store and retrieve Web Parts. The Web Parts in this gallery are available to this site and all sites under it. To preview a Web Part, click its title.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_wp","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"29976032-5bb3-4aa2-861b-5a835a480464","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":23,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-10-06T14:10:47Z","LastItemUserModifiedDate":"2021-10-06T14:10:47Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_wpItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Web Part Gallery"}]},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Title":"PnP Microsoft 365 library test with group"}} +--batchresponse_854ae4d4-2a56-48da-a2e4-047c9bf0e464-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00006.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00006.response new file mode 100644 index 0000000000..fbbe8e9fcc --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/CreateNewWebhookWithoutstateTest-0-00006.response @@ -0,0 +1,9 @@ +--batchresponse_31d64cbc-472a-4cce-8824-805c298043cd +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"Lists":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd4a0cc9c-c798-450b-b086-cedf9bdc5665')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":125,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:12Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;d4a0cc9c-c798-450b-b086-cedf9bdc5665;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_appdata","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"d4a0cc9c-c798-450b-b086-cedf9bdc5665","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.png?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:12Z","LastItemModifiedDate":"2021-09-18T23:47:12Z","LastItemUserModifiedDate":"2021-09-18T23:47:12Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_appdataItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"appdata"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'a141bb4b-c2ec-4465-9ff5-9401afdcef55')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":126,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:12Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;a141bb4b-c2ec-4465-9ff5-9401afdcef55;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_appfiles","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"a141bb4b-c2ec-4465-9ff5-9401afdcef55","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.png?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:12Z","LastItemModifiedDate":"2021-09-18T23:47:12Z","LastItemUserModifiedDate":"2021-09-18T23:47:12Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_appfilesItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"appfiles"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'2ed13332-4668-4649-bc27-f3c48bf37173')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":124,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;2ed13332-4668-4649-bc27-f3c48bf37173;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use this list to store composed looks. These looks can be applied to this site by navigating to Site Settings and choosing Change the look.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_design","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"2ed13332-4668-4649-bc27-f3c48bf37173","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.png?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":18,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-09-18T23:47:12Z","LastItemUserModifiedDate":"2021-09-18T23:47:11Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_designItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Composed Looks"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')","etag":"\"1\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ba534e5d-a739-4d04-9593-50d6e97b35b6')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":10102,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-06T14:10:40Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;ba534e5d-a739-4d04-9593-50d6e97b35b6;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"List of user browser-enabled form templates on this site collection.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"IWConvertedForms","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"ba534e5d-a739-4d04-9593-50d6e97b35b6","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/ICXDDOC.GIF?rev=47"},"ImageUrl":"/_layouts/15/images/ICXDDOC.GIF?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-10-06T14:10:40Z","LastItemModifiedDate":"2021-10-06T14:10:41Z","LastItemUserModifiedDate":"2021-10-06T14:10:40Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.IWConvertedFormsItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"a0e5a010-1329-49d4-9e09-f280cdbed37d","Title":"Converted Forms"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')","etag":"\"14\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'c6b2b9ff-4b3f-4d96-95c4-388dc17858a9')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-06T14:10:40Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;c6b2b9ff-4b3f-4d96-95c4-388dc17858a9;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"This library contains administrator-approved form templates that were activated to this site collection.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"FormServerTemplates","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"c6b2b9ff-4b3f-4d96-95c4-388dc17858a9","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-10-06T14:10:41Z","LastItemModifiedDate":"2021-10-06T14:10:41Z","LastItemUserModifiedDate":"2021-10-06T14:10:40Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.FormServerTemplatesItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Form Templates"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'f5309916-4e11-4d85-8fa7-f519ef187c25')/WorkflowAssociations"}},"AllowContentTypes":false,"BaseTemplate":114,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;f5309916-4e11-4d85-8fa7-f519ef187c25;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Make a template available for use in list creation by adding it to this gallery. The templates in this gallery are available to this site and all sites under it. Default list templates are not shown.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_lt","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"f5309916-4e11-4d85-8fa7-f519ef187c25","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-09-18T23:47:11Z","LastItemUserModifiedDate":"2021-09-18T23:47:11Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_ltItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"List Template Gallery"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0')/WorkflowAssociations"}},"AllowContentTypes":false,"BaseTemplate":175,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-31T22:28:06Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Library of Site Collection Maintenance Logs","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_MaintenanceLogs","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"6d1b543a-7c07-4d0c-9b9d-e8c647fc2aa0","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-10-31T22:28:06Z","LastItemModifiedDate":"2021-10-31T22:28:06Z","LastItemUserModifiedDate":"2021-10-31T22:28:06Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_MaintenanceLogsItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"8c6f9096-388d-4eed-96ff-698b3ec46fc4","Title":"Maintenance Log Library"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')","etag":"\"12\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'1008e3c1-05c5-442f-9944-af168298d1e2')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":116,"BaseType":1,"ContentTypesEnabled":true,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:10Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;1008e3c1-05c5-442f-9944-af168298d1e2;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use the master page gallery to store master pages. The master pages in this gallery are available to this site and any sites underneath it.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"OData__x005f_catalogs_x002f_masterpage","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"1008e3c1-05c5-442f-9944-af168298d1e2","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":true,"IsCatalog":true,"IsPrivate":false,"ItemCount":175,"LastItemDeletedDate":"2021-09-18T23:47:10Z","LastItemModifiedDate":"2021-10-06T14:11:00Z","LastItemUserModifiedDate":"2021-10-06T14:11:00Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_masterpageItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Master Page Gallery"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')","etag":"\"4\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'4adb6ea4-2f95-475e-a8f2-db115124782c')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-06T14:10:56Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;4adb6ea4-2f95-475e-a8f2-db115124782c;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use this library to store files which are included on pages within this site, such as images on Wiki pages.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/SiteAssets/Forms/template.doc","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"SiteAssets","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"4adb6ea4-2f95-475e-a8f2-db115124782c","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":true,"IsCatalog":false,"IsPrivate":false,"ItemCount":3,"LastItemDeletedDate":"2021-10-06T14:10:56Z","LastItemModifiedDate":"2021-10-28T11:09:00Z","LastItemUserModifiedDate":"2021-10-06T14:10:56Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.SiteAssetsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Site Assets"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')","etag":"\"29\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'e16f7fcf-2716-4b9b-8753-38381bd231b9')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":119,"BaseType":1,"ContentTypesEnabled":true,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:17Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;e16f7fcf-2716-4b9b-8753-38381bd231b9;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":1,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":true,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"SitePages","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"e16f7fcf-2716-4b9b-8753-38381bd231b9","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":true,"IsCatalog":false,"IsPrivate":false,"ItemCount":6,"LastItemDeletedDate":"2021-09-18T23:47:17Z","LastItemModifiedDate":"2021-11-15T08:55:58Z","LastItemUserModifiedDate":"2021-11-15T08:55:58Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.SitePagesItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-c796-4402-9f2f-0eb9a6e71b18","Title":"Site Pages"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'd3ed7405-39ea-4db9-8ebb-d3898be2a64c')/WorkflowAssociations"}},"AllowContentTypes":false,"BaseTemplate":121,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:10Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;d3ed7405-39ea-4db9-8ebb-d3898be2a64c;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use the Solution Gallery to track user solutions.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_solutions","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"d3ed7405-39ea-4db9-8ebb-d3898be2a64c","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":true,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:10Z","LastItemModifiedDate":"2021-09-18T23:47:10Z","LastItemUserModifiedDate":"2021-09-18T23:47:10Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_solutionsItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Solution Gallery"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use the style library to store style sheets, such as CSS or XSL files. The style sheets in this gallery can be used by this site or any of its subsites.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Style_x0020_Library","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"ce11ffe4-aea3-4c7f-bf06-9daa70de8bc3","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-09-18T23:47:11Z","LastItemUserModifiedDate":"2021-09-18T23:47:11Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.Style_x0020_LibraryItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Style Library"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')","etag":"\"111\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'18b8ea7b-a07e-43b4-9aa0-f92701ea4c02')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":100,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-10-06T14:10:42Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;18b8ea7b-a07e-43b4-9aa0-f92701ea4c02;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"The description for the hidden list for the taxonomy feature.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"TaxonomyHiddenListList","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"18b8ea7b-a07e-43b4-9aa0-f92701ea4c02","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.gif?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.gif?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-10-06T14:10:42Z","LastItemModifiedDate":"2021-10-06T14:10:45Z","LastItemUserModifiedDate":"2021-10-06T14:10:42Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.TaxonomyHiddenListListItem","MajorVersionLimit":50,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-de22-43b2-a848-c05709900100","Title":"TaxonomyHiddenList"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'83bf3de6-360b-4936-a868-5746397ddead')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":123,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;83bf3de6-360b-4936-a868-5746397ddead;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use the theme gallery to store themes. The themes in this gallery can be used by this site or any of its subsites.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_theme","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"83bf3de6-360b-4936-a868-5746397ddead","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":41,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-09-18T23:47:15Z","LastItemUserModifiedDate":"2021-09-18T23:47:15Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_themeItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Theme Gallery"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList","etag":"\"46\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/SiteUserInfoList/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":112,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:10Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;13b71288-c124-4761-806a-4c1aa3403886;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"All people.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"UserInfo","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"13b71288-c124-4761-806a-4c1aa3403886","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/users.gif?rev=47"},"ImageUrl":"/_layouts/15/images/users.gif?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":12,"LastItemDeletedDate":"2021-09-18T23:47:10Z","LastItemModifiedDate":"2021-11-08T10:39:20Z","LastItemUserModifiedDate":"2021-09-18T23:47:10Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.UserInfoItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"User Information List"},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')","etag":"\"0\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'29976032-5bb3-4aa2-861b-5a835a480464')/WorkflowAssociations"}},"AllowContentTypes":false,"BaseTemplate":113,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:11Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;29976032-5bb3-4aa2-861b-5a835a480464;637726067819000000;383866621"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"Use this Web Part Gallery to store and retrieve Web Parts. The Web Parts in this gallery are available to this site and all sites under it. To preview a Web Part, click its title.","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":false,"EntityTypeName":"OData__x005f_catalogs_x002f_wp","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":true,"Id":"29976032-5bb3-4aa2-861b-5a835a480464","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":true,"IsPrivate":false,"ItemCount":23,"LastItemDeletedDate":"2021-09-18T23:47:11Z","LastItemModifiedDate":"2021-10-06T14:10:47Z","LastItemUserModifiedDate":"2021-10-06T14:10:47Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.OData__x005f_catalogs_x002f_wpItem","MajorVersionLimit":0,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":true,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":false,"TemplateFeatureId":"00000000-0000-0000-0000-000000000000","Title":"Web Part Gallery"}]},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Title":"PnP Microsoft 365 library test with group"}} +--batchresponse_31d64cbc-472a-4cce-8824-805c298043cd-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00001.response new file mode 100644 index 0000000000..d533ffae99 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_d15edd56-2f90-46f7-9c7f-0fdce567ba17 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_d15edd56-2f90-46f7-9c7f-0fdce567ba17-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00002.response new file mode 100644 index 0000000000..dcbfb9f75f --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetAllWebhooksTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_a5a65037-837f-4200-bd34-dcc258261575 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Subscriptions":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription280419fb-1995-437b-b6db-f7cfc3a7b21e","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription280419fb-1995-437b-b6db-f7cfc3a7b21e","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"system-managed:8082D436-D8DA-458D-96AD-34C902B73F37","expirationDateTime":"2021-11-15T18:10:42.7494102Z","id":"e6a271eb-3e82-4a76-923e-05aeaec32205","notificationUrl":"https://westeurope0.pushnp.svc.ms/notifications?token=338bd444-f930-4dbf-989b-961b00d40d4a","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription116c7460-e86e-48ae-b404-a7500210c761","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription116c7460-e86e-48ae-b404-a7500210c761","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription8684fe78-2b4e-4649-ab44-1c3151b2a786","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription8684fe78-2b4e-4649-ab44-1c3151b2a786","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription80bf3d04-f620-4bac-9490-b316214dc4a8","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription80bf3d04-f620-4bac-9490-b316214dc4a8","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription3cd4e8a3-063c-4e09-8fd3-104cc790ce49","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription3cd4e8a3-063c-4e09-8fd3-104cc790ce49","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription7e5a8155-6844-40ec-b1f6-148dbd1eae0c","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription7e5a8155-6844-40ec-b1f6-148dbd1eae0c","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-16T17:34:10.5318014Z","id":"9ec660b8-fe03-4709-91d1-83e5109f41a7","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_a5a65037-837f-4200-bd34-dcc258261575-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00001.response new file mode 100644 index 0000000000..9374629ffc --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_189f6205-2cca-48bb-b2b7-65e60ed8a071 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_189f6205-2cca-48bb-b2b7-65e60ed8a071-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00002.response new file mode 100644 index 0000000000..d7bffa9af9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_3c3b07e3-83c0-4af1-b049-a5407f7f4304 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Views":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'925fc271-1090-403d-98f8-99800008762a')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'925fc271-1090-403d-98f8-99800008762a')","type":"SP.View"},"ViewFields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'925fc271-1090-403d-98f8-99800008762a')/ViewFields"}},"Aggregations":null,"AggregationsStatus":null,"AssociatedContentTypeId":null,"BaseViewId":"9","CalendarViewStyles":null,"ColumnWidth":null,"ContentTypeId":{"__metadata":{"type":"SP.ContentTypeId"},"StringValue":"0x"},"CustomFormatter":null,"CustomOrder":null,"DefaultView":false,"DefaultViewForContentType":false,"EditorModified":false,"Formats":null,"GridLayout":null,"Hidden":true,"HtmlSchemaXml":"","Id":"925fc271-1090-403d-98f8-99800008762a","ImageUrl":"/_layouts/15/images/dlicon.png?rev=47","IncludeRootFolder":false,"ViewJoins":null,"JSLink":null,"ListViewXml":"","Method":null,"MobileDefaultView":false,"MobileView":false,"ModerationType":null,"NewDocumentTemplates":null,"OrderedView":false,"Paged":true,"PersonalView":false,"ViewProjectedFields":null,"ViewQuery":"1","ReadOnlyView":false,"RequiresClientIntegration":false,"RowLimit":30,"Scope":0,"ServerRelativePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/repair.aspx"},"ServerRelativeUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/repair.aspx","StyleId":null,"TabularView":false,"Threaded":false,"Title":"Relink Documents","Toolbar":"","ToolbarTemplateName":"RelinkToolBar","ViewType":"HTML","ViewData":null,"ViewType2":null,"VisualizationInfo":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'36a145b4-72aa-4f6a-bddf-3e62b3a604b6')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'36a145b4-72aa-4f6a-bddf-3e62b3a604b6')","type":"SP.View"},"ViewFields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'36a145b4-72aa-4f6a-bddf-3e62b3a604b6')/ViewFields"}},"Aggregations":null,"AggregationsStatus":null,"AssociatedContentTypeId":null,"BaseViewId":"40","CalendarViewStyles":null,"ColumnWidth":null,"ContentTypeId":{"__metadata":{"type":"SP.ContentTypeId"},"StringValue":"0x"},"CustomFormatter":null,"CustomOrder":null,"DefaultView":false,"DefaultViewForContentType":false,"EditorModified":false,"Formats":null,"GridLayout":null,"Hidden":true,"HtmlSchemaXml":"","Id":"36a145b4-72aa-4f6a-bddf-3e62b3a604b6","ImageUrl":"/_layouts/15/images/dlicon.png?rev=47","IncludeRootFolder":false,"ViewJoins":null,"JSLink":null,"ListViewXml":"","Method":null,"MobileDefaultView":false,"MobileView":false,"ModerationType":null,"NewDocumentTemplates":null,"OrderedView":false,"Paged":false,"PersonalView":false,"ViewProjectedFields":null,"ViewQuery":"","ReadOnlyView":false,"RequiresClientIntegration":false,"RowLimit":20,"Scope":0,"ServerRelativePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/Thumbnails.aspx"},"ServerRelativeUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/Thumbnails.aspx","StyleId":null,"TabularView":true,"Threaded":false,"Title":"assetLibTemp","Toolbar":null,"ToolbarTemplateName":null,"ViewType":"HTML","ViewData":null,"ViewType2":null,"VisualizationInfo":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'ff83e292-cd39-40ab-8d0f-1123bdc9e1dd')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'ff83e292-cd39-40ab-8d0f-1123bdc9e1dd')","type":"SP.View"},"ViewFields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'ff83e292-cd39-40ab-8d0f-1123bdc9e1dd')/ViewFields"}},"Aggregations":null,"AggregationsStatus":null,"AssociatedContentTypeId":null,"BaseViewId":"7","CalendarViewStyles":null,"ColumnWidth":null,"ContentTypeId":{"__metadata":{"type":"SP.ContentTypeId"},"StringValue":"0x"},"CustomFormatter":null,"CustomOrder":null,"DefaultView":false,"DefaultViewForContentType":false,"EditorModified":false,"Formats":null,"GridLayout":null,"Hidden":true,"HtmlSchemaXml":"","Id":"ff83e292-cd39-40ab-8d0f-1123bdc9e1dd","ImageUrl":"/_layouts/15/images/dlicon.png?rev=47","IncludeRootFolder":false,"ViewJoins":null,"JSLink":"clienttemplates.js","ListViewXml":"","Method":null,"MobileDefaultView":false,"MobileView":false,"ModerationType":null,"NewDocumentTemplates":null,"OrderedView":false,"Paged":true,"PersonalView":false,"ViewProjectedFields":null,"ViewQuery":"","ReadOnlyView":false,"RequiresClientIntegration":false,"RowLimit":30,"Scope":0,"ServerRelativePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/Combine.aspx"},"ServerRelativeUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/Combine.aspx","StyleId":null,"TabularView":false,"Threaded":false,"Title":"Merge Documents","Toolbar":"","ToolbarTemplateName":"MergeToolBar","ViewType":"HTML","ViewData":null,"ViewType2":null,"VisualizationInfo":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'fd9b0d40-6d6c-43f0-9ac1-32ebfb4dffbf')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'fd9b0d40-6d6c-43f0-9ac1-32ebfb4dffbf')","type":"SP.View"},"ViewFields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'fd9b0d40-6d6c-43f0-9ac1-32ebfb4dffbf')/ViewFields"}},"Aggregations":null,"AggregationsStatus":null,"AssociatedContentTypeId":null,"BaseViewId":"1","CalendarViewStyles":null,"ColumnWidth":null,"ContentTypeId":{"__metadata":{"type":"SP.ContentTypeId"},"StringValue":"0x"},"CustomFormatter":null,"CustomOrder":null,"DefaultView":true,"DefaultViewForContentType":false,"EditorModified":false,"Formats":null,"GridLayout":null,"Hidden":false,"HtmlSchemaXml":"main.xslclienttemplates.js30","Id":"fd9b0d40-6d6c-43f0-9ac1-32ebfb4dffbf","ImageUrl":"/_layouts/15/images/dlicon.png?rev=47","IncludeRootFolder":false,"ViewJoins":null,"JSLink":"clienttemplates.js","ListViewXml":"30clienttemplates.jsmain.xsl","Method":null,"MobileDefaultView":true,"MobileView":true,"ModerationType":null,"NewDocumentTemplates":null,"OrderedView":false,"Paged":true,"PersonalView":false,"ViewProjectedFields":null,"ViewQuery":"","ReadOnlyView":false,"RequiresClientIntegration":false,"RowLimit":30,"Scope":0,"ServerRelativePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/AllItems.aspx"},"ServerRelativeUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/AllItems.aspx","StyleId":null,"TabularView":true,"Threaded":false,"Title":"All Documents","Toolbar":"","ToolbarTemplateName":null,"ViewType":"HTML","ViewData":null,"ViewType2":null,"VisualizationInfo":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'83e07c9a-27ab-44ab-a290-1444672e5f01')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'83e07c9a-27ab-44ab-a290-1444672e5f01')","type":"SP.View"},"ViewFields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'83e07c9a-27ab-44ab-a290-1444672e5f01')/ViewFields"}},"Aggregations":null,"AggregationsStatus":null,"AssociatedContentTypeId":null,"BaseViewId":"1","CalendarViewStyles":null,"ColumnWidth":null,"ContentTypeId":{"__metadata":{"type":"SP.ContentTypeId"},"StringValue":"0x"},"CustomFormatter":null,"CustomOrder":null,"DefaultView":false,"DefaultViewForContentType":false,"EditorModified":false,"Formats":null,"GridLayout":null,"Hidden":false,"HtmlSchemaXml":"NONE30main.xslclienttemplates.js","Id":"83e07c9a-27ab-44ab-a290-1444672e5f01","ImageUrl":"/_layouts/15/images/dlicon.png?rev=47","IncludeRootFolder":false,"ViewJoins":null,"JSLink":"clienttemplates.js","ListViewXml":"30clienttemplates.jsmain.xslNONE","Method":null,"MobileDefaultView":false,"MobileView":false,"ModerationType":null,"NewDocumentTemplates":null,"OrderedView":false,"Paged":false,"PersonalView":false,"ViewProjectedFields":null,"ViewQuery":"","ReadOnlyView":false,"RequiresClientIntegration":false,"RowLimit":30,"Scope":0,"ServerRelativePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/Test1.aspx"},"ServerRelativeUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/Test1.aspx","StyleId":null,"TabularView":true,"Threaded":false,"Title":"Test12","Toolbar":"","ToolbarTemplateName":null,"ViewType":"HTML","ViewData":null,"ViewType2":"NONE","VisualizationInfo":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'db29f658-cf8b-4d14-981a-bc1966352edd')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'db29f658-cf8b-4d14-981a-bc1966352edd')","type":"SP.View"},"ViewFields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views(guid'db29f658-cf8b-4d14-981a-bc1966352edd')/ViewFields"}},"Aggregations":null,"AggregationsStatus":null,"AssociatedContentTypeId":null,"BaseViewId":"1","CalendarViewStyles":null,"ColumnWidth":null,"ContentTypeId":{"__metadata":{"type":"SP.ContentTypeId"},"StringValue":"0x"},"CustomFormatter":null,"CustomOrder":null,"DefaultView":false,"DefaultViewForContentType":false,"EditorModified":false,"Formats":null,"GridLayout":null,"Hidden":false,"HtmlSchemaXml":"NONE30main.xslclienttemplates.js","Id":"db29f658-cf8b-4d14-981a-bc1966352edd","ImageUrl":"/_layouts/15/images/dlicon.png?rev=47","IncludeRootFolder":false,"ViewJoins":null,"JSLink":"clienttemplates.js","ListViewXml":"30clienttemplates.jsmain.xslNONE","Method":null,"MobileDefaultView":false,"MobileView":false,"ModerationType":null,"NewDocumentTemplates":null,"OrderedView":false,"Paged":false,"PersonalView":false,"ViewProjectedFields":null,"ViewQuery":"","ReadOnlyView":false,"RequiresClientIntegration":false,"RowLimit":30,"Scope":0,"ServerRelativePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/Test2.aspx"},"ServerRelativeUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/Test2.aspx","StyleId":null,"TabularView":true,"Threaded":false,"Title":"Test2","Toolbar":"","ToolbarTemplateName":null,"ViewType":"HTML","ViewData":null,"ViewType2":"NONE","VisualizationInfo":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_3c3b07e3-83c0-4af1-b049-a5407f7f4304-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00003.response new file mode 100644 index 0000000000..de7bf386c6 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_e03d5c2c-dbfc-4c2d-b533-86916ef23a98 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T23:09:59.3581039Z","id":"b0c9ec25-ca31-44d7-90ee-a7441072809d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_e03d5c2c-dbfc-4c2d-b533-86916ef23a98-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00004.response new file mode 100644 index 0000000000..c009102b10 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/GetWebhookByIdTest-0-00004.response @@ -0,0 +1,9 @@ +--batchresponse_58aad992-8755-4190-99c3-87cfb53df0a3 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'b0c9ec25-ca31-44d7-90ee-a7441072809d')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'b0c9ec25-ca31-44d7-90ee-a7441072809d')","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:52:00.0926508Z","id":"b0c9ec25-ca31-44d7-90ee-a7441072809d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_58aad992-8755-4190-99c3-87cfb53df0a3-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00001.response new file mode 100644 index 0000000000..e3b6b0fcbb --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_c2e6b773-36d8-46a9-89a3-2e80352b3415 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_c2e6b773-36d8-46a9-89a3-2e80352b3415-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00002.response new file mode 100644 index 0000000000..f2fb74e3c8 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_a53dbd1a-f8eb-4788-a4af-4ec0babe1715 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726101712900000;383872863"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_a53dbd1a-f8eb-4788-a4af-4ec0babe1715-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00003.response new file mode 100644 index 0000000000..ba867dcc4e --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_4e471cc6-bc89-4bb3-b8b4-89847b27cbfb +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T21:56:11.9350265Z","id":"0d55d0cb-aeac-4fb1-81c1-a9fe2537dfa1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_4e471cc6-bc89-4bb3-b8b4-89847b27cbfb-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00004.response new file mode 100644 index 0000000000..7534660322 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00004.response @@ -0,0 +1,10 @@ +--batchresponse_87ae77cd-839f-44e7-b460-59c92b448ee7 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Subscriptions":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription9cda73c3-620b-4a0d-9267-2c385fbe9118","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription9cda73c3-620b-4a0d-9267-2c385fbe9118","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"system-managed:8082D436-D8DA-458D-96AD-34C902B73F37","expirationDateTime":"2021-11-15T18:10:42.7494102Z","id":"e6a271eb-3e82-4a76-923e-05aeaec32205","notificationUrl":"https://westeurope0.pushnp.svc.ms/notifications?token=338bd444-f930-4dbf-989b-961b00d40d4a","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionb3aaba34-198e-42b6-ad2a-67062a2ffce4","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionb3aaba34-198e-42b6-ad2a-67062a2ffce4","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2424882a-0d48-4465-b2f9-630e8d58eb68","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2424882a-0d48-4465-b2f9-630e8d58eb68","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription380bbb80-c876-4c99-af27-7d64aeff295b","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription380bbb80-c876-4c99-af27-7d64aeff295b","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription636620b5-6c75-4ef4-94b7-fdb2ad7c9334","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription636620b5-6c75-4ef4-94b7-fdb2ad7c9334","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription806353f8-6e86-4f45-b725-83d742165edd","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription806353f8-6e86-4f45-b725-83d742165edd","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T21:56:11.9350265Z","id":"0d55d0cb-aeac-4fb1-81c1-a9fe2537dfa1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_87ae77cd-839f-44e7-b460-59c92b448ee7-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00005.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00005.response new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00006.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00006.response new file mode 100644 index 0000000000..811c746b47 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/RemoveWebhookTest-0-00006.response @@ -0,0 +1,10 @@ +--batchresponse_32c2d011-1c9d-4ffb-9a03-7a18a993e39d +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Subscriptions":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription02989c8a-57e5-437b-b043-016b9b5cf0e1","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription02989c8a-57e5-437b-b043-016b9b5cf0e1","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"system-managed:8082D436-D8DA-458D-96AD-34C902B73F37","expirationDateTime":"2021-11-15T18:10:42.7494102Z","id":"e6a271eb-3e82-4a76-923e-05aeaec32205","notificationUrl":"https://westeurope0.pushnp.svc.ms/notifications?token=338bd444-f930-4dbf-989b-961b00d40d4a","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription782a63e4-7d2d-4650-8fce-4cdb4e7bff27","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription782a63e4-7d2d-4650-8fce-4cdb4e7bff27","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription351f1d67-7fbb-42d7-9f14-ad19b89a9083","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription351f1d67-7fbb-42d7-9f14-ad19b89a9083","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription03b1ae13-94ae-4c0b-bf7c-2308a6b5239f","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription03b1ae13-94ae-4c0b-bf7c-2308a6b5239f","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription63aec82e-70ec-415d-8d3a-11c4f973e259","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription63aec82e-70ec-415d-8d3a-11c4f973e259","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_32c2d011-1c9d-4ffb-9a03-7a18a993e39d-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00001.response new file mode 100644 index 0000000000..0502abd037 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_1b346985-9739-49d9-95ad-f1f227aa162d +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_1b346985-9739-49d9-95ad-f1f227aa162d-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00002.response new file mode 100644 index 0000000000..74a3f95ea5 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_fb17f51a-a4e6-4c11-8745-e41b6db9b467 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726134488300000;383878268"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_fb17f51a-a4e6-4c11-8745-e41b6db9b467-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00003.response new file mode 100644 index 0000000000..15d4bbbe79 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_bb4fbb12-5617-47d7-ae88-53933635bea8 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:50:55.1686267Z","id":"df172049-22a0-42b2-8a72-242177ea6c6e","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_bb4fbb12-5617-47d7-ae88-53933635bea8-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00004.response new file mode 100644 index 0000000000..d31ecd04d4 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00004.response @@ -0,0 +1,9 @@ +--batchresponse_d267b84c-4017-4112-bb88-0741d037ee0a +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 204 No Content +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + + +--batchresponse_d267b84c-4017-4112-bb88-0741d037ee0a-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00005.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00005.response new file mode 100644 index 0000000000..f452593ebe --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/UpdateWebhookUrlTest-0-00005.response @@ -0,0 +1,9 @@ +--batchresponse_c39824df-242c-44d5-baa2-cac66bb46af1 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'df172049-22a0-42b2-8a72-242177ea6c6e')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'df172049-22a0-42b2-8a72-242177ea6c6e')","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:50:55.1686267Z","id":"df172049-22a0-42b2-8a72-242177ea6c6e","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_c39824df-242c-44d5-baa2-cac66bb46af1-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00001.response new file mode 100644 index 0000000000..3e13039c0f --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_dd624ea8-4096-4d4c-b118-0d1cc3a8f409 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_dd624ea8-4096-4d4c-b118-0d1cc3a8f409-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00002.response new file mode 100644 index 0000000000..0cc70641c2 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookArgumentOutOfRangeTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_89645d92-da25-40d2-ac30-586e0334e006 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726551487730000;383980443"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_89645d92-da25-40d2-ac30-586e0334e006-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00001.response new file mode 100644 index 0000000000..b359582681 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_da875580-421d-43cd-8d3c-3a656da85d7a +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_da875580-421d-43cd-8d3c-3a656da85d7a-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00002.response new file mode 100644 index 0000000000..66ede673bc --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListTests/WebhookNotificationNullExceptionTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_bc4ed6c4-bdc4-42ce-a8dc-f278a87fb0b8 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726553749600000;383980897"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_bc4ed6c4-bdc4-42ce-a8dc-f278a87fb0b8-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00001.response new file mode 100644 index 0000000000..4a9610b102 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_c3f2a08d-14f4-4765-b728-910f8a452d98 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_c3f2a08d-14f4-4765-b728-910f8a452d98-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00002.response new file mode 100644 index 0000000000..129c467068 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00002.response @@ -0,0 +1,9 @@ +--batchresponse_7c826d0c-4a51-47c6-8c7d-af7fba5e7b2e +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')","etag":"\"1\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'af6b9820-022c-4818-ad46-62a82e320e3c')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":100,"BaseType":0,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-11-16T11:09:30Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;af6b9820-022c-4818-ad46-62a82e320e3c;637726577711300000;383984417"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":null,"DraftVersionVisibility":0,"EnableAttachments":true,"EnableFolderCreation":false,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"WebhooksTestList","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"af6b9820-022c-4818-ad46-62a82e320e3c","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itgen.png?rev=47"},"ImageUrl":"/_layouts/15/images/itgen.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":0,"LastItemDeletedDate":"2021-11-16T11:09:30Z","LastItemModifiedDate":"2021-11-16T11:09:31Z","LastItemUserModifiedDate":"2021-11-16T11:09:30Z","ListExperienceOptions":0,"ListItemEntityTypeFullName":"SP.Data.WebhooksTestListItem","MajorVersionLimit":50,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-de22-43b2-a848-c05709900100","Title":"WebhooksTest"}]}} +--batchresponse_7c826d0c-4a51-47c6-8c7d-af7fba5e7b2e-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00003.response new file mode 100644 index 0000000000..73070e4d53 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/Cleanup-0-00003.response @@ -0,0 +1,9 @@ +--batchresponse_c544de11-b21e-471f-abe4-a204763596cd +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + + +--batchresponse_c544de11-b21e-471f-abe4-a204763596cd-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00001.response new file mode 100644 index 0000000000..a72a3c31fb --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_a1007583-087e-4065-86d4-4152d6b2000a +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_a1007583-087e-4065-86d4-4152d6b2000a-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00002.response new file mode 100644 index 0000000000..53c753b905 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_00ecadac-3669-4f4c-a771-560fcd88fdce +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827746500000;384087624"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_00ecadac-3669-4f4c-a771-560fcd88fdce-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00003.response new file mode 100644 index 0000000000..abcba1211d --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookCustomBatchTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_565d25cb-d808-4f31-9167-059d6fc2528b +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T18:06:14.4763568Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_565d25cb-d808-4f31-9167-059d6fc2528b-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00001.response new file mode 100644 index 0000000000..2976f441a1 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_3fa5a063-5bc4-44ad-8e84-225c8e327b0d +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_3fa5a063-5bc4-44ad-8e84-225c8e327b0d-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00002.response new file mode 100644 index 0000000000..368eb189dc --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_5dea35e8-5d2a-4fb5-b170-a30cce62e574 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827762230000;384087628"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_5dea35e8-5d2a-4fb5-b170-a30cce62e574-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00003.response new file mode 100644 index 0000000000..f1cd3cd5b0 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookDefaultBatchTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_e4c12db5-4734-4ca7-9da1-d1cea28c731d +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T18:06:15.8275454Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_e4c12db5-4734-4ca7-9da1-d1cea28c731d-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00001.response new file mode 100644 index 0000000000..8606870509 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_3bf58c48-e094-4261-9673-9627a91974b9 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_3bf58c48-e094-4261-9673-9627a91974b9-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00002.response new file mode 100644 index 0000000000..61f32885d2 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_c3f5e009-1d3b-493f-a72f-065034b1d178 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827774800000;384087631"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_c3f5e009-1d3b-493f-a72f-065034b1d178-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00003.response new file mode 100644 index 0000000000..d931b943eb --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_f156c6d8-292c-4cc8-b6a0-bb095d0e31c8 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T18:06:17.2068975Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_f156c6d8-292c-4cc8-b6a0-bb095d0e31c8-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00004.response new file mode 100644 index 0000000000..d545443f68 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookTest-0-00004.response @@ -0,0 +1,10 @@ +--batchresponse_25b38b59-c56f-4081-857a-d5c2327da525 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T11:09:31.7482001Z","id":"b0c9ec25-ca31-44d7-90ee-a7441072809d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_25b38b59-c56f-4081-857a-d5c2327da525-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00001.response new file mode 100644 index 0000000000..76128abd57 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_40f16c7a-ff6e-4caa-afaf-66be322cdc89 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_40f16c7a-ff6e-4caa-afaf-66be322cdc89-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00002.response new file mode 100644 index 0000000000..766bbb94a8 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_9bf73317-534f-41d5-861f-c32477c8131c +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827789700000;384087632"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_9bf73317-534f-41d5-861f-c32477c8131c-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00003.response new file mode 100644 index 0000000000..be18f89724 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsBatchTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_a170dae3-0577-47e0-bc00-be9209a08fc0 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-12-16T18:06:18.5455139Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_a170dae3-0577-47e0-bc00-be9209a08fc0-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00001.response new file mode 100644 index 0000000000..67c18fe4df --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_519b7ed6-d8ee-42ad-b063-9e5910cdc7a7 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_519b7ed6-d8ee-42ad-b063-9e5910cdc7a7-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00002.response new file mode 100644 index 0000000000..f3f33652f0 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_de6cada3-6e94-426f-be80-354aae20639a +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827800900000;384087634"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_de6cada3-6e94-426f-be80-354aae20639a-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00003.response new file mode 100644 index 0000000000..9a32c55e4f --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsDefaultBatchTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_fcd43630-b6c7-49fa-bfa9-87ca015eff63 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-12-16T18:06:19.9142718Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_fcd43630-b6c7-49fa-bfa9-87ca015eff63-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00001.response new file mode 100644 index 0000000000..d8009b3195 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_ce55bb24-8bae-4082-9aa2-882e83d1bd0b +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_ce55bb24-8bae-4082-9aa2-882e83d1bd0b-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00002.response new file mode 100644 index 0000000000..dd5e18b54f --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_5df8cec3-fec4-44f1-8576-4c2c6029994c +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827805300000;384087635"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_5df8cec3-fec4-44f1-8576-4c2c6029994c-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00003.response new file mode 100644 index 0000000000..5bd14b493e --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithMonthsTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_31509bef-64eb-44f7-82ce-72b9d3862c3b +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-12-16T18:06:21.3119381Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_31509bef-64eb-44f7-82ce-72b9d3862c3b-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00001.response new file mode 100644 index 0000000000..85b5ecd891 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_88f9c2e2-59e4-46d1-bdb6-a26ae6ffdd22 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_88f9c2e2-59e4-46d1-bdb6-a26ae6ffdd22-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00002.response new file mode 100644 index 0000000000..174fcfba36 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_c5c3e6c3-6b12-4df0-8b68-e9c7196fdacd +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827829970000;384087636"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_c5c3e6c3-6b12-4df0-8b68-e9c7196fdacd-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00003.response new file mode 100644 index 0000000000..dca859827d --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/CreateNewWebhookWithoutstateTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_95e78c2a-bf56-44a3-8575-7769626753ad +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T18:06:22.698061Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_95e78c2a-bf56-44a3-8575-7769626753ad-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00001.response new file mode 100644 index 0000000000..560d8fa5c4 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_2c99b723-9990-4262-847e-f2a06b63aea7 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_2c99b723-9990-4262-847e-f2a06b63aea7-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00002.response new file mode 100644 index 0000000000..278f6e4d62 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_5684ace2-e6bb-450f-b3b2-f983c26cc454 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827833630000;384087637"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_5684ace2-e6bb-450f-b3b2-f983c26cc454-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00003.response new file mode 100644 index 0000000000..2d118ea0b7 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadListTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_9a0b2377-3f8e-4ce9-92fd-9a71bce90abb +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Subscriptions":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionba4c826d-32d6-43ab-9dd6-865ae34db07b","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionba4c826d-32d6-43ab-9dd6-865ae34db07b","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"system-managed:8082D436-D8DA-458D-96AD-34C902B73F37","expirationDateTime":"2021-11-16T01:55:56.3957111Z","id":"e6a271eb-3e82-4a76-923e-05aeaec32205","notificationUrl":"https://westeurope0.pushnp.svc.ms/notifications?token=1087cadc-21e6-4ff9-b625-df7e781f6d25","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona29b5fb1-5696-4999-80e6-77495fad047a","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona29b5fb1-5696-4999-80e6-77495fad047a","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription1baf9dab-8698-41de-97ab-c251c531c9b9","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription1baf9dab-8698-41de-97ab-c251c531c9b9","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc8aa1879-8a41-433f-b881-d1108e9ad78f","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc8aa1879-8a41-433f-b881-d1108e9ad78f","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptione4f6404f-b6dd-449d-8c94-26e9fc862fc7","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptione4f6404f-b6dd-449d-8c94-26e9fc862fc7","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionaf2d51f9-58d4-4e2a-9655-0f8f40d414c5","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionaf2d51f9-58d4-4e2a-9655-0f8f40d414c5","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:00:32.1237463Z","id":"92964ed7-43fb-41c5-b92d-97dc9a9bd797","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription88f5792b-9f5e-4a60-afc5-1ebce35854e3","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription88f5792b-9f5e-4a60-afc5-1ebce35854e3","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:50:55.1686267Z","id":"df172049-22a0-42b2-8a72-242177ea6c6e","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionbeb4ea1a-765d-481d-94f6-6cb0a42ad245","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionbeb4ea1a-765d-481d-94f6-6cb0a42ad245","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T11:20:45.0729219Z","id":"2aafe175-f948-4bd0-9ca6-0cbcf8466b4d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription3ef92aa4-a063-412c-bb5a-d20a2abad859","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription3ef92aa4-a063-412c-bb5a-d20a2abad859","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T16:39:23.4525609Z","id":"4f21afc7-eeaf-4c04-848e-a75367b920ce","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2101695a-1712-4054-979f-a6eef0ae2c05","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2101695a-1712-4054-979f-a6eef0ae2c05","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:43:47.2933544Z","id":"7249fda1-ff51-4d22-ae84-6de4bd87a4fb","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription34dae469-b13c-4cdd-b055-83313bb94aa6","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription34dae469-b13c-4cdd-b055-83313bb94aa6","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:45:23.4582754Z","id":"c07baa2e-6e49-4363-8288-e9f53e07ec4b","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionadd8e5a5-a86f-4474-9fe1-324f7f7bbaae","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionadd8e5a5-a86f-4474-9fe1-324f7f7bbaae","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:40:34.9633527Z","id":"1146e8b9-8082-43ea-bcc0-a6e7b4f4e4a9","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2b4fefff-50f9-4291-995f-5729229a42cf","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2b4fefff-50f9-4291-995f-5729229a42cf","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:41:23.4657552Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_9a0b2377-3f8e-4ce9-92fd-9a71bce90abb-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00001.response new file mode 100644 index 0000000000..7abd927545 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_5d258a1e-e3b9-45f6-8b5a-743065267d0f +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_5d258a1e-e3b9-45f6-8b5a-743065267d0f-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00002.response new file mode 100644 index 0000000000..f374c4a883 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_433307a0-a4b9-4534-bd3a-d0a5fd6a2339 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827853230000;384087639"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_433307a0-a4b9-4534-bd3a-d0a5fd6a2339-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00003.response new file mode 100644 index 0000000000..5bbf86185d --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksLoadTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_ee6f4392-57d7-45a6-ad7a-9e40fad045c4 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Subscriptions":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionbf951964-7f58-4c62-9134-cac806276d3c","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionbf951964-7f58-4c62-9134-cac806276d3c","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"system-managed:8082D436-D8DA-458D-96AD-34C902B73F37","expirationDateTime":"2021-11-16T01:55:56.3957111Z","id":"e6a271eb-3e82-4a76-923e-05aeaec32205","notificationUrl":"https://westeurope0.pushnp.svc.ms/notifications?token=1087cadc-21e6-4ff9-b625-df7e781f6d25","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription35245dc1-db0c-4da3-bc3d-5505b3773cd3","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription35245dc1-db0c-4da3-bc3d-5505b3773cd3","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription787db28c-9a0a-4388-add9-90b87e42c8ff","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription787db28c-9a0a-4388-add9-90b87e42c8ff","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription8a1f101e-2a01-4b8c-8895-dd5e4e7e093a","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription8a1f101e-2a01-4b8c-8895-dd5e4e7e093a","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiond11d1c34-922e-41d1-8cc5-1c4506292223","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiond11d1c34-922e-41d1-8cc5-1c4506292223","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription45370bad-9962-4bf3-a3a8-653449ebc312","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription45370bad-9962-4bf3-a3a8-653449ebc312","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:00:32.1237463Z","id":"92964ed7-43fb-41c5-b92d-97dc9a9bd797","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription920a5982-85b5-4fa6-b6c2-f9e49d6ac151","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription920a5982-85b5-4fa6-b6c2-f9e49d6ac151","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:50:55.1686267Z","id":"df172049-22a0-42b2-8a72-242177ea6c6e","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription75d46fd3-677c-4807-b710-e48e14a4d112","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription75d46fd3-677c-4807-b710-e48e14a4d112","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T11:20:45.0729219Z","id":"2aafe175-f948-4bd0-9ca6-0cbcf8466b4d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription84d916eb-9650-41c2-871c-afbefec0adbf","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription84d916eb-9650-41c2-871c-afbefec0adbf","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T16:39:23.4525609Z","id":"4f21afc7-eeaf-4c04-848e-a75367b920ce","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription3f1862dd-0446-4f4d-8047-0e9e53a2944f","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription3f1862dd-0446-4f4d-8047-0e9e53a2944f","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:43:47.2933544Z","id":"7249fda1-ff51-4d22-ae84-6de4bd87a4fb","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription60eb9fe4-0a7b-4768-925a-90b368fd4d3a","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription60eb9fe4-0a7b-4768-925a-90b368fd4d3a","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:45:23.4582754Z","id":"c07baa2e-6e49-4363-8288-e9f53e07ec4b","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptioncd117757-b5d9-4704-8cbb-18fb17839b83","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptioncd117757-b5d9-4704-8cbb-18fb17839b83","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:40:34.9633527Z","id":"1146e8b9-8082-43ea-bcc0-a6e7b4f4e4a9","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription5024f894-cd46-4cdc-a7b3-3721a8409f9d","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription5024f894-cd46-4cdc-a7b3-3721a8409f9d","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:41:23.4657552Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_ee6f4392-57d7-45a6-ad7a-9e40fad045c4-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00001.response new file mode 100644 index 0000000000..86414df976 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_fa006230-1683-4e1c-aeae-22258c48ca1b +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_fa006230-1683-4e1c-aeae-22258c48ca1b-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00002.response new file mode 100644 index 0000000000..44cf342b5a --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetAllWebhooksTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_fa090187-cb95-460d-9a09-c481eee67dc4 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Subscriptions":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription8fd61c15-aead-4144-bb6a-ea201005405e","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription8fd61c15-aead-4144-bb6a-ea201005405e","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"system-managed:8082D436-D8DA-458D-96AD-34C902B73F37","expirationDateTime":"2021-11-16T01:55:56.3957111Z","id":"e6a271eb-3e82-4a76-923e-05aeaec32205","notificationUrl":"https://westeurope0.pushnp.svc.ms/notifications?token=1087cadc-21e6-4ff9-b625-df7e781f6d25","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription67c1d300-919c-4fe2-8edb-7d42eccdada1","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription67c1d300-919c-4fe2-8edb-7d42eccdada1","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona27a60c1-1320-4b77-ac2b-80ce9a0d18d9","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona27a60c1-1320-4b77-ac2b-80ce9a0d18d9","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionff55272b-03a7-4c98-b5be-3f030eb5cf16","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionff55272b-03a7-4c98-b5be-3f030eb5cf16","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptione86045fc-29b1-4154-8457-82de3a1639d1","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptione86045fc-29b1-4154-8457-82de3a1639d1","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription4fd3a550-770a-4172-abea-05d0601aac72","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription4fd3a550-770a-4172-abea-05d0601aac72","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:00:32.1237463Z","id":"92964ed7-43fb-41c5-b92d-97dc9a9bd797","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionad05aeaf-e038-4c3f-9be3-22e0f649d7e3","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionad05aeaf-e038-4c3f-9be3-22e0f649d7e3","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:50:55.1686267Z","id":"df172049-22a0-42b2-8a72-242177ea6c6e","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc18e325d-c558-413e-a050-bc87d32eece8","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc18e325d-c558-413e-a050-bc87d32eece8","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T11:20:45.0729219Z","id":"2aafe175-f948-4bd0-9ca6-0cbcf8466b4d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription36f20ff6-1e49-459d-9cdf-47c7ed0f45c0","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription36f20ff6-1e49-459d-9cdf-47c7ed0f45c0","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T16:39:23.4525609Z","id":"4f21afc7-eeaf-4c04-848e-a75367b920ce","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription69bc1576-aba4-426c-ad9c-714c63f24929","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription69bc1576-aba4-426c-ad9c-714c63f24929","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:43:47.2933544Z","id":"7249fda1-ff51-4d22-ae84-6de4bd87a4fb","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription75c7b651-d30f-4b22-8085-d15ac481a3d0","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription75c7b651-d30f-4b22-8085-d15ac481a3d0","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:45:23.4582754Z","id":"c07baa2e-6e49-4363-8288-e9f53e07ec4b","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona8cd7412-fb48-4a35-a433-ca541381c3e6","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona8cd7412-fb48-4a35-a433-ca541381c3e6","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:40:34.9633527Z","id":"1146e8b9-8082-43ea-bcc0-a6e7b4f4e4a9","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptioncb4b50f5-3ba9-41cb-aad1-1f2a99bf7a59","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptioncb4b50f5-3ba9-41cb-aad1-1f2a99bf7a59","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:41:23.4657552Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_fa090187-cb95-460d-9a09-c481eee67dc4-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00001.response new file mode 100644 index 0000000000..90c342381d --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_c85f7f9a-0c66-4c81-8600-a067ab10b370 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_c85f7f9a-0c66-4c81-8600-a067ab10b370-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00002.response new file mode 100644 index 0000000000..3436b2f011 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_49ad0ed1-c3a2-42e7-ae34-8cc2a7727927 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827853230000;384087639"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_49ad0ed1-c3a2-42e7-ae34-8cc2a7727927-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00003.response new file mode 100644 index 0000000000..f29dce0cdd --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_d78ac61f-755d-4c29-83e0-3beceb0112af +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T18:06:27.5320799Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_d78ac61f-755d-4c29-83e0-3beceb0112af-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00004.response new file mode 100644 index 0000000000..0f69ec3966 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByClientStateTest-0-00004.response @@ -0,0 +1,9 @@ +--batchresponse_72535706-d7bf-44d9-a6ec-24421684d249 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionee590afb-ae0f-4e1b-82e2-b68af3e07754","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionee590afb-ae0f-4e1b-82e2-b68af3e07754","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc3e53449-2066-4683-8fb6-8dbdb3fb7ce5","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc3e53449-2066-4683-8fb6-8dbdb3fb7ce5","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T16:39:23.4525609Z","id":"4f21afc7-eeaf-4c04-848e-a75367b920ce","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]}} +--batchresponse_72535706-d7bf-44d9-a6ec-24421684d249-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00001.response new file mode 100644 index 0000000000..4b059e27bb --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_2b7b49bb-1294-4ab4-802d-dec4713ce016 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_2b7b49bb-1294-4ab4-802d-dec4713ce016-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00002.response new file mode 100644 index 0000000000..e02977217f --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_32893ec4-e75e-4ec2-8763-f6c3bfcee109 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827896330000;384087643"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_32893ec4-e75e-4ec2-8763-f6c3bfcee109-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00003.response new file mode 100644 index 0000000000..ef85fa0c86 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_0c1e9e26-2b35-473b-819f-ec96f632f1cd +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T18:06:29.2342142Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_0c1e9e26-2b35-473b-819f-ec96f632f1cd-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00004.response new file mode 100644 index 0000000000..fd53c87eaa --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdLinqTest-0-00004.response @@ -0,0 +1,9 @@ +--batchresponse_634d1ed8-5420-4ab8-bdea-f610c67dc7b1 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription11636f21-e1cd-4a95-a05c-915258738434","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription11636f21-e1cd-4a95-a05c-915258738434","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:41:23.4657552Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]}} +--batchresponse_634d1ed8-5420-4ab8-bdea-f610c67dc7b1-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00001.response new file mode 100644 index 0000000000..5da23b71fb --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_38ac1f49-0208-47bd-8651-d7ea00a31c7e +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_38ac1f49-0208-47bd-8651-d7ea00a31c7e-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00002.response new file mode 100644 index 0000000000..535a311d08 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_570628f6-b91e-4ef8-9985-3e231cfe1dbb +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827896330000;384087643"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_570628f6-b91e-4ef8-9985-3e231cfe1dbb-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00003.response new file mode 100644 index 0000000000..0646c38da6 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_82bef7f6-12de-4ca1-9446-429c00adef47 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T18:06:30.8433984Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_82bef7f6-12de-4ca1-9446-429c00adef47-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00004.response new file mode 100644 index 0000000000..48f495ed7a --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByIdTest-0-00004.response @@ -0,0 +1,9 @@ +--batchresponse_ccd011f3-f948-45e7-90a3-78ce01802b7f +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'22fb8134-370a-4203-a2c6-3735a3ab0fa2')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'22fb8134-370a-4203-a2c6-3735a3ab0fa2')","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:41:23.4657552Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_ccd011f3-f948-45e7-90a3-78ce01802b7f-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00001.response new file mode 100644 index 0000000000..d5125bf2fb --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_18762546-7b09-4bc0-9f3b-d4149e59aec5 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_18762546-7b09-4bc0-9f3b-d4149e59aec5-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00002.response new file mode 100644 index 0000000000..8d6020a5a4 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_f76a778f-9428-44c0-b685-31bab4287e98 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827917770000;384087645"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_f76a778f-9428-44c0-b685-31bab4287e98-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00003.response new file mode 100644 index 0000000000..746b59013d --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_b95dba19-8926-42e8-95ae-03ebcc9f669a +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T18:06:32.6712662Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_b95dba19-8926-42e8-95ae-03ebcc9f669a-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00004.response new file mode 100644 index 0000000000..044b2418f4 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/GetWebhookByUrlTest-0-00004.response @@ -0,0 +1,9 @@ +--batchresponse_1b371fae-ae0d-4bd4-8d95-b57cde5c10c2 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription024fa4e7-ecd6-4552-beab-70d081678dfc","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription024fa4e7-ecd6-4552-beab-70d081678dfc","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription22ac3152-d4e5-4601-9264-d6ce773630cd","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription22ac3152-d4e5-4601-9264-d6ce773630cd","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription92d67f19-373d-4c96-b2ea-d286324cf31a","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription92d67f19-373d-4c96-b2ea-d286324cf31a","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona3af0ad4-0892-400b-ba5a-4a9161a4b5cf","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona3af0ad4-0892-400b-ba5a-4a9161a4b5cf","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc28ad2f8-42ba-4010-aebb-dbf33af1072d","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc28ad2f8-42ba-4010-aebb-dbf33af1072d","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:00:32.1237463Z","id":"92964ed7-43fb-41c5-b92d-97dc9a9bd797","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription342a18c4-1818-4e1b-af38-37cb0316dcef","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription342a18c4-1818-4e1b-af38-37cb0316dcef","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:50:55.1686267Z","id":"df172049-22a0-42b2-8a72-242177ea6c6e","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription0dbd3102-28eb-4b28-b728-d2b250b5abf0","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription0dbd3102-28eb-4b28-b728-d2b250b5abf0","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T11:20:45.0729219Z","id":"2aafe175-f948-4bd0-9ca6-0cbcf8466b4d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona75e69d3-9ea6-4540-84ad-abebc2ace258","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiona75e69d3-9ea6-4540-84ad-abebc2ace258","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T16:39:23.4525609Z","id":"4f21afc7-eeaf-4c04-848e-a75367b920ce","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc48f6bd3-dade-43fa-9649-eec81eed5b60","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionc48f6bd3-dade-43fa-9649-eec81eed5b60","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:43:47.2933544Z","id":"7249fda1-ff51-4d22-ae84-6de4bd87a4fb","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription342f0b4a-0000-4296-b6f2-c2be801b7af5","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription342f0b4a-0000-4296-b6f2-c2be801b7af5","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:45:23.4582754Z","id":"c07baa2e-6e49-4363-8288-e9f53e07ec4b","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription74906c40-011c-45b5-b1bb-22881af2eb27","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription74906c40-011c-45b5-b1bb-22881af2eb27","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:40:34.9633527Z","id":"1146e8b9-8082-43ea-bcc0-a6e7b4f4e4a9","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription76703f77-d33a-4a06-b40d-78d58bb0d1c6","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription76703f77-d33a-4a06-b40d-78d58bb0d1c6","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:41:23.4657552Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]}} +--batchresponse_1b371fae-ae0d-4bd4-8d95-b57cde5c10c2-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00001.response new file mode 100644 index 0000000000..32d6b59769 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_670a2a6d-810d-4919-93a8-946cfa537f78 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_670a2a6d-810d-4919-93a8-946cfa537f78-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00002.response new file mode 100644 index 0000000000..29916a1798 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_d664b259-c693-4276-85a6-049373a16893 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827917770000;384087645"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_d664b259-c693-4276-85a6-049373a16893-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00003.response new file mode 100644 index 0000000000..c1a278e2bd --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_07ecdae1-169d-4dfb-b742-6a71ca5c9162 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T18:06:34.1512941Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_07ecdae1-169d-4dfb-b742-6a71ca5c9162-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00004.response new file mode 100644 index 0000000000..30bf0c3188 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00004.response @@ -0,0 +1,10 @@ +--batchresponse_929c94a9-8784-4552-beed-5c7472a96e86 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Subscriptions":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription6469f798-be3a-4601-8c88-015180b9edd7","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription6469f798-be3a-4601-8c88-015180b9edd7","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"system-managed:8082D436-D8DA-458D-96AD-34C902B73F37","expirationDateTime":"2021-11-16T01:55:56.3957111Z","id":"e6a271eb-3e82-4a76-923e-05aeaec32205","notificationUrl":"https://westeurope0.pushnp.svc.ms/notifications?token=1087cadc-21e6-4ff9-b625-df7e781f6d25","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription63eaf4bc-225f-4de6-8d04-5f02ab38d895","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription63eaf4bc-225f-4de6-8d04-5f02ab38d895","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptioncbcb307b-45bc-45fb-8a27-4a7fd535ac8f","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptioncbcb307b-45bc-45fb-8a27-4a7fd535ac8f","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription33d40db8-ce2f-4d79-a743-7b9225adcad7","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription33d40db8-ce2f-4d79-a743-7b9225adcad7","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionb114d63d-4062-4303-9d7b-0ed1208ee8b0","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionb114d63d-4062-4303-9d7b-0ed1208ee8b0","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionb6b94d0e-2d2e-471c-ae6a-583e77c4d3e1","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionb6b94d0e-2d2e-471c-ae6a-583e77c4d3e1","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:00:32.1237463Z","id":"92964ed7-43fb-41c5-b92d-97dc9a9bd797","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionb229a7cb-3837-4d0c-8790-2252fa06d684","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionb229a7cb-3837-4d0c-8790-2252fa06d684","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:50:55.1686267Z","id":"df172049-22a0-42b2-8a72-242177ea6c6e","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription8e350519-6133-4b46-b33b-54c29940ad51","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription8e350519-6133-4b46-b33b-54c29940ad51","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T11:20:45.0729219Z","id":"2aafe175-f948-4bd0-9ca6-0cbcf8466b4d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription4a62c833-b2f1-44d6-a747-c5c45e34ae29","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription4a62c833-b2f1-44d6-a747-c5c45e34ae29","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T16:39:23.4525609Z","id":"4f21afc7-eeaf-4c04-848e-a75367b920ce","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription9245f513-8582-4dac-9c83-5acef25474b3","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription9245f513-8582-4dac-9c83-5acef25474b3","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:43:47.2933544Z","id":"7249fda1-ff51-4d22-ae84-6de4bd87a4fb","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionba268555-c138-412f-b3d6-31b15013f02c","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionba268555-c138-412f-b3d6-31b15013f02c","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:45:23.4582754Z","id":"c07baa2e-6e49-4363-8288-e9f53e07ec4b","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiond9bbe34b-f37d-4367-92cc-8a7d83a4c1db","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiond9bbe34b-f37d-4367-92cc-8a7d83a4c1db","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:40:34.9633527Z","id":"1146e8b9-8082-43ea-bcc0-a6e7b4f4e4a9","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription31c38370-c4c9-4963-a68c-0c8c7500b548","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription31c38370-c4c9-4963-a68c-0c8c7500b548","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:41:23.4657552Z","id":"22fb8134-370a-4203-a2c6-3735a3ab0fa2","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_929c94a9-8784-4552-beed-5c7472a96e86-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00005.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00005.response new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00006.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00006.response new file mode 100644 index 0000000000..77c0a973a4 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/RemoveWebhookTest-0-00006.response @@ -0,0 +1,10 @@ +--batchresponse_51e5f0fa-ffe9-459c-831b-856a0f6f2f07 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"Subscriptions":{"results":[{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription97361b80-2486-4427-9f57-d67e462947af","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription97361b80-2486-4427-9f57-d67e462947af","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"system-managed:8082D436-D8DA-458D-96AD-34C902B73F37","expirationDateTime":"2021-11-16T01:55:56.3957111Z","id":"e6a271eb-3e82-4a76-923e-05aeaec32205","notificationUrl":"https://westeurope0.pushnp.svc.ms/notifications?token=1087cadc-21e6-4ff9-b625-df7e781f6d25","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionbc855936-c6be-49f3-a8ab-7482324ecd13","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptionbc855936-c6be-49f3-a8ab-7482324ecd13","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-14T15:17:29.8025282Z","id":"841f25f0-f90d-4d1e-9494-efd5e9d9299c","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2e74a820-88e2-4c2c-a3c0-e4d43a3a82bc","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2e74a820-88e2-4c2c-a3c0-e4d43a3a82bc","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:41:06 PM","expirationDateTime":"2021-11-14T15:42:12.1359387Z","id":"01d15b81-02e5-4886-a727-b4bd9eb1dec1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription68650ee6-9234-4cc1-9afc-ee9b9956c57b","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription68650ee6-9234-4cc1-9afc-ee9b9956c57b","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"03:42:55 PM","expirationDateTime":"2021-11-14T15:42:55.0906642Z","id":"d3c88bd4-4c2b-4725-88e0-463ce2556fe1","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiondcc71143-8a57-4560-ac24-92965384b38e","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiondcc71143-8a57-4560-ac24-92965384b38e","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"637725014414087495","expirationDateTime":"2021-11-14T16:09:45.6696425Z","id":"8cba8582-3e68-4be1-8f73-aab2dba57f71","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiondb8fe625-7c4c-4802-83c4-29bed029c4ed","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscriptiondb8fe625-7c4c-4802-83c4-29bed029c4ed","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:00:32.1237463Z","id":"92964ed7-43fb-41c5-b92d-97dc9a9bd797","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription180f33d7-cd49-477a-9fc6-0c1c75dc9150","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription180f33d7-cd49-477a-9fc6-0c1c75dc9150","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-16T22:50:55.1686267Z","id":"df172049-22a0-42b2-8a72-242177ea6c6e","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription3b6bc8c5-e8c6-40df-b07f-d0b50ecd4670","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription3b6bc8c5-e8c6-40df-b07f-d0b50ecd4670","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T11:20:45.0729219Z","id":"2aafe175-f948-4bd0-9ca6-0cbcf8466b4d","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription75530316-8834-4cc4-82d7-a489f6ce4ec6","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription75530316-8834-4cc4-82d7-a489f6ce4ec6","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":"state","expirationDateTime":"2021-11-17T16:39:23.4525609Z","id":"4f21afc7-eeaf-4c04-848e-a75367b920ce","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription78cddb39-d43f-4f0c-9d41-4dd6a010cb77","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription78cddb39-d43f-4f0c-9d41-4dd6a010cb77","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:43:47.2933544Z","id":"7249fda1-ff51-4d22-ae84-6de4bd87a4fb","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2f317fd0-3587-44e5-ba44-d51521d444f8","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription2f317fd0-3587-44e5-ba44-d51521d444f8","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T16:45:23.4582754Z","id":"c07baa2e-6e49-4363-8288-e9f53e07ec4b","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null},{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription7ec3a6f1-ebcd-43d7-a44b-8dd91ac4d0de","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Microsoft.SharePoint.Webhooks.Subscription7ec3a6f1-ebcd-43d7-a44b-8dd91ac4d0de","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T17:40:34.9633527Z","id":"1146e8b9-8082-43ea-bcc0-a6e7b4f4e4a9","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}]},"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811"}} +--batchresponse_51e5f0fa-ffe9-459c-831b-856a0f6f2f07-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00001.response new file mode 100644 index 0000000000..932d1164e6 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_cc354f4a-246d-44be-bf32-fe4880bdeb28 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_cc354f4a-246d-44be-bf32-fe4880bdeb28-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00002.response new file mode 100644 index 0000000000..28238418af --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_b6f12d5e-75a0-4c4c-a1d7-8ffb6624d3b5 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726827965930000;384087648"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_b6f12d5e-75a0-4c4c-a1d7-8ffb6624d3b5-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00003.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00003.response new file mode 100644 index 0000000000..c43e8f5ed3 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00003.response @@ -0,0 +1,10 @@ +--batchresponse_8479f9c6-ed15-478d-bcc9-7831216bf7d0 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 201 Created +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +LOCATION: https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T18:06:36.5360819Z","id":"7ecfa330-fc55-47b7-a76f-5eeda60578b9","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEvent","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_8479f9c6-ed15-478d-bcc9-7831216bf7d0-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00004.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00004.response new file mode 100644 index 0000000000..cc0dbaf22f --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00004.response @@ -0,0 +1,9 @@ +--batchresponse_9acef65b-f9c0-4ed0-8aea-dfe05fa8eb6d +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 204 No Content +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + + +--batchresponse_9acef65b-f9c0-4ed0-8aea-dfe05fa8eb6d-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00005.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00005.response new file mode 100644 index 0000000000..eca1e87436 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/UpdateWebhookUrlTest-0-00005.response @@ -0,0 +1,9 @@ +--batchresponse_df5a8629-adc2-4890-934b-8bee4a0f1d7a +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'7ecfa330-fc55-47b7-a76f-5eeda60578b9')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/web/lists/getbyid(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions(guid'7ecfa330-fc55-47b7-a76f-5eeda60578b9')","type":"Microsoft.SharePoint.Webhooks.Subscription"},"clientState":null,"expirationDateTime":"2021-11-17T18:06:36.5360819Z","id":"7ecfa330-fc55-47b7-a76f-5eeda60578b9","notificationUrl":"https://6e4569a36d94.ngrok.io/api/HandleEventNew","resource":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","resourceData":null}} +--batchresponse_df5a8629-adc2-4890-934b-8bee4a0f1d7a-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00001.response new file mode 100644 index 0000000000..8bb8e1921f --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_25c3cf48-68ea-4adb-91d9-c24053882df9 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_25c3cf48-68ea-4adb-91d9-c24053882df9-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00002.response new file mode 100644 index 0000000000..8538eaa82e --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookArgumentOutOfRangeTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_76537d32-74cf-4ec8-915c-035a681f8b81 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726828016930000;384087673"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_76537d32-74cf-4ec8-915c-035a681f8b81-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00000.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00000.response new file mode 100644 index 0000000000..1670e5d7c9 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00000.response @@ -0,0 +1 @@ +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web","type":"SP.Web"},"RegionalSettings":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings","type":"SP.RegionalSettings"},"InstalledLanguages":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/InstalledLanguages"}},"TimeZone":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZone","type":"SP.TimeZone"},"Description":"(UTC-08:00) Pacific Time (US and Canada)","Id":13,"Information":{"__metadata":{"type":"SP.TimeZoneInformation"},"Bias":480,"DaylightBias":-60,"StandardBias":0}},"TimeZones":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/RegionalSettings/TimeZones"}},"AdjustHijriDays":0,"AlternateCalendarType":0,"AM":"AM","CalendarType":1,"Collation":25,"CollationLCID":2070,"DateFormat":0,"DateSeparator":"/","DecimalSeparator":".","DigitGrouping":"3;0","FirstDayOfWeek":0,"FirstWeekOfYear":0,"IsEastAsia":false,"IsRightToLeft":false,"IsUIRightToLeft":false,"ListSeparator":",","LocaleId":1033,"NegativeSign":"-","NegNumberMode":1,"PM":"PM","PositiveSign":"","ShowWeeks":false,"ThousandSeparator":",","Time24":false,"TimeMarkerPosition":0,"TimeSeparator":":","WorkDayEndHour":1020,"WorkDays":62,"WorkDayStartHour":480},"Id":"3f5d7b8e-b72a-4881-b7bc-2de2a15200bc","Url":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup"}} \ No newline at end of file diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00001.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00001.response new file mode 100644 index 0000000000..938ea69f8e --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00001.response @@ -0,0 +1,9 @@ +--batchresponse_20567098-3422-4e33-aba2-838457e7395d +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Site","type":"SP.Site"},"GroupId":"35655e29-b619-4c63-bd0c-750b71d40841","Id":"286393c5-fb92-4650-a1a6-1685d73cfd81"}} +--batchresponse_20567098-3422-4e33-aba2-838457e7395d-- diff --git a/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00002.response b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00002.response new file mode 100644 index 0000000000..13a47c0b99 --- /dev/null +++ b/src/sdk/PnP.Core.Test/SharePoint/MockData/ListWebhookTests/WebhookNotificationNullExceptionTest-0-00002.response @@ -0,0 +1,10 @@ +--batchresponse_7f879fde-c225-428e-a76b-bedb27e21768 +Content-Type: application/http +Content-Transfer-Encoding: binary + +HTTP/1.1 200 OK +CONTENT-TYPE: application/json;odata=verbose;charset=utf-8 +ETAG: "13" + +{"d":{"__metadata":{"id":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')","etag":"\"13\"","type":"SP.List"},"FirstUniqueAncestorSecurableObject":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/FirstUniqueAncestorSecurableObject"}},"RoleAssignments":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RoleAssignments"}},"Author":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Author"}},"ContentTypes":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ContentTypes"}},"CreatablesInfo":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/CreatablesInfo"}},"DefaultView":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DefaultView"}},"DescriptionResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/DescriptionResource"}},"EventReceivers":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/EventReceivers"}},"Fields":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Fields"}},"Forms":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Forms"}},"InformationRightsManagementSettings":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/InformationRightsManagementSettings"}},"Items":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Items"}},"ParentWeb":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/ParentWeb"}},"RootFolder":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/RootFolder"}},"Subscriptions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Subscriptions"}},"TitleResource":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/TitleResource"}},"UserCustomActions":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/UserCustomActions"}},"Views":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/Views"}},"WorkflowAssociations":{"__deferred":{"uri":"https://m365x790252.sharepoint.com/sites/pnpcoresdktestgroup/_api/Web/Lists(guid'84c3d851-b4f0-4c9f-a3b2-a0479a02e811')/WorkflowAssociations"}},"AllowContentTypes":true,"BaseTemplate":101,"BaseType":1,"ContentTypesEnabled":false,"CrawlNonDefaultViews":false,"Created":"2021-09-18T23:47:15Z","CurrentChangeToken":{"__metadata":{"type":"SP.ChangeToken"},"StringValue":"1;3;84c3d851-b4f0-4c9f-a3b2-a0479a02e811;637726828028900000;384087679"},"DefaultContentApprovalWorkflowId":"00000000-0000-0000-0000-000000000000","DefaultItemOpenUseListSetting":false,"Description":"","Direction":"none","DisableCommenting":false,"DisableGridEditing":false,"DocumentTemplateUrl":"/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx","DraftVersionVisibility":0,"EnableAttachments":false,"EnableFolderCreation":true,"EnableMinorVersions":false,"EnableModeration":false,"EnableRequestSignOff":true,"EnableVersioning":true,"EntityTypeName":"Shared_x0020_Documents","ExemptFromBlockDownloadOfNonViewableFiles":false,"FileSavePostProcessingEnabled":false,"ForceCheckout":false,"HasExternalDataSource":false,"Hidden":false,"Id":"84c3d851-b4f0-4c9f-a3b2-a0479a02e811","ImagePath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/_layouts/15/images/itdl.png?rev=47"},"ImageUrl":"/_layouts/15/images/itdl.png?rev=47","DefaultSensitivityLabelForLibrary":"","IrmEnabled":false,"IrmExpire":false,"IrmReject":false,"IsApplicationList":false,"IsCatalog":false,"IsPrivate":false,"ItemCount":2,"LastItemDeletedDate":"2021-09-18T23:47:15Z","LastItemModifiedDate":"2021-11-08T08:25:02Z","LastItemUserModifiedDate":"2021-10-06T14:12:45Z","ListExperienceOptions":1,"ListItemEntityTypeFullName":"SP.Data.Shared_x0020_DocumentsItem","MajorVersionLimit":500,"MajorWithMinorVersionsLimit":0,"MultipleDataList":false,"NoCrawl":false,"ParentWebPath":{"__metadata":{"type":"SP.ResourcePath"},"DecodedUrl":"/sites/pnpcoresdktestgroup"},"ParentWebUrl":"/sites/pnpcoresdktestgroup","ParserDisabled":false,"ServerTemplateCanCreateFolders":true,"TemplateFeatureId":"00bfea71-e717-4e80-aa17-d0c71b360101","Title":"Documents"}} +--batchresponse_7f879fde-c225-428e-a76b-bedb27e21768-- diff --git a/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/List.cs b/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/List.cs index 42cba46c0a..fca334beb2 100644 --- a/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/List.cs +++ b/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/List.cs @@ -196,6 +196,9 @@ public List() public IViewCollection Views { get => GetModelCollectionValue(); } + [SharePointProperty("subscriptions")] + public IListSubscriptionCollection Webhooks { get => GetModelCollectionValue(); } + public bool HasUniqueRoleAssignments { get => GetValue(); set => SetValue(value); } public IRoleAssignmentCollection RoleAssignments { get => GetModelCollectionValue(); } diff --git a/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListSubscription.cs b/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListSubscription.cs new file mode 100644 index 0000000000..9e0ef9b0ca --- /dev/null +++ b/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListSubscription.cs @@ -0,0 +1,54 @@ +using PnP.Core.Services; +using System; +using System.Text.Json; + +namespace PnP.Core.Model.SharePoint +{ + [SharePointType("Microsoft.SharePoint.Webhooks.Subscription", Uri = "_api/web/lists/getbyid(guid'{Parent.Id}')/Subscriptions(guid'{Id}')", LinqGet = "_api/web/lists/getbyid(guid'{Parent.Id}')/Subscriptions")] + internal class ListSubscription + : BaseDataModel, IListSubscription + { + public ListSubscription() + { +#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously + AddApiCallHandler = async (additionalInformation) => +#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously + { + var entity = EntityManager.GetClassInfo(GetType(), this); + + var addParameters = new + { + __metadata = new { type = entity.SharePointType }, + Resource = ((IList)Parent).Id.ToString(), + NotificationUrl, + ExpirationDateTime, + ClientState + }; + + var body = JsonSerializer.Serialize(addParameters, PnPConstants.JsonSerializer_IgnoreNullValues_CamelCase); + + return new ApiCall($"_api/web/lists(guid'{((IList)Parent).Id}')/Subscriptions", ApiType.SPORest, body); + }; + } + + public Guid Id { get => GetValue(); set => SetValue(value); } + + [SharePointProperty("clientState")] + public string ClientState { get => GetValue(); set => SetValue(value); } + + [SharePointProperty("expirationDateTime")] + public DateTime ExpirationDateTime { get => GetValue(); set => SetValue(value); } + + [SharePointProperty("notificationUrl")] + public string NotificationUrl { get => GetValue(); set => SetValue(value); } + + [SharePointProperty("resource")] + public string Resource { get => GetValue(); set => SetValue(value); } + + [KeyProperty(nameof(Id))] + public override object Key { get => Id; set => Id = Guid.Parse(value.ToString()); } + + [SharePointProperty("*")] + public object All { get => null; } + } +} diff --git a/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListSubscriptionCollection.cs b/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListSubscriptionCollection.cs new file mode 100644 index 0000000000..6b49959fa8 --- /dev/null +++ b/src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListSubscriptionCollection.cs @@ -0,0 +1,141 @@ +using PnP.Core.QueryModel; +using PnP.Core.Services; +using System; +using System.Threading.Tasks; + +namespace PnP.Core.Model.SharePoint +{ + internal class ListSubscriptionCollection + : QueryableDataModelCollection, IListSubscriptionCollection + { + internal const int WebhooksMaxValidityInMonths = 6; + internal const int WebhookMaxExpirationInDays = 180; + + public ListSubscriptionCollection(PnPContext context, IDataModelParent parent, string memberName = null) + : base(context, parent, memberName) + { + PnPContext = context; + Parent = parent; + } + + public IListSubscription Add(string notificationUrl, DateTime expirationDate, string clientState = null) + { + return AddAsync(notificationUrl, expirationDate, clientState).GetAwaiter().GetResult(); + } + + public IListSubscription Add(string notificationUrl, int validityInMonths = 6, string clientState = null) + { + return AddAsync(notificationUrl, validityInMonths, clientState).GetAwaiter().GetResult(); + } + + public async Task AddAsync(string notificationUrl, DateTime expirationDate, string clientState = null) + { + Func> create = async (newSubscription) => + await newSubscription.AddAsync().ConfigureAwait(false) as IListSubscription; + + return await AddNewAsync(create, notificationUrl, expirationDate, clientState).ConfigureAwait(false); + } + + public async Task AddAsync(string notificationUrl, int validityInMonths = 6, string clientState = null) + { + return await AddAsync(notificationUrl, CreateDateFromExpirationMonths(validityInMonths), clientState).ConfigureAwait(false); + } + + public IListSubscription AddBatch(string notificationUrl, DateTime expirationDate, string clientState = null) + { + return AddBatchAsync(notificationUrl, expirationDate, clientState).GetAwaiter().GetResult(); + } + + public IListSubscription AddBatch(Batch batch, string notificationUrl, DateTime expirationDate, string clientState = null) + { + return AddBatchAsync(batch, notificationUrl, expirationDate, clientState).GetAwaiter().GetResult(); + } + + public IListSubscription AddBatch(string notificationUrl, int validityInMonths = 6, string clientState = null) + { + return AddBatchAsync(notificationUrl, validityInMonths, clientState).GetAwaiter().GetResult(); + } + + public IListSubscription AddBatch(Batch batch, string notificationUrl, int validityInMonths = 6, string clientState = null) + { + return AddBatchAsync(batch, notificationUrl, validityInMonths, clientState).GetAwaiter().GetResult(); + } + + public async Task AddBatchAsync(string notificationUrl, DateTime expirationDate, string clientState = null) + { + return await AddBatchAsync(PnPContext.CurrentBatch, notificationUrl, expirationDate, clientState).ConfigureAwait(false); + } + + public async Task AddBatchAsync(Batch batch, string notificationUrl, DateTime expirationDate, string clientState = null) + { + Func> create = async (newSubscription) => + await newSubscription.AddBatchAsync(batch).ConfigureAwait(false) as IListSubscription; + + return await AddNewAsync(create, notificationUrl, expirationDate, clientState).ConfigureAwait(false); + } + + public async Task AddBatchAsync(string notificationUrl, int validityInMonths = 6, string clientState = null) + { + return await AddBatchAsync(notificationUrl, CreateDateFromExpirationMonths(validityInMonths), clientState).ConfigureAwait(false); + } + + public async Task AddBatchAsync(Batch batch, string notificationUrl, int validityInMonths = 6, string clientState = null) + { + return await AddBatchAsync(batch, notificationUrl, CreateDateFromExpirationMonths(validityInMonths), clientState).ConfigureAwait(false); + } + + public IListSubscription GetById(Guid subscriptionId) + { + return GetByIdAsync(subscriptionId).GetAwaiter().GetResult(); + } + + public async Task GetByIdAsync(Guid subscriptionId) + { + var subscription = CreateNew() as ListSubscription; + subscription.Parent = Parent; + subscription.AddMetadata(PnPConstants.MetaDataRestId, subscriptionId.ToString()); + + return await subscription.GetAsync().ConfigureAwait(false); + } + + private async Task AddNewAsync(Func> create, string notificationUrl, DateTime expirationDate, string clientState = null) + { + if (string.IsNullOrEmpty(notificationUrl)) + { + throw new ArgumentNullException(nameof(notificationUrl)); + } + + ValidateExpirationDateTime(expirationDate, nameof(expirationDate)); + + var newSubscription = CreateNewAndAdd() as ListSubscription; + newSubscription.Parent = Parent; + + newSubscription.NotificationUrl = notificationUrl; + newSubscription.ExpirationDateTime = expirationDate; + newSubscription.ClientState = clientState; + + return await create(newSubscription).ConfigureAwait(false); + } + + private void ValidateExpirationDateTime(DateTime expirationDateTime, string agrumentName) + { + var utcDateToValidate = expirationDateTime.ToUniversalTime(); + var utcNow = DateTime.UtcNow; + + var isValid = utcDateToValidate > utcNow + && utcDateToValidate <= utcNow.AddDays(WebhookMaxExpirationInDays); + + if (!isValid) + { + throw new ArgumentOutOfRangeException(agrumentName, string.Format(PnPCoreResources.Exception_Invalid_WebhookExpiration, WebhooksMaxValidityInMonths)); + } + } + + private DateTime CreateDateFromExpirationMonths(int validityInMonths) + { + return validityInMonths == WebhooksMaxValidityInMonths + ? DateTime.UtcNow.AddDays(WebhookMaxExpirationInDays) + : DateTime.UtcNow.AddMonths(validityInMonths); + } + } +} diff --git a/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IList.cs b/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IList.cs index 1a9fe39257..e4502e1dd9 100644 --- a/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IList.cs +++ b/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IList.cs @@ -256,6 +256,11 @@ public interface IList : IDataModel, IDataModelGet, IDataModelLoad /// public IViewCollection Views { get; } + /// + /// Collection of list webhooks + /// + public IListSubscriptionCollection Webhooks { get; } + /// /// A special property used to add an asterisk to a $select statement /// diff --git a/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListSubscription.cs b/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListSubscription.cs new file mode 100644 index 0000000000..adb5f0c214 --- /dev/null +++ b/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListSubscription.cs @@ -0,0 +1,38 @@ + +using System; + +namespace PnP.Core.Model.SharePoint +{ + /// + /// Defines a structure for a webhook subscription + /// + [ConcreteType(typeof(ListSubscription))] + public interface IListSubscription + : IDataModel, IDataModelGet, IDataModelLoad, IDataModelUpdate, IDataModelDelete, IQueryableDataModel + { + /// + /// Subscription unique Id + /// + public Guid Id { get; set; } + + /// + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// + public string ClientState { get; set; } + + /// + /// Expiration date for the webhook + /// + public DateTime ExpirationDateTime { get; set; } + + /// + /// A url, where the notification request will be sent + /// + public string NotificationUrl { get; set; } + + /// + /// Resource identifier, usually a list id + /// + public string Resource { get; set; } + } +} diff --git a/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListSubscriptionCollection.cs b/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListSubscriptionCollection.cs new file mode 100644 index 0000000000..f036b29437 --- /dev/null +++ b/src/sdk/PnP.Core/Model/SharePoint/Core/Public/IListSubscriptionCollection.cs @@ -0,0 +1,142 @@ +using PnP.Core.Services; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace PnP.Core.Model.SharePoint +{ + /// + /// A collection of list webhook subscriptions + /// + [ConcreteType(typeof(ListSubscriptionCollection))] + public interface IListSubscriptionCollection + : IQueryable, IAsyncEnumerable, IDataModelCollection, IDataModelCollectionLoad, IDataModelCollectionDeleteByGuidId, ISupportModules + { + /// + /// Adds a new webhook subscription + /// + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// A date, when the subscription will expire. Expiration date should not be greater than 6 months period. + /// An instance + Task AddAsync(string notificationUrl, DateTime expirationDate, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// A date, when the subscription will expire. Expiration date should not be greater than 6 months period. + /// An instance + IListSubscription Add(string notificationUrl, DateTime expirationDate, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// A date, when the subscription will expire. Expiration date should not be greater than 6 months period. + /// An instance + Task AddBatchAsync(string notificationUrl, DateTime expirationDate, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// A date, when the subscription will expire. Expiration date should not be greater than 6 months period. + /// An instance + IListSubscription AddBatch(string notificationUrl, DateTime expirationDate, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// Batch to use + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// A date, when the subscription will expire. Expiration date should not be greater than 6 months period. + /// An instance + Task AddBatchAsync(Batch batch, string notificationUrl, DateTime expirationDate, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// Batch to use + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// A date, when the subscription will expire. Expiration date should not be greater than 6 months period. + /// An instance + IListSubscription AddBatch(Batch batch, string notificationUrl, DateTime expirationDate, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// How many months the subscription should stay valid. The maximum is 6 months. + /// An instance + Task AddAsync(string notificationUrl, int validityInMonths = 6, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// How many months the subscription should stay valid. The maximum is 6 months. + /// An instance + IListSubscription Add(string notificationUrl, int validityInMonths = 6, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// How many months the subscription should stay valid. The maximum is 6 months. + /// An instance + Task AddBatchAsync(string notificationUrl, int validityInMonths = 6, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// How many months the subscription should stay valid. The maximum is 6 months. + /// An instance + IListSubscription AddBatch(string notificationUrl, int validityInMonths = 6, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// Batch to use + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// How many months the subscription should stay valid. The maximum is 6 months. + /// An instance + Task AddBatchAsync(Batch batch, string notificationUrl, int validityInMonths = 6, string clientState = null); + + /// + /// Adds a new webhook subscription + /// + /// Batch to use + /// A url, where the notification request will be sent + /// A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons. + /// How many months the subscription should stay valid. The maximum is 6 months. + /// An instance + IListSubscription AddBatch(Batch batch, string notificationUrl, int validityInMonths = 6, string clientState = null); + + /// + /// Gets webhook subscription + /// + /// Subscription's Id, a + /// An instance + Task GetByIdAsync(Guid subscriptionId); + + /// + /// Gets webhook subscription + /// + /// Subscription's Id, a + /// An instance + IListSubscription GetById(Guid subscriptionId); + } +} diff --git a/src/sdk/PnP.Core/PnPCoreResources.Designer.cs b/src/sdk/PnP.Core/PnPCoreResources.Designer.cs index d54cf81a69..aef3737ea6 100644 --- a/src/sdk/PnP.Core/PnPCoreResources.Designer.cs +++ b/src/sdk/PnP.Core/PnPCoreResources.Designer.cs @@ -19,7 +19,7 @@ namespace PnP.Core { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class PnPCoreResources { @@ -177,6 +177,15 @@ internal static string Exception_InstanceWasDeleted { } } + /// + /// Looks up a localized string similar to The specified expiration date is invalid. Should be greater than today and within {0} months. + /// + internal static string Exception_Invalid_WebhookExpiration { + get { + return ResourceManager.GetString("Exception_Invalid_WebhookExpiration", resourceCulture); + } + } + /// /// Looks up a localized string similar to Invalid arguments number. /// diff --git a/src/sdk/PnP.Core/PnPCoreResources.resx b/src/sdk/PnP.Core/PnPCoreResources.resx index 7c73b283a9..04c73a8c76 100644 --- a/src/sdk/PnP.Core/PnPCoreResources.resx +++ b/src/sdk/PnP.Core/PnPCoreResources.resx @@ -180,6 +180,9 @@ Invalid type for the filter object + + The specified expiration date is invalid. Should be greater than today and within {0} months + The requested index is out of the JSON array boundaries