Skip to main content

List Change Types - Pull_ListLiveNotificationMechanismChangeTypes

Use this method to get a list of supported Live Notification Mechanism notification types.

warning

It is crucial that you subscribe to all notifications and update listing content in your channel based on them. Such setup will allow you to limit the frequency of static and dynamic data retrieval using the pull methods.

Use Cases​

  • Discover the change types currently supported by Distribution Hub
  • Select valid values before creating a subscription
  • Determine which pull method to call after each callback

Best Practices​

  • Subscribe only to change types your integration processes
  • Treat the returned string IDs as the authoritative values
  • Support newly returned change types without breaking existing handlers

Request​

XML request​

<Pull_ListLiveNotificationMechanismChangeTypes_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
</Pull_ListLiveNotificationMechanismChangeTypes_RQ>

Request fields​

XML PathData TypeTypeDescription
Pull_ListLiveNotificationMechanismChangeTypes_RQCRoot Element
Pull_ListLiveNotificationMechanismChangeTypes_RQ/AuthenticationC, MAuthentication details
Pull_ListLiveNotificationMechanismChangeTypes_RQ/Authentication/AccessKeyString(100)MAccess key
Pull_ListLiveNotificationMechanismChangeTypes_RQ/Authentication/SecretKeyString(100)MSecret key

Response​

XML response​

<Pull_ListLiveNotificationMechanismChangeTypes_RS>
<Status ID="0">Success</Status>
<ResponseID ID="1">Success</ResponseID>
<ChangeTypes>
<ChangeType ID="PropertyStaticDetails">
<Description>This notification will be triggered each time property static details are changed. Same notification is triggered regardless of change scope (one character in one field or multiple images are changed). Publisher is the ID of the property owner.</Description>
<ExampleUrl>http://test.com/something?ChangeId=f892a4eb-f070-43ee-881eb3737f1bd462&amp;PropertyId=123456&amp;Publisher=234567&amp;Type=PropertyStaticDetails</ExampleUrl>
</ChangeType>
<ChangeType ID="PropertyChangeover">
<Description>This notification will be triggered each time modification of the property changeover is made. Publisher is the ID of the property owner.</Description>
<ExampleUrl>http://test.com/something?ChangeId=3a2882f2-6421-47e8-97e4-10003fc363f9&amp;DateFrom=2015-06-11T00-00-00Z&amp;DateTo=2015-06-18T00-00-00Z&amp;PropertyId=123456&amp;Publisher=234567&amp;Type=PropertyChangeover</ExampleUrl>
</ChangeType>
<ChangeType ID="PropertyMinStay">
<Description>This notification will be triggered each time modification of the property min stay is made. Publisher is the ID of the property owner.</Description>
<ExampleUrl>http://test.com/something?ChangeId=7ed67358-3f25-4c3a-aba6-faef66a30fb9&amp;DateFrom=2015-06-11T00-00-00Z&amp;DateTo=2015-06-18T00-00-00Z&amp;PropertyId=123456&amp;Publisher=234567&amp;Type=PropertyMinStay</ExampleUrl>
</ChangeType>
<ChangeType ID="PropertyAvailability">
<Description>This notification will be triggered each time property availability is changed. Publisher is the ID of the property owner.</Description>
<ExampleUrl>http://test.com/something?ChangeId=bda563b1-93e1-428b-a6bf729f9f5d7d8b&amp;DateFrom=2015-06-11T00-00-00Z&amp;DateTo=2015-06-18T00-00-00Z&amp;PropertyId=123456&amp;Publisher=234567&amp;Type=PropertyAvailability</ExampleUrl>
</ChangeType>
<ChangeType ID="PropertyPrice">
<Description>This notification will be triggered each time property price is changed. Publisher is the ID of the property owner.</Description>
<ExampleUrl>http://test.com/something?ChangeId=7e3026f5-cb6e-4519-897a8f6b0c15f7a2&amp;DateFrom=2015-06-11T00-00-00Z&amp;DateTo=2015-06-18T00-00-00Z&amp;PropertyId=123456&amp;Publisher=234567&amp;Type=PropertyPrice</ExampleUrl>
</ChangeType>
</ChangeTypes>
</Pull_ListLiveNotificationMechanismChangeTypes_RS>

Response fields​

XML PathData TypeTypeDescription
Pull_ListLiveNotificationMechanismChangeTypes_RSCRoot Element
Pull_ListLiveNotificationMechanismChangeTypes_RS/StatusString(100)MSee ListStatuses
Pull_ListLiveNotificationMechanismChangeTypes_RS/Status/@IDIntegerMSee ListStatuses
Pull_ListLiveNotificationMechanismChangeTypes_RS/ResponseIDString(32)MUnique response ID
Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypesC, MA collection of change types
Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes/ChangeTypeC, MChange type
Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes/ChangeType/@IDString(50)MChange type ID
Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes/ChangeType/DescriptionString(2000)MDescription of change type
Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes/ChangeType/ExampleUrlString(2000)MExample url with defined query string