Get Company Entity
- Returns information about Company and attached Apartments.
- This feature is available only in AA-14FBIS panel
Path Parameters
- company-uid integer requiredPossible values: >= 1Unique Identifier for Company Item 
- 200
- 400
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- name stringPossible values: non-emptyand<= 200 charactersCompany name. Should be unique 
- info stringPossible values: <= 1000 charactersAdditional Company info 
- text_color stringPossible values: [ auto,black,white]Additional option to customize text color in Company screen. auto - system will try to calculate proper text color according to background image white - white text color will be used black - black text color will be used 
- link_id stringLink unique ID 
- logo_path stringThis url may be used for downloading image 
- background_path stringThis url may be used for downloading image 
- apartments object- Model used to providing array of UIDs of various enumerated entities are stored in the panel, such as apartments, identifiers, forward, and similar with - countparamuid_items integer[]- Possible values: - >= -1- Array of UID for entities references link_ids uuid[]- Array of LinkIDs for entities references count integer- The number of values in the array 
{
  "name": "BAS-IP",
  "info": "Company info",
  "text_color": "black",
  "link_id": "91c615e3-1040-4815-8ecb-039a18b756b5",
  "logo_path": "/api/v1/files?imagePath=WallpaperImage.jpg",
  "background_path": "/api/v1/files?imagePath=WallpaperImage.jpg",
  "apartments": {
    "uid_items": [
      11,
      13,
      23,
      42
    ],
    "link_ids": [
      "91c615e3-1040-4815-8ecb-039a18b756b1",
      "91c615e3-1040-4815-8ecb-039a18b756b2",
      "91c615e3-1040-4815-8ecb-039a18b756b3",
      "91c615e3-1040-4815-8ecb-039a18b756b4"
    ],
    "count": 4
  }
}
{
  "name": "BAS-IP",
  "info": "Company info",
  "link_id": "123e4567-e89b-12d3-a456-326655440000",
  "text_color": "black",
  "logo_path": "/api/v1/files?imagePath=logo-e3c-c7f49894b4d8.jpg",
  "background_path": "/api/v1/files?imagePath=background-088-555ae8dbf1d5.jpg",
  "call_background_path": "/api/v1/files?imagePath=call-background-188-555ae8dbf1d5.jpg",
  "apartments": {
    "count": 2,
    "uid_items": [
      1,
      2
    ],
    "link_ids": [
      "123e4567-e89b-12d3-a456-326655440001",
      "123e4567-e89b-12d3-a456-326655440002"
    ]
  }
}
- Wrong company uid
- application/json
- Schema
- Example (from schema)
- Wrong uid
Schema
- error stringError message 
{
  "error": "Wrong JSON body"
}
{
  "error": "Wrong company uid"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringError 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 stringError message 
{
  "error": "Administrator rights required"
}
{
  "error": "Administrator rights required"
}