Method CancelChanges
CancelChanges(String, RequestSettingsContract, String)
Cancel all changes that have been made
Declaration
RequestResultContract CancelChanges(string connectionId, RequestSettingsContract requestSettings, string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
RequestSettingsContract | requestSettings | Request settings, e.g. Language |
System.String | name | Optional: The name of the object which should be canceld. If no name is given, all changes to all objects are canceld, default: |
Returns
Type | Description |
---|---|
RequestResultContract | Returns the result of the query |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/CancelChanges
Example for cancel all changes.{
"connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
"requestSettings":
{
"Language": "de",
},
"name": "GlAccount"
}
Response:
{
"Result": "Valid",
"Messages": null,
"Error": null
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |