Products: Managed Backup (Agent)
Article ID: m0632Last Modified: 29-Sep-2024

GET API/Companies

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns companies list.

Name Description Type Additional Information
Id Company Id GUID None
Name Company Name string None
StorageLimit Company backup limit. A negative value indicates the resource is unconstrained by a quota integer None
LicenseSettings Company license settings: 0 - Custom (Users have custom license settings) 1 - Global Pool (Users activate paid licenses from the global pool automatically) 2 - Company Pool (Users can activate only limited number of paid licenses from the company pool) LicensingMode None

Response Formats

application/json, text/json

[
  {
    "Id": "78626016-528a-407e-85d7-c102993320e7",
    "Name": "sample string 2",
    "StorageLimit": 1,
    "LicenseSettings": 0
  },
  {
    "Id": "78626016-528a-407e-85d7-c102993320e7",
    "Name": "sample string 2",
    "StorageLimit": 1,
    "LicenseSettings": 0
  }
]

application/xml, text/xml

<ArrayOfCompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <CompanyModel>
    <LicenseSettings>CustomUsersSettings</LicenseSettings>
    <Name>sample string 2</Name>
    <StorageLimit>1</StorageLimit>
    <Id>78626016-528a-407e-85d7-c102993320e7</Id>
  </CompanyModel>
  <CompanyModel>
    <LicenseSettings>CustomUsersSettings</LicenseSettings>
    <Name>sample string 2</Name>
    <StorageLimit>1</StorageLimit>
    <Id>78626016-528a-407e-85d7-c102993320e7</Id>
  </CompanyModel>
</ArrayOfCompanyModel>
https://git.cloudberrylab.com/egor.m/doc-help-mbs.git