PUT api/Companies
Update company data
Request Information
URI Parameters
None.
Body Parameters
Company data to update
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. |
Request Formats
application/json, text/json
Sample:
{ "Id": "7d4eb8a9-df8d-489b-8315-77dfd822a5b1", "Name": "sample string 2", "StorageLimit": 1, "LicenseSettings": 0, "Destinations": [ { "DestinationId": "0391c3c2-ef97-418b-8c0e-9834186d0f6c" }, { "DestinationId": "0391c3c2-ef97-418b-8c0e-9834186d0f6c" } ] }
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>0391c3c2-ef97-418b-8c0e-9834186d0f6c</DestinationId> </CompanyDestinationModel> <CompanyDestinationModel> <DestinationId>0391c3c2-ef97-418b-8c0e-9834186d0f6c</DestinationId> </CompanyDestinationModel> </Destinations> <LicenseSettings>CustomUsersSettings</LicenseSettings> <Name>sample string 2</Name> <StorageLimit>1</StorageLimit> <Id>7d4eb8a9-df8d-489b-8315-77dfd822a5b1</Id> </CompanyModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Company update result
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.