From 6103ed8917c75a64ef4d12448d411dc4a2740d97 Mon Sep 17 00:00:00 2001 From: optimygmbh Date: Thu, 10 Oct 2024 13:55:08 +0200 Subject: [PATCH] include_resource_data added to SubscriptionCollection.add --- office365/subscriptions/collection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/office365/subscriptions/collection.py b/office365/subscriptions/collection.py index 1a961c58..75d9589e 100644 --- a/office365/subscriptions/collection.py +++ b/office365/subscriptions/collection.py @@ -17,6 +17,7 @@ def add( expiration, client_state=None, latest_supported_tls_version=None, + include_resource_data=False, ): """ Subscribes a listener application to receive change notifications when the requested type of changes occur @@ -44,6 +45,7 @@ def add( "expirationDateTime": expiration.isoformat() + "Z", "clientState": client_state, "latestSupportedTlsVersion": latest_supported_tls_version, + "includeResourceData": include_resource_data, } qry = CreateEntityQuery(self, payload, return_type) self.context.add_query(qry)