In this series we will discuss what's new in Business Central 2021 (Wave 2) a.k.a BC19.
This article we will discuss about - OData callers can specify read-only intent in GET requests.
With this series we will understand what's new the product and learn it before it becomes available for customers.
#msdyn365bc #2021RW2
Feature Details -
Integrations that query data using OData can indicate a read-only intent to read data from a secondary database replica.
Explanation -
Till Business Central 18, we can only define read-only intent either -
- During API Page Creation.
- Setting Data Intent from Database Access Intent List Page.
With Business Central 19, Data intent can also be set during call to API by specifying the Data-Access-Intent: Read-only.
While using Read-only Intent the speed of read will be faster in case of bulk reading.
- Integrations that consume data through OData from Business Central can indicate a read-only intent to use a read-only database replica.
- Indicating read-only intent is done by setting a request header on the OData call.
- This will offload read-only queries from the primary database and give more read capacity for integrations that read large amounts of data.
How to ?
Get With Read-Only
Post with Read-Only will end up an Error Message.
Error Message
Hope you learn and will be able to utilize this feature as Business Central 19 is available.
For other articles related to What's New in Business Central 19, refer here.
Comments
Post a Comment