Qore MewsRestDataProvider Module Reference 1.0
Loading...
Searching...
No Matches

Qore MewsRestDataProvider module definition

Introduction to the MewsRestDataProvider Module

Mews Logo

The MewsRestDataProvider module provides a data provider API for Mews cloud instances and data.

This data provider provides MewsRest API access to:

MewsRest Data Provider Factory

The name of the MewsRest data provider factory is mewsrest.

MewsRest Data Provider Examples

These examples are with qdp, the command-line interface to the Data Provider API.

Record-Based Example: List Payments
qdp mews/tables/payments se ClosedUtcStart=2023-11-01
Record-Based Example: List Open Accounting Items
qdp mews/tables/orderitems se {}
Record-Based Example: List Customers
qdp mews/tables/customers se {}
API Example: Create a Preauthorization Payment
qdp mews/api/paymentRequests/add/POST dor body='{PaymentRequests=({AccountId=362b6d02-f3ff-4174-b046-b0bd00948d45,Amount={Currency=EUR,Value=14},Type=Preauthorization,Reason=Prepayment,ExpirationUtc=2023-11-22,Description=test},)}'

Release Notes

MewsRestDataProvider v1.0

  • initial release of the module