Attach Apartment to Company
Allows to attach Apartment to Company. Many Apartment can be attached to Company. Any Apartment can be attached to any Company.
Path Parameters
- company-uid integer required
Possible values:
>= 1
Unique Identifier for Company Item
- apartment-uid integer required
Possible values:
>= 1
Unique Identifier for Apartment Item
Responses
- 200
- 400
- 401
- 403
OK
No such Company or Apartment
- application/json
- Schema
- Example (from schema)
- No such Apartment
- No such Company
Schema
- error string
Error message
{
"error": "Wrong JSON body"
}
{
"error": "Wrong apartment uid"
}
{
"error": "Wrong company uid"
}
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...