Update Identifier Entity
Update Identifier Entity
Path Parameters
- identifierUid integer required
Possible values:
>= 1
Unique Id for physical/input code identifier
- application/json
Request Body required
identifier_owner object required
info about identifier owner
name string requiredidentifier owner name
type string requiredPossible values: [
owner
,guest
]owner type
- identifier_type string required
Possible values: [
card
,ukey
,inputCode
,qr
,license_plate
]type of identifier
- identifier_number string required
- hex or dec if identifier_type is card or ukey
- dec if identifier_type is inputCode
- uuid if identifier_type is qr
- pattern for hex and dec if identifier_type is card or ukey - [0-9]{1,10} or ([0-9A-Fa-f]{2}[:-]){1,7}([0-9A-Fa-f]{2})
- 1..100 characters if identifier_type is license_plate
- lock string required
Possible values: [
second
,all
,first
]locks or locks that are linked to identifier
valid object required
object for valid identifier
time object required
time for which identifier is valid
is_permanent boolean requiredidentifier is permanently valid
from int64Unix Timestamp Date
to int64Unix Timestamp Date
passes object required
passes that particular identifier provides
is_permanent boolean requiredpasses are permanently granted
max_passes integernumber of passes identifier can provide
Responses
- 200
- 400
- 401
OK
- Wrong Identifier uid
- Identifier with that type and number already exist
- Cannot create identifier with the same input code number as master code
- Cannot create identifier with same card number as master card
- application/json
- Schema
- Example (from schema)
- Wrong J S O N body
- Identifier exists
- Duplicate master code
- Duplicate master card
Schema
- MOD1
- MOD2
- error string
error type/info
- error string
error type/info
anyOf
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body"
}
{
"error": "Identifier with that type and number already exist"
}
{
"error": "Cannot create identifier with the same input code number as master code"
}
{
"error": "Cannot create identifier with same card number as master card"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...