Retrieves the subscription product usages trend

get

/ccstore/v1/selfservice/subscriptionProducts/{subscriptionProductPuId}/subscriptionBalanceRegisters/{balanceRegisterId}/registerAllowances

based on id and balance register id.

Request

Supported Media Types
Path Parameters
Query Parameters
  • The batch size of the subscription products covered assets to be fetched together. Default limit is 25, max limit is also 25
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Specifies a comma-separated list of pairs to order the response by. Default value is GrantDate.
  • parameters to filter the result.
  • it provides the number of total results. Default is false
Back to Top

Response

Supported Media Types

200 Response

Response containing the subscription product detail
Body ()
Root Schema : getSubscriptionProductUsagesTrend_Response
Type: object
Show Source
  • The number of resource instances returned in the current range.
  • Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
  • Balance Register allowances Items
    Title: Balance Register allowances Items
    The Balance Register allowances Items resource manages the items in a Balance Register.
  • The actual paging size used by the server.
  • The offset value used in the current page.
  • The estimated row count when "?totalResults=true", otherwise the count is not included.
Example:
{
    "offset":0,
    "count":1,
    "hasMore":false,
    "limit":25,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:8080/ccstore/v1/selfservice/subscriptionProducts/4821-002-PRDT-28059/subscriptionBalanceRegisters/CDRM_1009/registerAllowances?q=StartDate%20%3C=%272024-03-27%27%20AND%20EndDate%20%3E=%272024-03-27%27"
        }
    ],
    "items":[
        {
            "CurrencyCode":null,
            "StartDate":"2024-03-01",
            "ConsumedQuantity":"0",
            "RemainingQuantity":"0",
            "ConsumedAmount":null,
            "Amount":null,
            "QuantityUnitOfMeasure":"Ea",
            "Quantity":"20000",
            "EndDate":"2024-03-31",
            "@context":{
                "headers":{
                    "ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                },
                "key":"CDRM_1009-BARA-109"
            },
            "RemainingAmount":null
        }
    ]
}
Nested Schema : Balance Register allowances Items
Type: array
Title: Balance Register allowances Items
The Balance Register allowances Items resource manages the items in a Balance Register.
Show Source
Nested Schema : items
Type: object
Show Source

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |59000|If there is a missing required property.| |59002|If request can't be processed currently.| |59003|If there is any invalid path parameter| |59004|If resource is not found| |59005|If error occurred while processing input.| |59008|If any issue occurred while triggering the fusion.| |59010|If self service is not enabled|
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top