POST api/Import/SavePresets
Saving import presets for the current users
Request Information
URI Parameters
None.
Body Parameters
Import presets
Collection of MetadataPresetName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
HotKey | integer |
None. |
|
Items |
Items |
Collection of MetadataPresetItem |
None. |
Request Formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "hotKey": 2, "items": [ { "tagGuid": "56f9262f-de31-4bdb-8f1a-b267c5c79e18", "values": [ { "value": "sample string 1", "default": true }, { "value": "sample string 1", "default": true } ], "value": "sample string 2", "checked": true }, { "tagGuid": "56f9262f-de31-4bdb-8f1a-b267c5c79e18", "values": [ { "value": "sample string 1", "default": true }, { "value": "sample string 1", "default": true } ], "value": "sample string 2", "checked": true } ] }, { "name": "sample string 1", "hotKey": 2, "items": [ { "tagGuid": "56f9262f-de31-4bdb-8f1a-b267c5c79e18", "values": [ { "value": "sample string 1", "default": true }, { "value": "sample string 1", "default": true } ], "value": "sample string 2", "checked": true }, { "tagGuid": "56f9262f-de31-4bdb-8f1a-b267c5c79e18", "values": [ { "value": "sample string 1", "default": true }, { "value": "sample string 1", "default": true } ], "value": "sample string 2", "checked": true } ] } ]
Response Information
Resource Description
Result containing the flag of successful operation
ObjResultOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Data | boolean |
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": true, "error": "sample string 2", "success": true, "errorCode": 4 }
Parameter Information
presets
Property | Description |
---|---|
Length (Int32) | |
LongLength (Int64) | |
Rank (Int32) | |
SyncRoot (Object) | |
IsReadOnly (Boolean) | |
IsFixedSize (Boolean) | |
IsSynchronized (Boolean) |