GET api/Companies/{id}
Get company by ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Company ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns found provider company
CompanyModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Company Id |
globally unique identifier |
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. |
Destinations | Collection of CompanyDestinationModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "470bcd1e-d9bc-4077-8f36-88daf1c1d3e4", "Name": "sample string 2", "StorageLimit": 1, "LicenseSettings": 0, "Destinations": [ { "DestinationId": "425b5a0b-dcc8-4fd2-b800-edf4426a95d5" }, { "DestinationId": "425b5a0b-dcc8-4fd2-b800-edf4426a95d5" } ] }
application/xml, text/xml
Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models"> <Destinations> <CompanyDestinationModel> <DestinationId>425b5a0b-dcc8-4fd2-b800-edf4426a95d5</DestinationId> </CompanyDestinationModel> <CompanyDestinationModel> <DestinationId>425b5a0b-dcc8-4fd2-b800-edf4426a95d5</DestinationId> </CompanyDestinationModel> </Destinations> <LicenseSettings>CustomUsersSettings</LicenseSettings> <Name>sample string 2</Name> <StorageLimit>1</StorageLimit> <Id>470bcd1e-d9bc-4077-8f36-88daf1c1d3e4</Id> </CompanyModel>