Attach identifier to apartment
Create a relation between the identifier and the apartment entities.
When requesting detailed information about an apartment, it will be given with identifierUid
.
Path Parameters
- apartmentUid integer required
Possible values:
>= 1
Unique Identifier for Apartment Item
- identifierUid integer required
Possible values:
>= 1
Unique Id for physical/input code identifier
Responses
- 200
- 400
- 401
- 403
- OK
- Identifier
identifierUid
is already attached to this apartment - Identifier
identifierUid
is already attached to another apartment
- application/json
- Schema
- Example (from schema)
- Attached to another apartment
- Attached to this apartment
Schema
- error string
{
"error": "Identifier uid is already attached to another apartment"
}
{
"error": "Identifier uid is already attached to another apartment"
}
{
"error": "Identifier uid is already attached to this apartment"
}
- application/json
- Schema
- Example (from schema)
- Wrong apartment uid
- Wrong identifier uid
- Already attached
- Attached to another apartment
Schema
- error string
{
"error": "Wrong Logical Address"
}
{
"error": "Wrong apartment uid"
}
{
"error": "Wrong identifier uid"
}
{
"error": "Identifier uid is already attached to this apartment"
}
{
"error": "Identifier uid is already attached to another"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
Loading...