POST api/Settings/ChangeActionSet
Modifying an export preset
Request Information
URI Parameters
None.
Body Parameters
Export preset
ActionSet| Name | 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": "1acc9082-b15b-4173-aef3-1b6505ae75b4",
"name": "sample string 2",
"params": {
"resizing": {
"outputWidth": 1.1,
"outputHeight": 2.1,
"outputSizeInPercents": 3.1,
"resizeUnit": 0,
"subSampleOnly": true,
"dpi": 5
},
"watermark": {
"watermarkGuid": "df37c9b4-c179-462d-9848-2380c17857b2",
"embedWatermark": {
"padding": "3, 5, 4, 2",
"data": "QEA=",
"scale": true,
"opacity": 64,
"position": 3
}
},
"converting": {
"outputFormatGuid": "f19b367b-3f6c-4ad7-b430-abf367db5d80",
"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
ObjResultOfActionSet| Name | 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": "1cca4c82-51ca-41b5-9a31-0be1af988684",
"name": "sample string 2",
"params": {
"resizing": {
"outputWidth": 1.1,
"outputHeight": 2.1,
"outputSizeInPercents": 3.1,
"resizeUnit": 0,
"subSampleOnly": true,
"dpi": 5
},
"watermark": {
"watermarkGuid": "3c20f94e-8bd2-4a30-84ca-48373964153a",
"embedWatermark": {
"padding": "3, 5, 4, 2",
"data": "QEA=",
"scale": true,
"opacity": 64,
"position": 3
}
},
"converting": {
"outputFormatGuid": "b5d28edb-f406-4197-aa9f-0f8d30c68ce2",
"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) |