Get Usage

get

/usage

The operation lists or finds Usage entities.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The request was successful.
Headers
Body ()
Root Schema : schema
Type: array
Show Source
  • Usage
    An occurrence of employing a Product, Service, or Resource for its intended purpose, which is of interest to the business and can have charges applied to it. It is comprised of characteristics, which represent attributes of usage.
Nested Schema : Usage
Type: object
An occurrence of employing a Product, Service, or Resource for its intended purpose, which is of interest to the business and can have charges applied to it. It is comprised of characteristics, which represent attributes of usage.
Show Source
Nested Schema : Money
Type: object
Represents a monetary amount.
Show Source
Nested Schema : appliedCustomerBillingRate
Type: object
The applied customer billing rate associated with the usage.
Show Source
Nested Schema : bill
Type: object
The bill associated with the usage.
Show Source
Nested Schema : billingAccount
Type: object
The billing account associated with the usage.
Show Source
Nested Schema : billStructure
Type: object
The bill structure associated with the usage.
Show Source
Nested Schema : nonCurrencyDetails
Type: array
The rated details for non-currency resources.
Show Source
Nested Schema : ratedProductUsage
Type: array
Show Source
Nested Schema : service
Type: object
The service associated with the usage.
Show Source
Nested Schema : NonCurrencyDetail
Type: object
Rated details for a non-currency resource.
Show Source
Nested Schema : RatedProductUsage
Type: object
An occurrence of employing a product for its intended purpose with all rating details.
Show Source

400 Response

The request is invalid.
Body ()
Root Schema : Error
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Match All
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Show Source
Nested Schema : Extensible
Type: object
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
Show Source
Nested Schema : Error-allOf[1]
Type: object
Show Source

401 Response

The request is unauthorized.
Body ()
Root Schema : Error
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Match All
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Show Source
Nested Schema : Extensible
Type: object
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
Show Source
Nested Schema : Error-allOf[1]
Type: object
Show Source

403 Response

The request is forbidden.
Body ()
Root Schema : Error
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Match All
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Show Source
Nested Schema : Extensible
Type: object
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
Show Source
Nested Schema : Error-allOf[1]
Type: object
Show Source

404 Response

The resource was not found.
Body ()
Root Schema : Error
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Match All
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Show Source
Nested Schema : Extensible
Type: object
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
Show Source
Nested Schema : Error-allOf[1]
Type: object
Show Source

405 Response

The request method is not allowed.
Body ()
Root Schema : Error
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Match All
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Show Source
Nested Schema : Extensible
Type: object
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
Show Source
Nested Schema : Error-allOf[1]
Type: object
Show Source

409 Response

The request conflicts with the current state of the resource.
Body ()
Root Schema : Error
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Match All
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Show Source
Nested Schema : Extensible
Type: object
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
Show Source
Nested Schema : Error-allOf[1]
Type: object
Show Source

500 Response

The server encountered an internal error.
Body ()
Root Schema : Error
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Match All
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Represents an error returned by an API, typically with an HTTP 3xx, 4xx, or 5xx response code.
Show Source
Nested Schema : Extensible
Type: object
Represents a base extensible schema for TM Forum Open APIs. The entity must include @type.
Show Source
Nested Schema : Error-allOf[1]
Type: object
Show Source
Back to Top

Examples

Get Usage with a Result Limit

The following examples show how to get usage data by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.

The request uses the limit query parameter to limit the results.

curl -X GET 'http://host:port/brm/usageManagement/version/usage?limit=2'

Response Body

The following example shows the contents of the response body in JSON format.

[

   {

      "@baseType": "Usage",

      "@type": "Usage",

      "id": "0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+326088760519522593",

      "href": "http://host:port/brm/usageManagement/version/usage/0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+326088760519522593",

      "usageDate": "2025-08-14T00:00:00-07:00",

      "usageType": "EventBillingProductFeeCycleCycle_forward_monthly",

      "status": "rated",

      "usageCharacteristic": [],

      "relatedParty": [],

      "ratedProductUsage": [

         {

            "ratingDate": "2025-08-14T00:00:00-07:00",

            "usageRatingTag": "Rate 1",

            "taxExcludedRatingAmount": {

               "unit": "USD",

               "value": 20.0

            },

            "taxIncludedRatingAmount": {

               "unit": "USD",

               "value": 20.0

            },

            "taxRate": 0.0

         }

      ]

   },

   {

      "@baseType": "Usage",

      "@type": "Usage",

      "id": "0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+326088760519524129",

      "href": "http://host:port/brm/usageManagement/version/usage/0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+326088760519524129",

      "usageDate": "2025-09-14T00:00:00-07:00",

      "usageType": "EventBillingProductFeeCycleCycle_forward_monthly",

      "status": "rated",

      "usageCharacteristic": [],

      "relatedParty": [],

      "ratedProductUsage": [

         {

            "ratingDate": "2025-09-14T00:00:00-07:00",

            "usageRatingTag": "Rate 1",

            "taxExcludedRatingAmount": {

               "unit": "USD",

               "value": 40.0

            },

            "taxIncludedRatingAmount": {

               "unit": "USD",

               "value": 40.0

            },

            "taxRate": 0.0

         }

      ]

   }

]

