GET api/Bundles/{bundleId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bundleId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Bundle
NameDescriptionTypeAdditional information
id

integer

None.

count

integer

None.

name

string

None.

plans

Collection of Plan

None.

pricing

Collection of BundlePricing

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "count": 1,
  "name": "sample string 2",
  "plans": [
    {
      "name": "sample string 1",
      "id": 2,
      "short_name": "sample string 3",
      "description": "sample string 4",
      "enroll_title": "sample string 5",
      "enroll_description": "sample string 6",
      "feature_description": "sample string 7",
      "small_image_name": "sample string 8",
      "medium_image_name": "sample string 9",
      "large_image_name": "sample string 10",
      "route_name": "sample string 11",
      "service_company": "sample string 12",
      "name2": "sample string 13",
      "feature_title": "sample string 14"
    },
    {
      "name": "sample string 1",
      "id": 2,
      "short_name": "sample string 3",
      "description": "sample string 4",
      "enroll_title": "sample string 5",
      "enroll_description": "sample string 6",
      "feature_description": "sample string 7",
      "small_image_name": "sample string 8",
      "medium_image_name": "sample string 9",
      "large_image_name": "sample string 10",
      "route_name": "sample string 11",
      "service_company": "sample string 12",
      "name2": "sample string 13",
      "feature_title": "sample string 14"
    }
  ],
  "pricing": [
    {
      "id": 1,
      "frequency_id": 2,
      "frequency": "sample string 3",
      "tier_id": 4,
      "tier": "sample string 5",
      "price": 6.0,
      "is_active": true
    },
    {
      "id": 1,
      "frequency_id": 2,
      "frequency": "sample string 3",
      "tier_id": 4,
      "tier": "sample string 5",
      "price": 6.0,
      "is_active": true
    }
  ]
}

application/xml, text/xml

Sample:
<Bundle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trias.PlanDataRepo.Models">
  <count>1</count>
  <id>1</id>
  <name>sample string 2</name>
  <plans>
    <Plan>
      <description>sample string 4</description>
      <enroll_description>sample string 6</enroll_description>
      <enroll_title>sample string 5</enroll_title>
      <feature_description>sample string 7</feature_description>
      <feature_title>sample string 14</feature_title>
      <id>2</id>
      <large_image_name>sample string 10</large_image_name>
      <medium_image_name>sample string 9</medium_image_name>
      <name>sample string 1</name>
      <name2>sample string 13</name2>
      <route_name>sample string 11</route_name>
      <service_company>sample string 12</service_company>
      <short_name>sample string 3</short_name>
      <small_image_name>sample string 8</small_image_name>
    </Plan>
    <Plan>
      <description>sample string 4</description>
      <enroll_description>sample string 6</enroll_description>
      <enroll_title>sample string 5</enroll_title>
      <feature_description>sample string 7</feature_description>
      <feature_title>sample string 14</feature_title>
      <id>2</id>
      <large_image_name>sample string 10</large_image_name>
      <medium_image_name>sample string 9</medium_image_name>
      <name>sample string 1</name>
      <name2>sample string 13</name2>
      <route_name>sample string 11</route_name>
      <service_company>sample string 12</service_company>
      <short_name>sample string 3</short_name>
      <small_image_name>sample string 8</small_image_name>
    </Plan>
  </plans>
  <pricing>
    <BundlePricing>
      <frequency>sample string 3</frequency>
      <frequency_id>2</frequency_id>
      <id>1</id>
      <is_active>true</is_active>
      <price>6</price>
      <tier>sample string 5</tier>
      <tier_id>4</tier_id>
    </BundlePricing>
    <BundlePricing>
      <frequency>sample string 3</frequency>
      <frequency_id>2</frequency_id>
      <id>1</id>
      <is_active>true</is_active>
      <price>6</price>
      <tier>sample string 5</tier>
      <tier_id>4</tier_id>
    </BundlePricing>
  </pricing>
</Bundle>