OfflineOData Upload¶
OfflineOData Upload action is used to upload local changes to update the OData service. Local changes are data modification actions that was performed on the target offline OData service but not yet uploaded to the backend OData service.
The properties defined in Action are also applicable to this action.
OfflineOData Upload Properties¶
Property | Type | Required |
---|---|---|
Service | Service | Required |
UploadCategories | string[] |
Optional |
_Type | const |
Required |
Service¶
The target service
- type: Service
UploadCategories¶
List of upload categories using which we can selectively upload data.
- type:
string[]
All items must be of the type: string
_Type¶
- type:
const
The value of this property must be equal to:
"Action.Type.OfflineOData.Upload"
Action Result¶
The ActionResult of this action is null
.
Examples¶
Upload¶
{
"_Type": "Action.Type.OfflineOData.Upload",
"Service": "/MyMDKApp/Services/MyOData.service"
}
Selective upload¶
{
"_Type": "Action.Type.OfflineOData.Upload",
"Service": "/MyMDKApp/Services/MyOData.service",
"UploadCategories": [
"Customer",
"Product"
]
}