Get Usage by Date Range

The following example retrieves usage records of type Usage within an inclusive usageDate range for a bill structure. The limit query parameter limits the response to two records.

curl -X GET 'http://host:port/brm/usageManagement/v4/usage?limit=2&usageDate.gte=2018-01-01T08:00:00%2B00:00&usageDate.lte=2026-12-01T08:00:00%2B05:00&billStructure.id=billing-account-strucuture-post-4'

Response Body

The following example shows the contents of the response body in JSON format.

[
  {
    "@type": "Usage",
    "billStructure": {
      "id": "billing-account-strucuture-post-4"
    },
    "description": "Event Settlement",
    "endTime": "2026-10-09T03:40:46.00Z",
    "id": "0.0.0.1+-event-billing-settlement-event+364756385445133691",
    "href": "http://localhost:9090/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-settlement-event+364756385445133691",
    "taxAmount": {
      "unit": "EUR",
      "value": 0
    },
    "remainingAmount": {
      "unit": "EUR",
      "value": 46.548
    },
    "settledDisputeAmount": {
      "unit": "EUR",
      "value": 3
    },
    "discount": {
      "unit": "EUR",
      "value": 0
    },
    "billingAccount": {
      "id": "0.0.0.1-158699"
    },
    "service": {
      "id": "service-635"
    },
    "usageType": "/event/billing/settlement/event",
    "cycleEnd": "",
    "effectiveDate": "",
    "rumName": "",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.1+-item-settlement+364756385445131643"
    },
    "cycleStart": "",
    "quantity": 0,
    "@SchemaLocation": "",
    "ratedProductUsage": [
      {
        "taxIncludedAmount": {
          "unit": "EUR",
          "value": 43.548
        },
        "taxExcludedAmount": {
          "unit": "EUR",
          "value": 43.548
        },
        "taxCode": "VAT",
        "taxRate": 0
      }
    ],
    "nonCurrencyDetails": [
      {
        "resourceName": "YES",
        "originalNetAmount": -3135.5
      }
    ],
    "usageDate": "2026-10-09T03:40:46.00Z"
  },
  {
    "@type": "Usage",
    "billStructure": {
      "id": "billing-account-strucuture-post-4"
    },
    "description": "Event Dispute",
    "endTime": "2026-10-09T03:17:09.00Z",
    "id": "0.0.0.1+-event-billing-dispute-event+364756385445132411",
    "href": "http://localhost:9090/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-dispute-event+364756385445132411",
    "taxAmount": {
      "unit": "EUR",
      "value": 0
    },
    "remainingAmount": {
      "unit": "EUR",
      "value": 46.548
    },
    "settledDisputeAmount": {
      "unit": "EUR",
      "value": 3
    },
    "discount": {
      "unit": "EUR",
      "value": 0
    },
    "billingAccount": {
      "id": "0.0.0.1-158699"
    },
    "service": {
      "id": "service-635"
    },
    "usageType": "/event/billing/dispute/event",
    "cycleEnd": "",
    "effectiveDate": "",
    "rumName": "",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.1+-item-dispute+364756385445130363"
    },
    "cycleStart": "",
    "quantity": 0,
    "@SchemaLocation": "",
    "ratedProductUsage": [
      {
        "taxIncludedAmount": {
          "unit": "EUR",
          "value": 43.548
        },
        "taxExcludedAmount": {
          "unit": "EUR",
          "value": 43.548
        },
        "taxCode": "VAT",
        "taxRate": 0
      }
    ],
    "nonCurrencyDetails": [
      {
        "resourceName": "YES",
        "originalNetAmount": -3135.5
      }
    ],
    "usageDate": "2026-10-09T03:17:09.00Z"
  }
]

