Skip to main content

Create Company Entity

Creates Company Entity. The item_uid value returned in the response can be used as the company-uid parameter in next requests:

  • GET/PUT/DELETE /companies/{company-uid} to get detailed company information, edit or remove it
  • POST/DELETE /companies/{company-uid}/apartment/{apartment-uid} to attach/detach apartment to/from company
  • POST/DELETE /companies/{company-uid}/logo to add/remove company's logo. It can be displayed in favorites contacts on main screen
  • POST/DELETE /companies/{company-uid}/background to add/remove company's background. It will be displayed during call as a background profile photo
  • This feature is available only in AA-14FBIS panel
Request Body required
  • name string required

    Possible values: non-empty and <= 200 characters

    Company name. Should be unique

  • info string

    Possible values: <= 1000 characters

    Additional Company info

  • text_color string required

    Possible 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

Responses

OK


Schema
  • item_uid integer

    Possible values: >= -1

    UID for entities references. If value is -1, then it means that is no entity reference for this structure

Loading...