GET api/Packages/{id}

Get a package structures by packages id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Package unique identifier

integer

Required

Body Parameters

None.

Response Information

Resource Description

PackagesModels
NameDescriptionTypeAdditional information
ID

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

Sample:
{
  "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

Sample:
<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>