Get Charges Added to Sharing Groups

get

/bcws/webresources/v1.0/sharing/sponsors/charge

Gets a list of all charges that have been added to sharing groups across the system.

Request

There are no request parameters for this operation.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The list of sponsors was returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : sponsor
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : ResourceRef
Type: object
Show Source

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get a list of charges that are shared in sharing groups 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/sharing/sponsors/charge'

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.

[
    {
        "extension":null,
        "sponsorshipRef":{
            "id":"0.0.0.1+-sponsorship+225511",
            "uri":null
        },
        "offeringRef":null,
        "name":"Charge Share for Monthly Cycle FWD",
        "quantity":null,
        "description":"",
        "eventType":"/event/billing/product/fee/cycle/cycle_forward_monthly",
        "eventDescription":"Monthly Cycle Forward Event",
        "validFrom":0,
        "validTo":0,
        "selected":false
    },
    {
        "extension":null,
        "sponsorshipRef":{
            "id":"0.0.0.1+-sponsorship+198142",
            "uri":null
        },
        "offeringRef":null,
        "name":"Standard GSM Charge Share",
        "quantity":null,
        "description":"",
        "eventType":"/event/delayed/session/telco/gsm",
        "eventDescription":"Delayed Telco GSM Session",
        "validFrom":0,
        "validTo":0,
        "selected":false
    }
]
Back to Top