Things to Know Before Starting
RESTful, Yet Logical
The Data Xchange API for Trimble Viewpoint Vista is organized to provide a RESTful, yet logical view of the data points that exist within their respective Vista modules.
A Connection You Can Count On
To get started, you’ll have to install the Xchange Agent - a lightweight windows service that can be installed in the Customer's environment (including the ViewpointOne environment), to broker a highly secure connection to any single Customer's instance of Vista.
The Xchange Agent operates over HTTPS; encrypts data at rest, and in motion; and is responsible for receiving instructions from Data Xchange, executing those instructions against the database, and then streaming the results back to the platform for processing.
The Xchange Agent is authorized via credentials that would be provided during onboarding. The service is set up to limit permissions based on expected use.
The Action Queue and the Data Cache
The Data Xchange API for Viewpoint Vista is composed of two key features: a queueing method and a caching layer.
The Action Queue ensures actions are processed against the Vista database. Think of any action in which new data should be created (e.g. create a new employee record), updated (e.g. change the employee's address), or deleted (e.g. set the employee status to 'terminated'). Actions are presented as POST or PUT endpoints to provide access and control to create or modify data within a certain module or data endpoint.
The caching layer is used for performance, state management, and data change discovery. The integration platform has a replication service that will routinely poll for data changes in the Vista database in order to replicate those changes to the cache so that they are available to the API service. Data in the cache is presented as a GET endpoint to provide access and control to read data within a certain module or data endpoint.