Skip to content

OfflineOData Clear

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

The properties defined in Action are also applicable to this action.

OfflineOData Clear Properties

Property Type Required
Force boolean Optional
Service Service Required
_Type const Required

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 equal to:

"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
}