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 identifier-uid
.
Path Parameters
- apartment-uid integer required
Possible values:
>= 1
Unique Identifier for Apartment Item
- identifier-uid integer required
Possible values:
>= 1
Unique Id for physical/input code identifier
Responses
- 200
- 400
- 401
- 403
OK
- Identifier
identifier-uid
is already attached to this apartment - Identifier
identifier-uid
is already attached to another apartment
- application/json
- Schema
- Example (from schema)
- Wrong apartment uid
- Wrong identifier uid
- Already attached
- Attached to another apartment
- Attached to this apartment
Schema
- error string
Error message
{
"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 apartment"
}
{
"error": "Identifier uid is already attached to this apartment"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error message
{
"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 message
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
Loading...