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)
- Attached to another apartment
- Attached to this apartment
Schema
- error string
string with info about what went wrong
{
"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
- Attached to another apartment
Schema
- error string
error type/info
{
"error": "Wrong Logical Address"
}
{
"error": "Wrong apartment uid"
}
{
"error": "Wrong identifier uid"
}
{
"error": "Identifier uid is already attached to another"
}
Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...