POST api/Settings/CreateActionSet
Creating 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": "228a4f19-e0e9-4924-a90f-ec320e07e9f5", "name": "sample string 2", "params": { "resizing": { "outputWidth": 1.1, "outputHeight": 2.1, "outputSizeInPercents": 3.1, "resizeUnit": 0, "subSampleOnly": true, "dpi": 5 }, "watermark": { "watermarkGuid": "38d9438b-c0f8-49a9-9e0a-1f7ec65f05d9", "embedWatermark": { "padding": "3, 5, 4, 2", "data": "QEA=", "scale": true, "opacity": 64, "position": 3 } }, "converting": { "outputFormatGuid": "11b98577-364f-4881-9b46-18ea98029e4e", "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 a created 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": "5315d515-13bb-4f11-8e34-a8845ae999e2", "name": "sample string 2", "params": { "resizing": { "outputWidth": 1.1, "outputHeight": 2.1, "outputSizeInPercents": 3.1, "resizeUnit": 0, "subSampleOnly": true, "dpi": 5 }, "watermark": { "watermarkGuid": "6613ef35-36ea-4de9-a6be-a4d2c3d66627", "embedWatermark": { "padding": "3, 5, 4, 2", "data": "QEA=", "scale": true, "opacity": 64, "position": 3 } }, "converting": { "outputFormatGuid": "a9d71dbc-d842-4e23-939a-4c3aa7e79064", "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) |