Skip to content

OfflineOData Close

OfflineOData Close action is used to close the offline store.

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

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

  • type: boolean

Service

The target service to be closed


_Type

  • type: const

The value of this property must be:

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