REST Data Model
The CData Cmdlets PowerShell Module for PayPal models the PayPal REST APIs as database views and stored procedures. These are defined in schema files, which are simple, text-based configuration files that make schemas easy to customize.
This section provides the API limitations and requirements for the REST data model; you can use the SupportEnhancedSQL feature, set by default, to circumvent most of these limitations.
Collaborative Query Processing
The cmdlet offloads as much of the SELECT statement processing as possible to the PayPal APIs and then processes the rest of the query within the cmdlet.
See SupportEnhancedSQL for more information on how the cmdlet circumvents API limitations with in-memory client-side processing.
Views are tables that cannot be modified. Typically, read-only data are shown as views.
PayPal REST API Limitations
There are some limitations in the PayPal REST API. For example, it provides no way to list all orders/payments, so to query the related views like OrderItems, OrderDetails, Payments you must know the respective ID and specify it.