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

POST API/Packages

Creates new package.

Request Information

URI Parameters

None.

Body Parameters

Name Description Type Additional Information
Name Package name string Required
Description Package description string None
StorageLimit In Gb decimal number Required
isGlacierRestoreLimit - boolean Required
RestoreLimit In Gb decimal number None
Cost - decimal number Required
GlacierRestoreType Only for Amazon to Glacier accounts. Notes: 'Standard' = default value. 'No' = Do not restore files from Glacier GlacierRestoreType None
UseRestoreLimit User restore limit. Default value is 'false' boolean None

Request Formats

application/json, text/json

{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "StorageLimit": 3.1,
  "isGlacierRestoreLimit": true,
  "RestoreLimit": 5.1,
  "Cost": 6.0,
  "GlacierRestoreType": 0,
  "UseRestoreLimit": true
}

application/xml, text/xml

<PackageCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <Cost>6</Cost>
  <Description>sample string 2</Description>
  <GlacierRestoreType>Standard</GlacierRestoreType>
  <Name>sample string 1</Name>
  <RestoreLimit>5.1</RestoreLimit>
  <StorageLimit>3.1</StorageLimit>
  <UseRestoreLimit>true</UseRestoreLimit>
  <isGlacierRestoreLimit>true</isGlacierRestoreLimit>
</PackageCreate>

application/x-www-form-urlencoded

none

Response Information

Resource Description

IHttpActionResult None.

Response Formats

https://git.cloudberrylab.com/egor.m/doc-help-mbs.git