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": "b83fec8f-49bd-494b-bc49-f9df63a14c99",
"name": "sample string 2",
"params": {
"resizing": {
"outputWidth": 1.1,
"outputHeight": 2.1,
"outputSizeInPercents": 3.1,
"resizeUnit": 0,
"subSampleOnly": true,
"dpi": 5
},
"watermark": {
"watermarkGuid": "9441493b-0f8b-43e3-bc7a-bce29cfa3581",
"embedWatermark": {
"padding": "3, 5, 4, 2",
"data": "QEA=",
"scale": true,
"opacity": 64,
"position": 3
}
},
"converting": {
"outputFormatGuid": "1476e63a-b0a1-4610-944e-126f8ed200af",
"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": "9b3cf31e-acd7-4296-9719-5adc5716d9ce",
"name": "sample string 2",
"params": {
"resizing": {
"outputWidth": 1.1,
"outputHeight": 2.1,
"outputSizeInPercents": 3.1,
"resizeUnit": 0,
"subSampleOnly": true,
"dpi": 5
},
"watermark": {
"watermarkGuid": "730c051e-06cd-42df-8a61-65324e70e6bb",
"embedWatermark": {
"padding": "3, 5, 4, 2",
"data": "QEA=",
"scale": true,
"opacity": 64,
"position": 3
}
},
"converting": {
"outputFormatGuid": "39d34f0c-01e2-401c-9fad-ebd86fb3d516",
"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) |