GET API/Packages ID

The method gets package structures by packages ID.

Request Information

URI Parameters

Name Description Type Additional Information
id Package unique identifier integer Required

Body Parameters

None.

Response Information

Resource Description

Name Description Type Additional Information
Package unique identifier - integer Required
Cost - decimal number None
Description - string None
Enabled - boolean Required
Name - string Required
StorageLimit In Gb decimal number None
isGlacierRestoreLimit - boolean Required
RestoreLimit In Gb decimal number None
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

Response Formats

application/json, text/json

{
  "ID": 1,
  "Cost": 2.0,
  "Description": "sample string 3",
  "Enabled": true,
  "Name": "sample string 5",
  "StorageLimit": 6.1,
  "isGlacierRestoreLimit": true,
  "RestoreLimit": 1.1,
  "GlacierRestoreType": 0,
  "UseRestoreLimit": true
}

application/xml, text/xml

<PackagesModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <Cost>2</Cost>
  <Description>sample string 3</Description>
  <Enabled>true</Enabled>
  <GlacierRestoreType>Standard</GlacierRestoreType>
  <ID>1</ID>
  <Name>sample string 5</Name>
  <RestoreLimit>1.1</RestoreLimit>
  <StorageLimit>6.1</StorageLimit>
  <UseRestoreLimit>true</UseRestoreLimit>
  <isGlacierRestoreLimit>true</isGlacierRestoreLimit>
</PackagesModels>
https://git.cloudberrylab.com/egor.m/doc-help-mbs.git