Get Usage by Service ID

The following example retrieves usage records using a service POID in the service.id query parameter.

curl -X GET 'http://host:port/brm/usageManagement/v4/usage?service.id=0.0.0.1+-service-telco-gsm-telephony+545925'

Response Body

The following example shows the contents of the response body in JSON format.

[
  {
    "@type": "Usage",
    "billStructure": {
      "id": "0.0.0.1+-bill_structure+173320"
    },
    "description": "Set Password",
    "endTime": "2018-01-01T08:00:00Z",
    "id": "0.0.0.1+-event-customer-password+308426205730874033",
    "href": "https://localhost:8089/brm/usageManagement/v5/usage/0.0.0.1+-event-customer-password+308426205730874033",
    "billingAccount": {
      "id": "0.0.0.1+-account+175112"
    },
    "service": {
      "id": "0.0.0.1+-service-ip+173233"
    },
    "usageType": "/event/customer/password",
    "cycleEnd": "",
    "effectiveDate": "",
    "rumName": "",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.0++0"
    },
    "cycleStart": "",
    "quantity": 0.0,
    "@SchemaLocation": "",
    "createdTime": "2018-01-01T08:00:00Z",
    "usageDate": "2018-01-01T08:00:00Z"
  },
  {
    "@type": "Usage",
    "billStructure": {
      "id": "0.0.0.1+-bill_structure+173320"
    },
    "description": "Cycle Forward Fees (srvc): Product 1a - Internet Access",
    "endTime": "2018-01-01T08:00:00Z",
    "id": "0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+308426205730873777",
    "href": "https://localhost:8089/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+308426205730873777",
    "billingAccount": {
      "id": "0.0.0.1+-account+175112"
    },
    "service": {
      "id": "0.0.0.1+-service-ip+173233"
    },
    "usageType": "/event/billing/product/fee/cycle/cycle_forward_monthly",
    "cycleEnd": "2018-02-03T08:00:00Z",
    "effectiveDate": "",
    "rumName": "Occurrence",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.1+-item-cycle_forward+308426205730877105"
    },
    "cycleStart": "2018-01-01T08:00:00Z",
    "quantity": 1.0,
    "@SchemaLocation": "",
    "createdTime": "2018-01-01T08:00:00Z",
    "usageDate": "2018-01-01T08:00:00Z",
    "taxAmount": {
      "unit": "USD",
      "value": 0.0
    },
    "remainingAmount": {
      "unit": "USD",
      "value": 10.59
    },
    "discount": {
      "unit": "USD",
      "value": 0.0
    },
    "bill": {
      "id": "0.0.0.1+-bill+308426205730875505"
    },
    "ratedProductUsage": [
      {
        "taxIncludedAmount": {
          "unit": "USD",
          "value": 10.59
        },
        "taxExcludedAmount": {
          "unit": "USD",
          "value": 10.59
        }
      }
    ]
  },
  {
    "@type": "Usage",
    "billStructure": {
      "id": "0.0.0.1+-bill_structure+173320"
    },
    "description": "Event Adjustment",
    "endTime": "2018-01-01T08:00:00Z",
    "id": "0.0.0.1+-event-billing-adjustment-event+308426205730878738",
    "href": "https://localhost:8089/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-adjustment-event+308426205730878738",
    "billingAccount": {
      "id": "0.0.0.1+-account+175112"
    },
    "service": {
      "id": "0.0.0.1+-service-ip+173233"
    },
    "usageType": "/event/billing/adjustment/event",
    "cycleEnd": "",
    "effectiveDate": "",
    "rumName": "",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.1+-item-adjustment+308426205730879762"
    },
    "cycleStart": "",
    "quantity": 0.0,
    "@SchemaLocation": "",
    "createdTime": "2018-01-01T08:00:00Z",
    "usageDate": "2018-01-01T08:00:00Z",
    "taxAmount": {
      "unit": "USD",
      "value": 0.0
    },
    "remainingAmount": {
      "unit": "USD",
      "value": -0.5
    },
    "discount": {
      "unit": "USD",
      "value": 0.0
    },
    "ratedProductUsage": [
      {
        "taxIncludedAmount": {
          "unit": "USD",
          "value": -0.5
        },
        "taxExcludedAmount": {
          "unit": "USD",
          "value": -0.5
        }
      }
    ]
  },
  {
    "@type": "Usage",
    "billStructure": {
      "id": "0.0.0.1+-bill_structure+173320"
    },
    "description": "Set Status (srvc)",
    "endTime": "2018-01-01T08:00:00Z",
    "id": "0.0.0.1+-event-customer-status+308426205730876081",
    "href": "https://localhost:8089/brm/usageManagement/v5/usage/0.0.0.1+-event-customer-status+308426205730876081",
    "billingAccount": {
      "id": "0.0.0.1+-account+175112"
    },
    "service": {
      "id": "0.0.0.1+-service-ip+173233"
    },
    "usageType": "/event/customer/status",
    "cycleEnd": "",
    "effectiveDate": "",
    "rumName": "",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.0++0"
    },
    "cycleStart": "",
    "quantity": 0.0,
    "@SchemaLocation": "",
    "createdTime": "2018-01-01T08:00:00Z",
    "usageDate": "2018-01-01T08:00:00Z"
  },
  {
    "@type": "Usage",
    "billStructure": {
      "id": "0.0.0.1+-bill_structure+173320"
    },
    "description": "Purchase Product (srvc): Product 1a - Internet Access",
    "endTime": "2018-01-01T08:00:00Z",
    "id": "0.0.0.1+-event-billing-product-action-purchase+17592186217905",
    "href": "https://localhost:8089/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-product-action-purchase+17592186217905",
    "billingAccount": {
      "id": "0.0.0.1+-account+175112"
    },
    "service": {
      "id": "0.0.0.1+-service-ip+173233"
    },
    "usageType": "/event/billing/product/action/purchase",
    "cycleEnd": "",
    "effectiveDate": "",
    "rumName": "",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.0++0"
    },
    "cycleStart": "",
    "quantity": 0.0,
    "@SchemaLocation": "",
    "createdTime": "2018-01-01T08:00:00Z",
    "usageDate": "2018-01-01T08:00:00Z"
  },
  {
    "@type": "Usage",
    "billStructure": {
      "id": "0.0.0.1+-bill_structure+173320"
    },
    "description": "Set Login",
    "endTime": "2018-01-01T08:00:00Z",
    "id": "0.0.0.1+-event-customer-login+308426205730876593",
    "href": "https://localhost:8089/brm/usageManagement/v5/usage/0.0.0.1+-event-customer-login+308426205730876593",
    "billingAccount": {
      "id": "0.0.0.1+-account+175112"
    },
    "service": {
      "id": "0.0.0.1+-service-ip+173233"
    },
    "usageType": "/event/customer/login",
    "cycleEnd": "",
    "effectiveDate": "",
    "rumName": "",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.0++0"
    },
    "cycleStart": "",
    "quantity": 0.0,
    "@SchemaLocation": "",
    "createdTime": "2018-01-01T08:00:00Z",
    "usageDate": "2018-01-01T08:00:00Z"
  }
]

