Get Applied Customer Billing Rates

get

/appliedCustomerBillingRate

Gets the applied customer billing rates that match the query criteria.

Request

Query Parameters
  • The type of object to return.
    Example:
    Use @type=AppliedCustomerBillingRate for a base object or @type=AppliedCustomerBillingRateOracle for an extended object.
  • Retrieves applied customer billing rates for the specified billId.
    Example:
    bill.id=0.0.0.1+-bill+1
  • The list of comma-separated fields to return in the response.
    Example:
    fields=bill,billingAccount
  • The ID of the applied customer billing rate to get.
    Example:
    id=0.0.0.1+-item-usage+1
  • Retrieves applied customer billing rates with the specified status.
    Example:
    Use isBilled=true to retrieve open and closed applied customer billing rates or isBilled=false to retrieve pending applied customer billing rates.
  • The maximum number of results to return.
    Example:
    Use limit=10 to return the first 10 results only.
  • The number of results to offset the response by.
    Example:
    Use offset=10 to return results 10 and higher.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Headers
Body ()
Root Schema : schema
Type: array
The applied customer billing rates that matched the search criteria.
Show Source
Nested Schema : Applied Customer Billing Rate
Type: object
Title: Applied Customer Billing Rate
An applied customer billing rate.
Show Source
Nested Schema : appliedTax
Type: array
The taxes applied to the applied customer billing rate.
Show Source
Nested Schema : Bill Ref
Type: object
Title: Bill Ref
A reference to a bill.
Show Source
Nested Schema : Billing Account Ref
Type: object
Title: Billing Account Ref
A billing account is a detailed description of a bill structure.
Show Source
Nested Schema : characteristic
Type: array
The characteristics that define the applied customer billing rate.
Show Source
Nested Schema : TimePeriod
Type: object
A period of time.
Show Source
Nested Schema : Product Ref
Type: object
Title: Product Ref
A reference to a product.
Show Source
Nested Schema : Money
Type: object
A base / value business entity used to represent money.
Show Source
Nested Schema : Applied Billing Tax Rate
Type: object
Title: Applied Billing Tax Rate
The tax rate applied to a billing rate.
Show Source
Nested Schema : Applied Billing Rate Characteristic
Type: object
Title: Applied Billing Rate Characteristic
A characteristic of an applied billing rate, based on the service type, line of business, or other parameters.
Show Source
Nested Schema : Any
Type: object

400 Response

Bad Request
Body ()
Root Schema : Error
Type: object
This is used when an API throws an error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

401 Response

Unauthorized
Body ()
Root Schema : Error
Type: object
This is used when an API throws an error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

403 Response

Forbidden
Body ()
Root Schema : Error
Type: object
This is used when an API throws an error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

404 Response

Not Found
Body ()
Root Schema : Error
Type: object
This is used when an API throws an error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

405 Response

Method Not allowed
Body ()
Root Schema : Error
Type: object
This is used when an API throws an error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

409 Response

Conflict
Body ()
Root Schema : Error
Type: object
This is used when an API throws an error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : Error
Type: object
This is used when an API throws an error, typically with a HTTP error response-code (3xx, 4xx, 5xx).
Show Source
Back to Top

Examples

The following example shows how to get applied customer billing rates by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.

The request uses the offset and limit query parameters to restrict the results.

curl -X GET 'http://host:port/brm/customerBillManagement/version/appliedCustomerBillingRate?offset=5&limit=2'

Example of the Response Body

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

[
    {
        "id": "0.0.0.1+-item-cycle_forward+108525",
        "href": "http://host:port/brm/customerBillManagement/version/appliedCustomerBillingRate/0.0.0.1+-item-cycle_forward+108525",
        "date": "2020-05-02T01:14:14-07:00",
        "description": null,
        "isBilled": false,
        "name": "Cycle forward",
        "type": "/item/cycle_forward",
        "appliedTax": null,
        "bill": {
            "id": "0.0.0.1+-bill+106861",
            "href": "http://host:port/brm/customerBillManagement/version/customerBill/0.0.0.1+-bill+106861",
            "@baseType": null,
            "@schemaLocation": null,
            "@type": "BillRef",
            "@referredType": "CustomerBill"
        },
        "billingAccount": {
            "id": "0.0.0.1+-account+107117",
            "href": null,
            "name": "Tanya K",
            "@baseType": null,
            "@schemaLocation": null,
            "@type": "BillingAccountRef",
            "@referredType": "billingAccount"
        },
        "characteristic": null,
        "periodCoverage": null,
        "product": null,
        "taxExcludedAmount": {
            "unit": "EUR",
            "value": 45.0
        },
        "taxIncludedAmount": {
            "unit": "EUR",
            "value": 45.0
        },
        "@baseType": "AppliedCustomerBillingRate",
        "@schemaLocation": null,
        "@type": "AppliedCustomerBillingRate",
    },
    {
        "id": "0.0.0.1+-item-misc+107373",
        "href": "http://host:port/brm/customerBillManagement/version/appliedCustomerBillingRate/0.0.0.1+-item-misc+107373",
        "date": "2020-05-02T01:14:13-07:00",
        "description": null,
        "isBilled": false,
        "name": "Usage",
        "type": "/item/misc",
        "appliedTax": null,
        "bill": {
            "id": "0.0.0.1+-bill+106861",
            "href": "http://host:port/brm/customerBillManagement/version/customerBill/0.0.0.1+-bill+106861",
            "@baseType": null,
            "@schemaLocation": null,
            "@type": "BillRef",
            "@referredType": "CustomerBill"
        },
        "billingAccount": {
            "id": "0.0.0.1+-account+107117",
            "href": null,
            "name": "Tanya Levy",
            "@baseType": null,
            "@schemaLocation": null,
            "@type": "BillingAccountRef",
            "@referredType": "billingAccount"
        },
        "characteristic": null,
        "periodCoverage": null,
        "product": null,
        "taxExcludedAmount": {
            "unit": "EUR",
            "value": 0.0
        },
        "taxIncludedAmount": {
            "unit": "EUR",
            "value": 0.0
        },
        "@baseType": "AppliedCustomerBillingRate",
        "@schemaLocation": null,
        "@type": "AppliedCustomerBillingRate",
    }
]
Back to Top