POST api/Settings/ChangeActionSet
Modifying an export preset
Request Information
URI Parameters
None.
Body Parameters
Export preset
ActionSetName | Description | Type | Additional information |
---|---|---|---|
Guid |
GUID |
globally unique identifier |
None. |
Name |
Name |
string |
None. |
Params |
Parameters |
ActionSetParams |
None. |
Format |
Export file format |
string |
None. |
Enabled |
Preset enabled flag |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "guid": "42b0d315-9d45-4cdf-9dd0-9e904f2e5886", "name": "sample string 2", "params": { "resizing": { "outputWidth": 1.1, "outputHeight": 2.1, "outputSizeInPercents": 3.1, "resizeUnit": 0, "subSampleOnly": true, "dpi": 5 }, "watermark": { "watermarkGuid": "547aded5-9a26-4504-91a0-1704a63583c1", "embedWatermark": { "padding": "3, 5, 4, 2", "data": "QEA=", "scale": true, "opacity": 64, "position": 3 } }, "converting": { "outputFormatGuid": "c484f343-9fb1-49c4-9349-8ecef2329365", "iccProfile": 2, "jpeG_Quality": 3 }, "metadata": { "embeddingMethod": 1, "excludeTagSpecGuids": "sample string 2", "includeSynonyms": true, "flatterKeywords": true, "getExcludeTagSpecHashes": {} } }, "format": "sample string 3", "enabled": true, "hasChanged": true, "initialParamsHashCode": 6 }
Response Information
Resource Description
Result containing the modified export preset
ObjResultOfActionSetName | Description | Type | Additional information |
---|---|---|---|
Data | ActionSet |
None. |
|
Error |
Error description |
string |
None. |
Success |
Flag of successful operation |
boolean |
None. |
ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "guid": "1a4410b5-a219-4f64-951e-edde61e51ef0", "name": "sample string 2", "params": { "resizing": { "outputWidth": 1.1, "outputHeight": 2.1, "outputSizeInPercents": 3.1, "resizeUnit": 0, "subSampleOnly": true, "dpi": 5 }, "watermark": { "watermarkGuid": "c4eee689-9ee7-4501-8b62-93a106ca1fba", "embedWatermark": { "padding": "3, 5, 4, 2", "data": "QEA=", "scale": true, "opacity": 64, "position": 3 } }, "converting": { "outputFormatGuid": "c9f9fa78-489b-45d4-85c0-973606cbf1cb", "iccProfile": 2, "jpeG_Quality": 3 }, "metadata": { "embeddingMethod": 1, "excludeTagSpecGuids": "sample string 2", "includeSynonyms": true, "flatterKeywords": true, "getExcludeTagSpecHashes": {} } }, "format": "sample string 3", "enabled": true, "hasChanged": true, "initialParamsHashCode": 6 }, "error": "sample string 1", "success": true, "errorCode": 3 }
Parameter Information
value
Export preset
Property | Description |
---|---|
Guid (Guid) |
GUID |
Name (String) |
Name |
Params (ActionSetParams) |
Parameters |
Format (String) |
Export file format |
Enabled (Boolean) |
Preset enabled flag |
HasChanged (Boolean) | |
InitialParamsHashCode (Int32) |