GET api/switchone/bundles?bundle={bundle}&network={network}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bundle

string

Required

network

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetProductResponseDataBundles
NameDescriptionTypeAdditional information
SmsOrBundlePackage

string

None.

ProductName

string

None.

TSSProductBundleShortCode

string

None.

TSSProductBundleName

string

None.

TSSProductBundleValue

decimal number

None.

TSSProductBundleMegs

decimal number

None.

ResponseCode

integer

None.

ResponseMessage

string

None.

ServerDateTime

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "smsOrBundlePackageField": "sample string 1",
    "productNameField": "sample string 2",
    "tSSProductBundleShortCodeField": "sample string 3",
    "tSSProductBundleNameField": "sample string 4",
    "tSSProductBundleValueField": 5.0,
    "tSSProductBundleMegsField": 6.0,
    "responseCodeField": 7,
    "responseMessageField": "sample string 8",
    "serverDateTimeField": "2025-06-01T16:48:09.1567718+00:00"
  },
  {
    "smsOrBundlePackageField": "sample string 1",
    "productNameField": "sample string 2",
    "tSSProductBundleShortCodeField": "sample string 3",
    "tSSProductBundleNameField": "sample string 4",
    "tSSProductBundleValueField": 5.0,
    "tSSProductBundleMegsField": 6.0,
    "responseCodeField": 7,
    "responseMessageField": "sample string 8",
    "serverDateTimeField": "2025-06-01T16:48:09.1567718+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetProductResponseDataBundles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ByteBucks.ServiceAPIs.CLIGenericListener">
  <GetProductResponseDataBundles>
    <responseCodeField>7</responseCodeField>
    <responseMessageField>sample string 8</responseMessageField>
    <serverDateTimeField>2025-06-01T16:48:09.1567718+00:00</serverDateTimeField>
    <productNameField>sample string 2</productNameField>
    <smsOrBundlePackageField>sample string 1</smsOrBundlePackageField>
    <tSSProductBundleMegsField>6</tSSProductBundleMegsField>
    <tSSProductBundleNameField>sample string 4</tSSProductBundleNameField>
    <tSSProductBundleShortCodeField>sample string 3</tSSProductBundleShortCodeField>
    <tSSProductBundleValueField>5</tSSProductBundleValueField>
  </GetProductResponseDataBundles>
  <GetProductResponseDataBundles>
    <responseCodeField>7</responseCodeField>
    <responseMessageField>sample string 8</responseMessageField>
    <serverDateTimeField>2025-06-01T16:48:09.1567718+00:00</serverDateTimeField>
    <productNameField>sample string 2</productNameField>
    <smsOrBundlePackageField>sample string 1</smsOrBundlePackageField>
    <tSSProductBundleMegsField>6</tSSProductBundleMegsField>
    <tSSProductBundleNameField>sample string 4</tSSProductBundleNameField>
    <tSSProductBundleShortCodeField>sample string 3</tSSProductBundleShortCodeField>
    <tSSProductBundleValueField>5</tSSProductBundleValueField>
  </GetProductResponseDataBundles>
</ArrayOfGetProductResponseDataBundles>