POST api/Settings/ChangeActionSet

Modifying an export preset

Request Information

URI Parameters

None.

Body Parameters

Export preset

ActionSet
NameDescriptionTypeAdditional 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": "a587e360-80af-4c65-b4ad-1b64afc3b59f",
  "name": "sample string 2",
  "params": {
    "resizing": {
      "outputWidth": 1.1,
      "outputHeight": 2.1,
      "outputSizeInPercents": 3.1,
      "resizeUnit": 0,
      "subSampleOnly": true,
      "dpi": 5
    },
    "watermark": {
      "watermarkGuid": "90d7b3a3-092f-4b1a-8166-435c4b0b8a17",
      "embedWatermark": {
        "padding": "3, 5, 4, 2",
        "data": "QEA=",
        "scale": true,
        "opacity": 64,
        "position": 3
      }
    },
    "converting": {
      "outputFormatGuid": "11d4bd7e-40fc-4917-8675-255b7d9b4009",
      "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
NameDescriptionTypeAdditional 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": "3b2ea6a5-5a32-428e-acd3-6195a6ce936a",
    "name": "sample string 2",
    "params": {
      "resizing": {
        "outputWidth": 1.1,
        "outputHeight": 2.1,
        "outputSizeInPercents": 3.1,
        "resizeUnit": 0,
        "subSampleOnly": true,
        "dpi": 5
      },
      "watermark": {
        "watermarkGuid": "a3ffb5a1-2173-4731-91fb-a9ea7a3402a0",
        "embedWatermark": {
          "padding": "3, 5, 4, 2",
          "data": "QEA=",
          "scale": true,
          "opacity": 64,
          "position": 3
        }
      },
      "converting": {
        "outputFormatGuid": "fccee0ac-5c43-494b-9ce4-c9e3c3ba43de",
        "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)