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 Item
- identifierUid integer required
Possible values:
>= 1
Unique Id for physical/input code identifier
Responses
- 200
- 400
- 401
OK
- Identifier uid is already attached to this apartment
- Identifier uid is already attached to another apartment
- application/json
- Schema
- Example (from schema)
- Wrong apartment uid
- Wrong identifier uid
- Attached to another apartment
- Attached to this apartment
Schema
- MOD1
- MOD2
- error string
error type/info
- error string
string with info about what went wrong
anyOf
{
"error": "Wrong Logical Address"
}
{
"error": "Wrong apartment uid"
}
{
"error": "Wrong identifier uid"
}
{
"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"
}
Loading...