Get Customized Account Offers

get

/bcws/webresources/v1.0/subscriptions/account/{id}/customizedoffers

Gets a list of customized account-level offers for an account.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The list of customized account-level offers was returned successfully.
Body ()
Root Schema : customizedOffers
Type: object
Show Source
Nested Schema : customizedOffer
Type: array
Show Source
Nested Schema : CustomizedOffer
Type: object
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : overriddenCharges
Type: array
The overridden charges.
Show Source
Nested Schema : overriddenCharges
Type: object
Show Source
Nested Schema : charges
Type: array
The charge details.
Show Source
Nested Schema : Charges
Type: object
The charge details.
Show Source
Nested Schema : charge
Type: array
The charges.
Show Source
Nested Schema : Charge
Type: object
The charges.
Show Source

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get the customized charge offers for an account 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/account/0.0.0.1+-service-ip+156801/customizedoffers'

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.

{
    "customizedOffer": [
        {
            "id": "0.0.0.1+-product+143633",
            "purchasedProductRef": {
                "id": "0.0.0.1+-purchased_product+157313",
                "uri": null
            },
            "cycleDuration": 1,
            "recurringFee": 10,
            "recurringFeeOverriden": 0,
            "recurringDiscount": 0,
            "recurringDiscountPercent": 0,
            "purchaseFee": null,
            "purchaseFeeOverriden": 0,
            "purchaseDiscount": 0,
            "purchaseDiscountPercent": 0,
            "usageDiscount": 0,
            "usageStartT": 1601362800000,
            "usageEndT": 0,
            "purchaseStartT": 1601362800000,
            "purchaseEndT": 0,
            "cycleStartT": 1601362800000,
            "cycleEndT": 0,
            "terminationFee": null
        }
    ]
}
Back to Top