Get Usage by Amount Range

The following example searches for usage records with a tax-excluded amount from 1000 through 10000, inclusive, for the USD resource.

curl -X GET 'http://host:port/brm/usageManagement/v4/usage?taxExcludedAmount.gte=1000&taxExcludedAmount.lte=10000&resourceId=USD'

Response Body

The following example shows the contents of the response body in JSON format.

{
  "@type": "Usage",
  "billStructure": {
    "id": "0.0.0.1+-bill_structure+173320"
  },
  "description": "Cycle Forward Fees (srvc): Product 1a - Internet Access",
  "endTime": "2018-01-01T08:00:00Z",
  "id": "0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+308426205730873777",
  "href": "https://localhost:8089/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+308426205730873777",
  "billingAccount": {
    "id": "0.0.0.1+-account+175112"
  },
  "service": {
    "id": "0.0.0.1+-service-ip+173233"
  },
  "usageType": "/event/billing/product/fee/cycle/cycle_forward_monthly",
  "cycleEnd": "2018-02-03T08:00:00Z",
  "effectiveDate": "",
  "rumName": "Occurrence",
  "@baseType": "Usage",
  "appliedCustomerBillingRate": {
    "id": "0.0.0.1+-item-cycle_forward+308426205730877105"
  },
  "cycleStart": "2018-01-01T08:00:00Z",
  "quantity": 1.0,
  "@SchemaLocation": "",
  "createdTime": "2018-01-01T08:00:00Z",
  "usageDate": "2018-01-01T08:00:00Z",
  "taxAmount": {
    "unit": "USD",
    "value": 0.0
  },
  "remainingAmount": {
    "unit": "USD",
    "value": 10.59
  },
  "discount": {
    "unit": "USD",
    "value": 0.0
  },
  "bill": {
    "id": "0.0.0.1+-bill+308426205730875505"
  },
  "ratedProductUsage": [
    {
      "taxIncludedAmount": {
        "unit": "USD",
        "value": 10.59
      },
      "taxExcludedAmount": {
        "unit": "USD",
        "value": 10.59
      }
    }
  ]
}

