Skip to content

OfflineOData Clear

OfflineOData Clear action is used to close and delete the offline store from the file system.

All the properties defined under Action are applicable to this action.

OfflineOData Clear Properties

Property Type Required
Force boolean No
Service Service Yes
_Type const Yes

Force

By default this action will abort if there are pending uploads or the request queue (local offline changes) is not empty. Set force to true to ignore the state of the store and attempt to clear

  • type: boolean

Service

The target service to be cleared


_Type

  • type: const

The value of this property must be:

"Action.Type.OfflineOData.Clear"

Action Result

The ActionResult of this action is null.


Examples

{
  "_Type": "Action.Type.OfflineOData.Clear",
  "Service": "/MyMDKApp/Services/MyOData.service",
  "Force": true
}