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
name string requiredtype string requiredPossible values: [
owner
,guest
]- identifier_type string
Possible values: [
card
,ukey
,inputCode
,qr
,license_plate
] - identifier_number string
- 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
Possible values: [
second
,all
,first
] valid object
time object required
is_permanent boolean requiredfrom int64Unix Timestamp Date
to int64Unix Timestamp Date
passes object required
is_permanent boolean requiredmax_passes integer
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 string
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"
}
Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...