Data Synchronization Description
Data sync contains full and incremental sync. Full sync is necessary, and incremental sync can improve the timeliness of ARI data
Huazhu side supports GZIP, and distributor side also needs to support GZIP compression .
#
1. Full syncCall Huazhu API service by distributor at regular intervals
#
Hotel Interface Limit intervals:API interface | Interface Description | pulling frequency | Description of return results |
---|---|---|---|
/hotels | Distributor remove the hotels that is not exist in lastest return message by comparing the the lastest hotel list with previous. | 2 times/hour | Channel by comparing the daily timed pull to return the full amount of hotels in comparison, for the list of hotels that do not return on the same day for the downgrade process |
/hotel | This interface is used to query online hotel details | 20000 times/24 hours |
#
ARI Details Interface Limit intervals:0-7 days | 8-30 days | 31-60 days | 61-90 days | |
---|---|---|---|---|
pulling frequency | More than 1 hour | More than 2 hours | More than 6 hours | More than 24 hours |
Push ARI Signal#
2. incremental push signal -This type of interface is defined by Huazhu and implemented by the distributor. When the ARI of Huazhu hotel change, Huazhu distribution system will actively sends the signal to the distributor, then the distributor pulls the ARI in real time.