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 TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
The list of sponsors was returned successfully.
Nested Schema : sponsor
Type:
Show Source
object
-
description(required): string
The sponsored offer's description.
-
eventDescription(required): string
The description of the event associated with the sponsored offer.
-
eventType(required): string
The event type associated with the sponsored offer.
-
extension: object
extension
The extended attributes.
-
name(required): string
The name of the sharing group.
-
offeringRef: object
ResourceRef
-
quantity: string
The quantity of the sponsored offer in the sharing group.
-
selected: boolean
Whether the sponsored offer is selected (true) or not (false).
-
sponsorshipRef(required): object
ResourceRef
-
validFrom(required): string
(date-time)
The date and time the sponsored offer's validity starts.
-
validTo(required): string
(date-time)
The date and time the sponsored offer's validity ends.
Nested Schema : extension
Type:
object
The extended attributes.
Nested Schema : ResourceRef
Type:
Show Source
object
-
id(required): string
The ID.
-
uri: string
The Uniform Resource Identifier (URI) associated with the resource.
500 Response
An internal server error occurred.
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
}
]