OfflineOData Download¶
OfflineOData Download action is used to perform delta download of data from the backend and update the local offline store.
The properties defined in Action are also applicable to this action.
OfflineOData Download Properties¶
Property | Type | Required |
---|---|---|
DefiningRequests | DefiningRequest | Optional |
Service | Service | Required |
_Type | const |
Required |
DefiningRequests¶
List of defining requests. A defining request is an OData read request that the Offline OData will use to retrieves data from the target OData Service and populate in the local offline database
- type:
DefiningRequest[]
All array items must be of the type: DefiningRequest
Service¶
The target service
- type: Service
_Type¶
- type:
const
The value of this property must be equal to:
"Action.Type.OfflineOData.Download"
Action Result¶
The ActionResult of this action is null
.
Examples¶
{
"_Type": "Action.Type.OfflineOData.Download",
"Service": "/MyMDKApp/Services/MyOData.service",
"DefiningRequests": [
{
"Name": "MyProducts",
"Query": "Products"
},
{
"Name": "MyCustomers",
"Query": "Customers"
},
{
"Name": "MySalesOrders",
"Query": "SalesOrders"
}
]
}