Skip to main content

Create Identifier Entity

Create Identifier Entity. You can create identifiers with the next types:

  • card
  • ukey
  • input_code
  • qr
  • face_id
  • Available only in access control mode
Request Body
  • number string required
    • hex or dec if type is card or ukey
    • dec if type is input_code
    • uuid if type is qr
    • pattern for hex and dec - [0-9]{1,17} or ([0-9A-Fa-f]{2}[:-]){1,7}([0-9A-Fa-f]{2})
    • hash value or empty string if type is face_id.
  • type string required

    Possible values: [card, ukey, input_code, qr, face_id]

    This model describes the types of identifiers

  • owner object
  • name string required

    Possible values: non-empty and <= 128 characters

  • type string required

    Possible values: [owner, guest]

  • floors integer[] required

    Possible values: <= 98

    List of floors available for this identifier

  • apartments string[] required

    Possible values: Value must match regular expression ^\d{2}-\d{2}$

    List of apartments available for this identifier

Responses

OK


Schema
  • uid integer

    UID for entities references

Loading...