Get Disputed Balances

get

/disputeBalance

Gets the disputed balances that match the specified query criteria.

Request

Query Parameters
  • The type of object to return.
    Example:
    Use @type=DisputeBalance for a base object or @type=DisputeBalanceOracle for an extended object.
  • Retrieves disputes for the bill with the specified ID.
    Example:
    bill.id=0.0.0.1+-bill+105773
  • Retrieves disputes for the specified bill event.
    Example:
    billEvent.id=0.0.0.1+-event-billing-product-fee-cycle-cycle_forward_monthly+323397156054607117
  • Retrieves disputes for the bill item with the specified ID.
    Example:
    billItem.id=0.0.0.1+-item-cycle_forward+108813
  • Retrieves disputes for the billing cycle specification with the specified ID.
    Example:
    billingCycleSpecification.id=0.0.0.1+-billinfo+107765
  • Retrieve disputes with a confirmationDate that is equal to the specified date and time.
    Example:
    confirmationDate=2020-01-01T04:00:27-08:00
  • Retrieves disputes with a confirmationDate that is greater than the specified date and time.
    Example:
    confirmationDate.gt=2020-01-01T04:00:27-08:00
  • Retrieves disputes with a confirmationDate that is greater than or equal to the specified date and time.
    Example:
    confirmationDate.gte=2020-01-01T04:00:27-08:00
  • Retrieves disputes with a confirmationDate that is less than the specified date and time.
    Example:
    confirmationDate.lt=2020-01-01T04:00:27-08:00
  • Retrieves disputes with a confirmationDate that is less than or equal to the specified date and time.
    Example:
    confirmationDate.lte=2020-01-01T04:00:27-08:00
  • The list of comma-separated fields to return in the response.
    Example:
    fields=amount,billItem
  • Retrieves the dispute with the specified ID.
    Example:
    id=0.0.0.1+-item-dispute+209114
  • 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.
  • Retrieves disputes with a requestedDate that is equal to the specified date and time.
    Example:
    requestedDate=2020-01-01T04:00:27-08:00
  • Retrieves disputes with a requestedDate that is greater than the specified date and time.
    Example:
    requestedDate.gt=2020-01-01T04:00:27-08:00
  • Retrieves disputes with a requestedDate that is greater than or equal to the specified date and time.
    Example:
    requestedDate.gte=2020-01-01T04:00:27-08:00
  • Retrieves disputes with a requestedDate that is less than the specified date and time.
    Example:
    requestedDate.lt=2020-01-01T04:00:27-08:00
  • Retrieves disputes with a requestedDate that is less than or equal to the specified date and time.
    Example:
    requestedDate.lte=2020-01-01T04:00:27-08:00
  • Retrieves disputes by status.
    Example:
    status=Open

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
Show Source
Nested Schema : Dispute Balance Oracle
Type: object
Title: Dispute Balance Oracle
A disputed balance, extended for BRM REST Services Manager.
Show Source
Nested Schema : Quantity
Type: object
An amount in a given unit.
Show Source
Nested Schema : Bill Ref
Type: object
Title: Bill Ref
A reference to a bill.
Show Source
Nested Schema : billEvent
Type: array
Events associated with the dispute.
Show Source
Nested Schema : Billing Cycle Specification Ref Oracle
Type: object
Title: Billing Cycle Specification Ref Oracle
A reference to a billing cycle specification, extended for BRM REST Services Manager.
Show Source
Nested Schema : billItem
Type: array
The bill items associated with the dispute.
Show Source
Nested Schema : Party Account Ref
Type: object
Title: Party Account Ref
A reference to a party account.
Show Source
Nested Schema : BillEvent Dispute Oracle
Type: object
Title: BillEvent Dispute Oracle
A disputed bill event.
Show Source
Nested Schema : Money
Type: object
A base / value business entity used to represent money.
Show Source
Nested Schema : BillItem Dispute Oracle
Type: object
Title: BillItem Dispute Oracle
A disputed bill item (AppliedCustomerBillingRate).
Show Source

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 disputed balances by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.

The request uses the bill.id query parameter to show only disputed balances for the specified bill.

curl -X GET 'http://host:port/brm/prepayBalanceManagement/version/disputeBalance?bill.id=0.0.0.1+-bill+58925

Example of the Response Body

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

{
    "id": "0.0.0.1+-item-dispute+56959",
    "href": "http://host:port/brm/prepayBalanceManagement/version/disputeBalance/0.0.0.1+-item-dispute+56959",
    "actionType": "BillDispute",
    "disputeNo": "D1-24",
    "amount": {
        "amount": -40.0,
        "units": "USD",
        "@baseType": null,
        "@schemaLocation": null,
        "@type": null
    },
    "taxAmount": null,
    "reason": "1",
    "description": "",
    "partyAccount": {
        "id": "0.0.0.1+-account+56028",
        "href": null,
        "description": null,
        "name": "Alice Quinlan",
        "status": null,
        "@baseType": null,
        "@schemaLocation": null,
        "@type": null,
        "@referredType": null
    },
    "discount": null,
    "taxTreatment": "TaxExcluded",
    "confirmationDate": "2020-06-24T23:31:13-07:00",
    "requestedDate": "2020-06-24T23:31:13-07:00",
    "billingCycleSpecification": {
        "id": "0.0.0.1+-billinfo+53724",
        "href": "http://host:port/brm/accountManagement/version/billingCycleSpecification/0.0.0.1+-billinfo+53724",
        "name": "Bill Unit(1)"
    },
    "bill": {
        "id": "0.0.0.1+-bill+58925",
        "href": "http://host:port/brm/customerBillManagement/version/customerBill/0.0.0.1+-bill+58925",
        "@baseType": null,
        "@schemaLocation": null,
        "@type": "BillRef",
        "@referredType": "CustomerBill"
    },
    "billItem": [
        {
            "id": "0.0.0.1+-item-misc+55612",
            "href": "http://host:port/brm/customerBillManagement/version/appliedCustomerBillingRate/0.0.0.1+-item-misc+55612",
            "name": "Usage",
            "originalCharge": {
                "unit": "USD",
                "value": 10.0
            },
            "disputeAmount": {
                "unit": "USD",
                "value": -0.71
            }
        },
        {
            "id": "0.0.0.1+-item-cycle_forward+55484",
            "href": "http://host:port/brm/customerBillManagement/version/appliedCustomerBillingRate/0.0.0.1+-item-cycle_forward+55484",
            "name": "Cycle forward",
            "originalCharge": {
                "unit": "USD",
                "value": 20.65
            },
            "disputeAmount": {
                "unit": "USD",
                "value": -18.65
            }
            },
        {
            "id": "0.0.0.1+-item-cycle_forward+56380",
            "href": "http://host:port/brm/customerBillManagement/version/appliedCustomerBillingRate/0.0.0.1+-item-cycle_forward+56380",
            "name": "Cycle forward",
            "originalCharge": {
                "unit": "USD",
                "value": 20.64
            },
            "disputeAmount": {
                "unit": "USD",
                "value": -20.64
            }
        }
    ],
    "billEvent": null,
    "status": "Open",
    "settlementId": null,
    "@baseType": "DisputeBalanceOracle",
    "@schemaLocation": null,
    "@type": "DisputeBalanceOracle"
}
Back to Top