delta-service
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| delta-service [2025/03/11 11:36] – Administrator | delta-service [2025/03/13 10:25] (current) – Administrator | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Welcome to the Teamamerica Delta API Interface Guide. | Welcome to the Teamamerica Delta API Interface Guide. | ||
| We hope you will have a smooth and successful integration to our system. | We hope you will have a smooth and successful integration to our system. | ||
| + | |||
| ==== Overview ==== | ==== Overview ==== | ||
| - | This API provides a list of changes that have been created, updated, or deleted within a specified time frame. The response is available in XML and JSON formats and serves two key purposes: | + | This Delta API significantly reduces the need for clients to perform millions of searches daily and enables efficient synchronization by ensuring the client maintains the up-to-date hotel inventory data. This API provides a list of changes that have been created, updated, or deleted within a specified time frame. The response is available in XML and JSON formats and serves two key purposes: |
| - | **Cache Updates:** The API returns date ranges that require cache updates on the client side, which should be refreshed using the **XML5+ PriceSearch** API. | + | - **Cache Updates:** The API returns date ranges that require cache updates on the client side, which should be refreshed using the **XML5+ PriceSearch** API. |
| + | - **Inventory Updates:** The API provides availability statuses within specific date ranges, indicating which dates went on **OnRequest** or **ClosedOut**. | ||
| - | **Inventory Updates:** The API provides availability statuses within specific date ranges, indicating which dates went on **OnRequest** or **ClosedOut**. | + | **Pre-requirement: To use this API, you must first cache the full TA portfolio through XML5+.** |
| - | This Delta API significantly reduces the need for clients to perform millions of searches daily and enables efficient synchronization by ensuring the client maintains the up-to-date hotel inventory data. | + | Development Rest EndPoint: http:// |
| Should you have any question or need any assistance, Please contact: | Should you have any question or need any assistance, Please contact: | ||
| **it@teamamericany.com** | **it@teamamericany.com** | ||
| - | |||
| - | Development Rest EndPoint: http:// | ||
| **Note:** **Only whitelisted IP addresses will be granted access to this endpoint**. Please ensure that the relevant IP addresses are whitelisted to avoid any disruption in service. | **Note:** **Only whitelisted IP addresses will be granted access to this endpoint**. Please ensure that the relevant IP addresses are whitelisted to avoid any disruption in service. | ||
| + | ---- | ||
| ======Requests====== | ======Requests====== | ||
| Line 93: | Line 94: | ||
| < | < | ||
| < | < | ||
| - | < | + | < |
| < | < | ||
| < | < | ||
| Line 158: | Line 159: | ||
| " | " | ||
| { | { | ||
| - | " | + | " |
| " | " | ||
| " | " | ||
| Line 208: | Line 209: | ||
| |1 |LastSynced | |1 |LastSynced | ||
| + | === XML Request === | ||
| < | < | ||
| < | < | ||
| < | < | ||
| - | < | + | < |
| < | < | ||
| < | < | ||
| Line 222: | Line 224: | ||
| - | **XML Response** | + | === XML Response |
| ^Level^Name^Type^Occurs^Required^Comments^ | ^Level^Name^Type^Occurs^Required^Comments^ | ||
| |0 |GetDeltaInventoryChangesRS| |1 | | | | |0 |GetDeltaInventoryChangesRS| |1 | | | | ||
| - | |1 |TimeStamp| | + | |1 |TimeStamp| |
| - | |1 |LastSyncedTime| | + | |1 |LastSyncedTime| |
| - | |1 |Hotels| | + | |1 |Hotels| |
| - | |2 |Hotel| | + | |2 |Hotel| |
| - | |3 |Product| | + | |3 |Product| |
| - | |4 |Inventory| | + | |4 |Inventory| |
| - | |5 |Status| | + | |5 |Status| |
| - | |6 |DateRange| | + | |6 |DateRange| |
| - | |7 |From| Date |1 | | start date | + | |7 |From| Date |1 | |Arrival |
| - | |7 |To| Date |1 | | end date | + | |7 |To| Date |1 | |Arrival |
| + | |||
| + | === XML Response === | ||
| < | < | ||
| - | < | + | |
| - | < | + | < |
| - | < | + | < |
| < | < | ||
| - | | + | |
| - | <Product code="NYCHXXX"> | + | <Product code="NYCHBEL2FF"> |
| - | + | < | |
| - | | + | <Status type=" |
| - | <Status type=" | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | </ |
| - | </ | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | </ |
| - | </ | + | </ |
| - | </ | + | <Status type=" |
| - | <Status type=" | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | </ |
| - | </ | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | </ |
| - | </ | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | </ |
| - | </ | + | </ |
| - | </ | + | </ |
| - | </ | + | </ |
| - | </ | + | </ |
| - | </ | + | |
| </ | </ | ||
| - | </ | + | |
| </ | </ | ||
| - | =====✔ | + | =====✔ |
| |Request Type |POST | | |Request Type |POST | | ||
| Line 288: | Line 292: | ||
| |Accept | |Accept | ||
| - | **Description: | ||
| - | **JSON Request** | ||
| + | === JSON Request === | ||
| < | < | ||
| - | { | + | |
| " | " | ||
| - | " | + | " |
| " | " | ||
| - | " | + | " |
| " | " | ||
| " | " | ||
| Line 305: | Line 308: | ||
| - | **JSON Response** | + | === JSON Response |
| < | < | ||
| - | { | + | |
| " | " | ||
| - | " | + | " |
| " | " | ||
| " | " | ||
| Line 317: | Line 321: | ||
| " | " | ||
| { | { | ||
| - | " | + | " |
| " | " | ||
| " | " | ||
| Line 341: | Line 345: | ||
| ] | ] | ||
| } | } | ||
| - | } | + | |
| </ | </ | ||
| Line 372: | Line 376: | ||
| | Code | Description | | Code | Description | ||
| | DCA101 | | DCA101 | ||
| - | | DCA111 | + | | DCA102 |
| - | | DCA105 | + | | DCA103 |
| - | | DCA106 | + | | DCA104 |
| - | | DCA104 | + | | DCA105 |
| + | | DCA106 | ||
delta-service.1741707397.txt.gz · Last modified: 2025/03/11 11:36 by Administrator