Get Bundles for a Service

get

/bcws/webresources/v1.0/subscriptions/service/{id}/bundleoffers

Gets the bundles for the specified service ID.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The bundles were returned successfully.
Body ()
Root Schema : bundleOffers
Type: object
Show Source
Nested Schema : bundleOffer
Type: array
A bundle.
Show Source
Nested Schema : BundleOffer
Type: object
A bundle.
Show Source
Nested Schema : chargeoffers
Type: array
A list of charge offers.
Show Source
Nested Schema : discountoffers
Type: array
A list of discount offers.
Show Source
Nested Schema : Chargeoffers
Type: object
The list of charge offers in the bundle.
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : Discountoffers
Type: object
The list of discount offers in the bundle.
Show Source

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get the bundle offers for a specified service by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X GET http://hostname:port/bcws/webresources/version/subscriptions/service/0.0.0.1+-service-ip+1606694/bundleoffers

where:

  • hostname is the URL for the Billing Care REST server.
  • port is the port for the Billing Care REST server.
  • version is the version of the API you're using, such as v1.0.

Example of Response Body

This example shows the contents of the response body in JSON format.

{
  "bundleOffer": [
    {
      "bundleId": "0.0.0.1+-deal+856633",
      "name": "Ip_Deal",
      "packageId": "224",
      "chargeoffers": [
        {
          "chargeRef": {
            "id": "0.0.0.1+-purchased_product+1608742",
            "uri": null
          },
          "name": "IP",
          "description": "",
          "isRequired": true,
          "status": "1",
          "lastStatusChange": 1393676070000
        }
      ],
      "discountoffers": []
    }
  ]
}
Back to Top