Document actions contain information that is used to copy and modify documents. DocumentActionModel is abstract and should not be used. Instead, use one of it's subclasses: FlattenAnnotationsActionModel, FlattenFieldsActionModel, OptimizeActionModel, CopyActionModel, and LinearizeActionModel.
name | data type | type | namespace | min/max occurs | description |
---|---|---|---|---|---|
namingMode | int | element | 0/1 | The behavior when saving the modified document to a new path that already exists. Valid values are: 0-Throw a bad request exception, 1-Overwrite the existing file, 2-Append a random number to the file name. | |
savePath | string | element | 0/1 | Path to save the modified document. If not provided, the original document will be overwritten. |
Example
<d-----> <savePath>...</savePath> <namingMode>...</namingMode> </d----->