Get Usage by Bill Item

The following example retrieves usage records using a bill item POID in the appliedCustomerBillingRate.id query parameter. This parameter corresponds to PIN_FLD_ITEM_OBJ in BRM.

curl -X GET 'http://host:port/brm/usageManagement/v4/usage?appliedCustomerBillingRate.id=0.0.0.1+-item-misc+308426205730872011'

Response Body

The following example shows the contents of the response body in JSON format.

{
  "@type": "Usage",
  "billStructure": {
    "id": "0.0.0.1+-bill_structure+173320"
  },
  "description": "Cycle Forward Fees (srvc): Product 1a - Internet Access",
  "endTime": "2018-01-01T08:00:00Z",
  "id": "0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+308426205730873777",
  "href": "https://localhost:8089/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+308426205730873777",
  "billingAccount": {
    "id": "0.0.0.1+-account+175112"
  },
  "service": {
    "id": "0.0.0.1+-service-ip+173233"
  },
  "usageType": "/event/billing/product/fee/cycle/cycle_forward_monthly",
  "cycleEnd": "2018-02-03T08:00:00Z",
  "effectiveDate": "",
  "rumName": "Occurrence",
  "@baseType": "Usage",
  "appliedCustomerBillingRate": {
    "id": "0.0.0.1+-item-cycle_forward+308426205730877105"
  },
  "cycleStart": "2018-01-01T08:00:00Z",
  "quantity": 1.0,
  "@SchemaLocation": "",
  "createdTime": "2018-01-01T08:00:00Z",
  "usageDate": "2018-01-01T08:00:00Z",
  "taxAmount": {
    "unit": "USD",
    "value": 0.0
  },
  "remainingAmount": {
    "unit": "USD",
    "value": 10.59
  },
  "discount": {
    "unit": "USD",
    "value": 0.0
  },
  "bill": {
    "id": "0.0.0.1+-bill+308426205730875505"
  },
  "ratedProductUsage": [
    {
      "taxIncludedAmount": {
        "unit": "USD",
        "value": 10.59
      },
      "taxExcludedAmount": {
        "unit": "USD",
        "value": 10.59
      }
    }
  ]
}

Get Usage with Non-Currency Details

The following example retrieves usage records from the collection endpoint. The response illustrates non-currency details.

curl -X GET 'http://host:port/brm/usageManagement/v4/usage'

Response Body

The following example shows the contents of the response body in JSON format.

[
  {
    "@type": "Usage",
    "billStructure": {
      "id": "billing-account-strucuture-post-4"
    },
    "description": "Event Adjustment",
    "endTime": "2026-10-07T08:41:42.00Z",
    "id": "0.0.0.1+-event-billing-adjustment-event+364738793259055330",
    "href": "http://localhost:9090/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-adjustment-event+364738793259055330",
    "taxAmount": {
      "unit": "EUR",
      "value": 0.0
    },
    "remainingAmount": {
      "unit": "EUR",
      "value": 43.548
    },
    "discount": {
      "unit": "EUR",
      "value": 0.0
    },
    "billingAccount": {
      "id": "0.0.0.1-158699"
    },
    "service": {
      "id": "service-635"
    },
    "usageType": "/event/billing/adjustment/event",
    "cycleEnd": "",
    "effectiveDate": "",
    "rumName": "",
    "@baseType": "Usage",
    "appliedCustomerBillingRate": {
      "id": "0.0.0.1+-item-adjustment+364738793259053282"
    },
    "cycleStart": "",
    "quantity": 0.0,
    "@SchemaLocation": "",
    "ratedProductUsage": [
      {
        "taxIncludedAmount": {
          "unit": "EUR",
          "value": 43.548
        },
        "taxExcludedAmount": {
          "unit": "EUR",
          "value": 43.548
        },
        "taxCode": "VAT",
        "taxRate": 0.0
      }
    ],
    "nonCurrencyDetails": [
      {
        "resourceName": "YES",
        "priorAdjustment": -0.2,
        "originalNetAmount": -3135.5
      }
    ],
    "usageDate": "2026-10-07T08:41:42.00Z"
  }
]

