It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Intronis Backup
formerly ECHOplatform

Partner Package Plan List

  • Last updated on

URI

/v1/partners/{username}/package_plans

URI Parameters

  • username (string)

Methods

GET

GET / v1/partners/{username}/package_plans

Gets the partner's package pricing plans, which are assigned to partner’s account. If an account's username provided, show the pricing plans available to the account.

Scope

partners_read

Query Selector Parameters

  • n/a

Query Sorting Parameters

  • username (string) – Account’s username
  • order_by (string const) – PLAN_ID|PLAN_NAME|PRICE
  • order_dir (string const) – ASC|DESC

Request Body Parameters

  • n/a

Response Attributes

  • plan_id (int)
  • name (string)
  • base_usage (int) – bytes of base usage
  • base_price (decimal) – base price of the plan
  • link (link object)

Example JSON

Request:

GET /v1/partners/barracuda/package_plans?username=account HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

 

Response:

HTTP/1.1 200 OK

Content-Type: application/json

 

{

  "page": 1,

  "page_size": 100,

  "count": 2,

  "links": [

   {

     "rel": "first",

     "href": "https://api.intronis.com/v1/partners/barracuda/package_plans?username=account"

   },

  ],

  "list": [

   {

     "plan_id": 10,

     "name": "20g Monthly",

     "base_usage": 21474836480,

     "base_price": 19.95,

     "link": {

       "rel": "self",

       "href": "https://api.intronis.com/v1/partners/barracuda/plans/10"

     }

   },

   {

     "plan_id": 11,

     "name": "10g Monthly",

     "base_usage": 10737418240,

     "base_price": 9.95,

     "link": {

       "rel": "self",

       "href": "https://api.intronis.com/v1/partners/barracuda/plans/11"

     }

   }

  ]

}

Example2  JSON

Request:

GET /v1/partners/barracuda/package_plans HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

 

Response:

HTTP/1.1 200 OK

Content-Type: application/json

 

{

  "page": 1,

  "page_size": 100,

  "count": 2,

  "links": [

   {

     "rel": "first",

     "href":"https://api.intronis.com/v1/partners/barracuda/package_plans"

   },

  ],

  "list": [

   {

     "plan_id": 10,

     "name": "20g Monthly",

     "base_usage": 21474836480,

     "base_price": 19.95,

     "link": {

       "rel": "self",

       "href": "https://api.intronis.com/v1/partners/barracuda/plans/10"

     }

   },

   {

     "plan_id": 11,

     "name": "10g Monthly",

     "base_usage": 10737418240,

     "base_price": 9.95,

     "link": {

       "rel": "self",

       "href": "https://api.intronis.com/v1/partners/barracuda/plans/11"

     }

   }

  ]

}

Example XML

Request:

GET /v1/partners/barracuda/package_plans HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/xml

 

Response:

HTTP/1.1 200 OK

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<list page="2" page_size="10" count="2">

  <link rel="first" href="https://api.intronis.com/v1/partners/barracuda/package_plans"/>

  <plan>

   <plan_id>10</plan_id>

   <name>20g Monthly</name>

   <base_usage>21474836480</base_usage>

   <base_price>19.95</base_price>

   <link rel="self" href="https://api.intronis.com/v1/partners/barracuda/plans/10"/>

  </plan>

  <plan>

   <plan_id>11</plan_id>

   <name>10g Monthly</name>

   <base_usage>10737418240</base_usage>

   <base_price>9.95</base_price>

   <link rel="self" href="https://api.intronis.com/v1/partners/barracuda/plans/11"/>

  </plan>

</list>

Example2 XML

Request:

GET /v1/partners/barracuda/package_plans?username=account HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/xml

 

Response:

HTTP/1.1 200 OK

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<list page="2" page_size="10" count="2">

  <link rel="first" href="https://api.intronis.com//v1/partners/barracuda/package_plans?username=account "/>

  <plan>

   <plan_id>10</plan_id>

   <name>20g Monthly</name>

   <base_usage>21474836480</base_usage>

   <base_price>19.95</base_price>

   <link rel="self" href="https://api.intronis.com/v1/partners/barracuda/plans/10"/>

  </plan>

  <plan>

   <plan_id>11</plan_id>

   <name>10g Monthly</name>

   <base_usage>10737418240</base_usage>

   <base_price>9.95</base_price>

   <link rel="self" href="https://api.intronis.com/v1/partners/barracuda/plans/11"/>

  </plan>

</list>