Get Charge Offers

get

/bcws/webresources/v1.0/depositManagement/chargeOffer

Gets the charge offers that match the query parameters.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The charge offers were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : installmentChargeOffer
Type: object
Show Source

500 Response

An error occurred. An exception has been raised.
Back to Top

Examples

This example shows how to get deposit charge offers for a particular category 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/depositManagement/chargeOffer?category=/account'

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.

[
    {
        "id": "0.0.0.1+-product+125525",
        "createdAt": "2021-09-16T11:38:20.000Z",
        "startsAt": "1970-01-01T00:00:00.000Z",
        "expiresAt": "1970-01-01T00:00:00.000Z",
        "name": "Deposit Charge Offer",
        "code": "Deposit Charge Offer",
        "descr": "Deposit Charge Offer",
        "permitted": "/account",
        "offerType": "ONGOING"
    },
    {
        "id": "0.0.0.1+-product+126677",
        "createdAt": "2021-09-16T11:38:20.000Z",
        "startsAt": "1970-01-01T00:00:00.000Z",
        "expiresAt": "2024-01-01T00:00:00.000Z",
        "name": "Deposit Charge Offer1",
        "code": "Deposit Charge Offer1",
        "descr": "Deposit Charge Offer1",
        "permitted": "/account",
        "offerType": "ONGOING"
    }
]
Back to Top