Get Usage with Adjustment and Settled Dispute Amounts

The following example retrieves usage records from the collection endpoint. The response illustrates adjustment and settled dispute amounts.

curl -X GET 'http://host:port/brm/usageManagement/v4/usage'

Response Body

The following example shows the contents of the response body in JSON format.

[
  {
    "@type": "Usage",
    "billStructure": {
      "id": "billing-account-strucuture-post-4"
    },
    "description": "Cycle Forward Fees (srvc): Standard GSM Telephony",
    "adjustedAmount": {
      "value": -3.0,
      "unit": "EUR"
    },
    "endTime": "2026-10-07T07:28:06.00Z",
    "id": "0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+364738793259054626",
    "href": "http://localhost:9090/brm/usageManagement/v5/usage/0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+364738793259054626",
    "taxAmount": {
      "unit": "EUR",
      "value": 0.0
    },
    "remainingAmount": {
      "unit": "EUR",
      "value": 37.548
    },
    "settledDisputeAmount": {
      "unit": "EUR",
      "value": -3.0
    },
    "discount": {
      "unit": "EUR",
      "value": 0.0
    },
    "billingAccount": {
      "id": "0.0.0.1-158699"
    },
    "service": {
      "id": "service-635"
    },
    "usageType": "/event/billing/product/fee/cycle/cycle_forward_monthly",
    "cycleEnd": "2026-11-03T08:00:00.00Z",
    "effectiveDate": "",
    "rumName": "Occurrence",
    "@baseType": "Usage",
    "bill": {
      "id": "0.0.0.1+-bill+364738793259034651"
    },
    "appliedCustomerBillingRate": {
      "id": "0.0.0.1+-item-cycle_forward+364738793259055650"
    },
    "cycleStart": "2026-10-07T07:00:00.00Z",
    "quantity": 1.0,
    "@SchemaLocation": "",
    "ratedProductUsage": [
      {
        "taxIncludedAmount": {
          "unit": "EUR",
          "value": 43.548
        },
        "taxExcludedAmount": {
          "unit": "EUR",
          "value": 43.548
        },
        "taxCode": "VAT",
        "taxRate": 0.0
      }
    ],
    "nonCurrencyDetails": [
      {
        "resourceName": "YES",
        "priorAdjustment": -0.2,
        "originalNetAmount": -3135.5
      }
    ],
    "usageDate": "2026-10-07T07:28:06.00Z"
  }
]

Get Rated Usage

The following example retrieves usage records from the collection endpoint. The response illustrates rated usage.

curl -X GET 'http://host:port/brm/usageManagement/v4/usage'

Response Body

The following example shows the contents of the response body in JSON format.

[
  {
    "@type": "Usage",
    "bytesIn": 0,
    "description": "/event/delayed/session/telco/gsm",
    "endTime": "2026-10-07T09:40:00.00Z",
    "id": "0.0.0.1+-event-delayed-session-telco-gsm+1517660297865925289",
    "href": "http://localhost:9090/brm/usageManagement/v5/usage/0.0.0.1+-event-delayed-session-telco-gsm+1517660297865925289",
    "taxAmount": {
      "unit": "EUR",
      "value": 0.0
    },
    "remainingAmount": {
      "unit": "EUR",
      "value": 66.406
    },
    "discount": {
      "unit": "EUR",
      "value": -8.594
    },
    "billingAccount": {
      "id": "0.0.0.1-146670"
    },
    "service": {
      "id": "Service-demo-2"
    },
    "cycleEnd": "",
    "calledToNumber": "004941067600",
    "effectiveDate": "",
    "rumName": "DUR",
    "@baseType": "Usage",
    "bill": {
      "id": "0.0.0.1+-bill+308426205730845166"
    },
    "appliedCustomerBillingRate": {
      "id": "0.0.0.1+-item-misc+308426205730846878"
    },
    "cycleStart": "",
    "quantity": 36000.0,
    "@SchemaLocation": "",
    "ratedProductUsage": [
      {
        "taxIncludedAmount": {
          "unit": "EUR",
          "value": 66.406
        },
        "taxExcludedAmount": {
          "unit": "EUR",
          "value": 66.406
        }
      }
    ],
    "nonCurrencyDetails": [
      {
        "resourceName": "YES",
        "originalNetAmount": 0.0
      }
    ],
    "bytesOut": 0,
    "usageDate": "2026-10-06T23:40:00.00Z"
  }
]
Back to Top