1 Introduction
AI Foundation supports several RESTful web service APIs (referred to as data streaming services) that provide the ability to create and update data within the solutions. All of the APIs in this document interact with the AI Foundation data warehouse, using many of the same tables and objects also populated from flat files during batch runs. Unlike flat file formats, the web service code cannot be customized, and the payload structures are pre-defined. These APIs are intended to be used as a means of intraday data streaming into the Retail Analytics and Planning cloud services, either in addition to the existing nightly batch processes or as a full replacement of specific flat file interface loads. Some data streaming services include steps to move the data through both the data warehouse and AIF applications, simplifying the data load process to a single API call instead of multiple POM batch processes. The diagram below highlights an example workflow for an API.
Figure 1-1 Data Streaming Service Flow
