Reputation: 9881
When handling a Update_Of_Resource
notification, when the subscription's notificationContentType
is set to Modified Attribute
, how does one get the Id
or Url
of the resource being updated?
Upvotes: 0
Views: 49
Reputation: 126
According to TS-0001, table 10.2.10.7-1: Notification Procedure, the content of the notification shall include the subscription reference that generates the notification, i.e. the address of the corresponding subscription.
The shortname for subscriptionReference is sur
Generally speaking, when you create a subscription you should retain the resource address of the subscription so that you can compare the value recieved in the notification with the value recieved in the notification.
You can use this as part of your notification handler to determine what actions to take.
Upvotes: 1