Skip to content

OfflineOData Close

OfflineOData Close action is used to close the offline store.

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

OfflineOData Close 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 close

  • type: boolean

Service

The target service to be closed


_Type

  • type: const

The value of this property must be equal to:

"Action.Type.OfflineOData.Close"

Action Result

The ActionResult of this action is null.


Examples

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