GET api/Import/GetPresets

Getting import presets for the current users

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Result containing a list of import tags

ObjResultOfMetadataPresetsStore
NameDescriptionTypeAdditional information
Data

MetadataPresetsStore

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": {
    "default": "sample string 1",
    "presets": [
      {
        "name": "sample string 1",
        "hotKey": 2,
        "items": [
          {
            "tagGuid": "99022d2b-c587-428c-bea4-8a0102012e26",
            "values": [
              {
                "value": "sample string 1",
                "default": true
              },
              {
                "value": "sample string 1",
                "default": true
              }
            ],
            "value": "sample string 2",
            "checked": true
          },
          {
            "tagGuid": "99022d2b-c587-428c-bea4-8a0102012e26",
            "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": "99022d2b-c587-428c-bea4-8a0102012e26",
            "values": [
              {
                "value": "sample string 1",
                "default": true
              },
              {
                "value": "sample string 1",
                "default": true
              }
            ],
            "value": "sample string 2",
            "checked": true
          },
          {
            "tagGuid": "99022d2b-c587-428c-bea4-8a0102012e26",
            "values": [
              {
                "value": "sample string 1",
                "default": true
              },
              {
                "value": "sample string 1",
                "default": true
              }
            ],
            "value": "sample string 2",
            "checked": true
          }
        ]
      }
    ]
  },
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}