Get Wiegand settings
Returns Wiegand input and output settings.
Wiegand type. All data received on Wiegand input will be converted to selected type
Wiegand output mode.
- If 'duplicate' mode selected all data will be sent to Wiegand output. Access will be controlled by device. Data will be send ou Wiegand output for selected data types.
- if 'wiegand_control' selected all data will be sent to Wiegand output. Access will be controlled by Wiegand output for selected data types (User will see 'processing' screen). Other data types will be controlled by device.
When selected QR data type to send to Wiegand output, QR must contain value in UUID format
(full or short)
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
- With No Internal card reader
Schema
- sh_12 object- SH-12 module firmware info. Present only in the GET request is_present boolean- Determines whether the SH-12 module is connected firmware_version string- Firmware version of the SH-12 module 
- in object- Wiegand input settings is_enabled boolean- Determines whether the Wiegand input is enabled - wiegand object- Wiegand settings type string- Possible values: [ - wiegand_26,- wiegand_34,- wiegand_42,- wiegand_58,- wiegand_66,- wiegand_130]- Wiegand type. All data received on Wiegand input will be converted to selected type 
- out object- Wiegand output settings is_enabled boolean- Determines whether the Wiegand output is enabled - wiegand object- Wiegand settings type string- Possible values: [ - wiegand_26,- wiegand_34,- wiegand_42,- wiegand_58,- wiegand_66,- wiegand_130]- Wiegand type. All data received on Wiegand input will be converted to selected type - control object- Wiegand control settings mode string- Possible values: [ - duplicate,- wiegand_control]- Wiegand output mode. - If 'duplicate' mode selected all data will be sent to Wiegand output. Access will be controlled by device. Data will be send ou Wiegand output for selected data types.
- if 'wiegand_control' selected all data will be sent to Wiegand output. Access will be controlled by Wiegand output for selected data types (User will see 'processing' screen). Other data types will be controlled by device.
 - data object- Data types that will be sent to Wiegand output types string[]- Possible values: [ - internal_reader_data,- external_reader_data,- input_code,- qr]- Data types that will be sent to Wiegand output 
{
  "sh_12": {
    "is_present": false,
    "firmware_version": "1.0.0"
  },
  "in": {
    "is_enabled": false,
    "wiegand": {
      "type": "wiegand_26"
    }
  },
  "out": {
    "is_enabled": false,
    "wiegand": {
      "type": "wiegand_26"
    },
    "control": {
      "mode": "duplicate"
    },
    "data": {
      "types": [
        "internal_reader_data"
      ]
    }
  }
}
{
  "sh_12": {
    "is_present": true,
    "firmware_version": "0.1.1"
  },
  "in": {
    "is_enabled": false,
    "wiegand": {
      "available_types": [
        "wiegand_26",
        "wiegand_34",
        "wiegand_42",
        "wiegand_58",
        "wiegand_66",
        "wiegand_130"
      ],
      "type": "wiegand_26"
    }
  },
  "out": {
    "is_enabled": false,
    "wiegand": {
      "available_types": [
        "wiegand_26",
        "wiegand_34",
        "wiegand_42",
        "wiegand_58",
        "wiegand_66",
        "wiegand_130"
      ],
      "type": "wiegand_26"
    },
    "data": {
      "available_types": [
        "internal_reader_data",
        "external_reader_data",
        "input_code",
        "qr"
      ],
      "types": [
        "internal_reader_data",
        "external_reader_data"
      ]
    },
    "control": {
      "available_modes": [
        "duplicate",
        "wiegand_control"
      ],
      "mode": "duplicate"
    }
  }
}
{
  "in": {
    "is_enabled": false,
    "wiegand": {
      "available_types": [
        "wiegand_26",
        "wiegand_34",
        "wiegand_42",
        "wiegand_58",
        "wiegand_66",
        "wiegand_130"
      ],
      "type": "wiegand_26"
    }
  },
  "out": {
    "is_enabled": false,
    "wiegand": {
      "available_types": [
        "wiegand_26",
        "wiegand_34",
        "wiegand_42",
        "wiegand_58",
        "wiegand_66",
        "wiegand_130"
      ],
      "type": "wiegand_26"
    },
    "data": {
      "available_types": [
        "external_reader_data",
        "internal_reader_data",
        "qr"
      ],
      "types": [
        "qr",
        "external_reader_data"
      ]
    },
    "control": {
      "available_modes": [
        "duplicate",
        "wiegand_control"
      ],
      "mode": "duplicate"
    }
  }
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringerror message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}