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

    Info about identifier owner

  • name string required

    Possible values: non-empty and <= 128 characters

    Owner's name

  • type string required

    Possible values: [owner, guest]

    type of owner, can be either guest or genuine owner

  • 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...