Optionaldataoptional data to save. If not provided we use the return value of exportData().
OptionalerrorOptional callback to execute if there was an error saving the data.
OptionalheadersOptional headers to set on the ajax request. By default, the Toolkit will send
a Content-Type:"application/json" header. If you provide your own headers this header will continue to be sent, unless
of course you override it.
OptionalparametersOptional parameters to pass to the exporter. If you write a custom exporter you may wish to use this.
OptionalsuccessOptional callback to execute once the data has saved successfully.
OptionaltypeSpecifies the data type in which to format the data. Defaults to "json". This must match the name of an exporter registered with the given instance of the Toolkit.
URL to POST data to. Required.
Options for a save via ajax.