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 Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_ListLiveNotificationMechanismChangeTypes_RQ | C | Root Element | |
| Pull_ListLiveNotificationMechanismChangeTypes_RQ/Authentication | C, M | Authentication details | |
| Pull_ListLiveNotificationMechanismChangeTypes_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Pull_ListLiveNotificationMechanismChangeTypes_RQ/Authentication/SecretKey | String(100) | M | Secret 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&PropertyId=123456&Publisher=234567&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&DateFrom=2015-06-11T00-00-00Z&DateTo=2015-06-18T00-00-00Z&PropertyId=123456&Publisher=234567&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&DateFrom=2015-06-11T00-00-00Z&DateTo=2015-06-18T00-00-00Z&PropertyId=123456&Publisher=234567&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&DateFrom=2015-06-11T00-00-00Z&DateTo=2015-06-18T00-00-00Z&PropertyId=123456&Publisher=234567&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&DateFrom=2015-06-11T00-00-00Z&DateTo=2015-06-18T00-00-00Z&PropertyId=123456&Publisher=234567&Type=PropertyPrice</ExampleUrl>
</ChangeType>
</ChangeTypes>
</Pull_ListLiveNotificationMechanismChangeTypes_RS>
Response fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_ListLiveNotificationMechanismChangeTypes_RS | C | Root Element | |
| Pull_ListLiveNotificationMechanismChangeTypes_RS/Status | String(100) | M | See ListStatuses |
| Pull_ListLiveNotificationMechanismChangeTypes_RS/Status/@ID | Integer | M | See ListStatuses |
| Pull_ListLiveNotificationMechanismChangeTypes_RS/ResponseID | String(32) | M | Unique response ID |
| Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes | C, M | A collection of change types | |
| Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes/ChangeType | C, M | Change type | |
| Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes/ChangeType/@ID | String(50) | M | Change type ID |
| Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes/ChangeType/Description | String(2000) | M | Description of change type |
| Pull_ListLiveNotificationMechanismChangeTypes_RS/ChangeTypes/ChangeType/ExampleUrl | String(2000) | M | Example url with defined query string |