Get a Disputed Balance by ID
get
/disputeBalance/{id}
Gets the specified disputed balance.
Request
Path Parameters
-
id(required): string
The ID or dispute number of the disputed balance.Example:
0.0.0.1+-item-dispute+209114
Query Parameters
-
@type: string
The type of object to return. Use @type=DisputeBalance for a base object or @type=DisputeBalanceOracle for an extended object.Example:
DisputeBalance
-
fields: string
The list of comma-separated fields to return in the response.Example:
amount,billItem
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json;charset=utf-8
200 Response
Success
Root Schema : Dispute Balance Oracle
Type:
object
Title:
Dispute Balance Oracle
A disputed balance, extended for BRM REST Services Manager.
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
actionType: string
Title:
Action Type
Allowed Values:[ "BillDispute", "ItemDispute", "EventDispute" ]
The type of balance being disputed. -
amount: object
object
Quantity
Title:
Quantity
The quantity of an object. -
bill(required): object
object
Bill Ref
Title:
Bill Ref
A reference to a bill. -
billEvent: array
array
billEvent
Events associated with the dispute.
-
billingCycleSpecification(required): object
object
Billing Cycle Specification Ref Oracle
Title:
Billing Cycle Specification Ref Oracle
A reference to a billing cycle specification, extended for BRM REST Services Manager. -
billItem: array
array
billItem
The bill items associated with the dispute.
-
confirmationDate: string
(date-time)
Title:
Confirmation Date
The date the dispute was confirmed. -
description: string
Title:
Dispute Description
The dispute's description. -
discount: string
Title:
Discount
A discount associated with the dispute. -
disputeNo: string
Title:
Dispute Number
The dispute number to displayed on a bill. -
href(required): string
Title:
Href
The disputed balance's href. -
id(required): string
Title:
Dispute ID
The disputed balance's ID. -
partyAccount: object
object
Party Account Ref
Title:
Party Account Ref
A reference to a party account. -
reason: string
Title:
Dispute Reason
The reason for the dispute. -
requestedDate: string
(date-time)
Title:
Requested Date
The date the request was made. -
settlementId: string
Title:
Settlement ID
The ID of the settlement associated with the dispute. -
status: string
Title:
Status
Allowed Values:[ "Settled", "Open" ]
The dispute's status. -
taxAmount: object
object
Quantity
Title:
Quantity
The quantity of an object. -
taxTreatment: string
Title:
Tax Treatment
Allowed Values:[ "TaxIncluded", "TaxExcluded", "TaxOnly" ]
The status of taxes on the dispute.
Nested Schema : Quantity
Type:
object
Title:
Quantity
The quantity of an object.
Show Source
-
amount: number
(float)
Title:
Amount
Default Value:1
A numeric value. -
units: string
Title:
Units
A unit. For example, MB or minutes.
Nested Schema : Bill Ref
Type:
object
Title:
Bill Ref
A reference to a bill.
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The actual type of the target instance when needed for disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships -
@type: string
Title:
Type
The object's subclass. -
href: string
Title:
Bill Href
The bill's href. -
id: string
Title:
Bill ID
The bill's ID.
Nested Schema : billEvent
Type:
array
Events associated with the dispute.
Show Source
-
Array of:
object BillEvent Dispute Oracle
Title:
BillEvent Dispute Oracle
A disputed bill event.
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
-
href: string
Title:
Href
The billing cycle specification's href. -
id: string
Title:
ID
The billing cycle specification's ID. -
name: string
Title:
Name
The billing cycle specification's name.
Nested Schema : billItem
Type:
array
The bill items associated with the dispute.
Show Source
-
Array of:
object BillItem Dispute Oracle
Title:
BillItem Dispute Oracle
A disputed bill item (AppliedCustomerBillingRate).
Nested Schema : Party Account Ref
Type:
object
Title:
Party Account Ref
A reference to a party account.
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@referredType: string
Title:
Referred Type
The object's type in the target system, if baseType and type need further disambiguation. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
description: string
Title:
Description
The party account's description. -
href: string
Title:
Href
The party account's href. -
id(required): string
Title:
Account ID
The party account's ID. -
name: string
Title:
Name
The party account's name. -
status: string
Title:
Status
The overall status of the account. For example, due, paid, or in arrears.
Nested Schema : BillEvent Dispute Oracle
Type:
object
Title:
BillEvent Dispute Oracle
A disputed bill event.
Show Source
-
adjustmentAmount: object
object
Money
Title:
Money
An amount of money. -
href: string
Title:
Href
The disputed event's href. -
id: string
Title:
Id
The disputed event's ID. -
name: string
Title:
Name
The disputed event's name. -
originalCharge: object
object
Money
Title:
Money
An amount of money.
Nested Schema : Money
Type:
object
Title:
Money
An amount of money.
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
unit: string
Title:
Currency
An ISO 4217 three letter currency code. -
value: number
(float)
Title:
Amount
A positive floating point number.
Nested Schema : BillItem Dispute Oracle
Type:
object
Title:
BillItem Dispute Oracle
A disputed bill item (AppliedCustomerBillingRate).
Show Source
-
adjustmentAmount: object
object
Money
Title:
Money
An amount of money. -
href(required): string
Title:
Href
The disputed item's href. -
id(required): string
Title:
Id
The disputed item's ID. -
name(required): string
Title:
Name
The disputed item's name. -
originalCharge: object
object
Money
Title:
Money
An amount of money.
400 Response
Bad Request
Root Schema : Error
Type:
object
Title:
Error
Used when an API returns an error, typically with a HTTP error response-code such as 401 (Unauthorized) or 500 (Internal Server Error).
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
code(required): string
Title:
Error Code
An error code. -
message: string
Title:
Error Message
Details and corrective actions related to the error. -
reason(required): string
Title:
Reason
The reason for the error. -
referenceError: string
(uri)
Title:
Reference Error
A URI to documentation describing the error. -
status: string
Title:
Error Status
The HTTP Error code extension.
401 Response
Unauthorized
Root Schema : Error
Type:
object
Title:
Error
Used when an API returns an error, typically with a HTTP error response-code such as 401 (Unauthorized) or 500 (Internal Server Error).
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
code(required): string
Title:
Error Code
An error code. -
message: string
Title:
Error Message
Details and corrective actions related to the error. -
reason(required): string
Title:
Reason
The reason for the error. -
referenceError: string
(uri)
Title:
Reference Error
A URI to documentation describing the error. -
status: string
Title:
Error Status
The HTTP Error code extension.
403 Response
Forbidden
Root Schema : Error
Type:
object
Title:
Error
Used when an API returns an error, typically with a HTTP error response-code such as 401 (Unauthorized) or 500 (Internal Server Error).
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
code(required): string
Title:
Error Code
An error code. -
message: string
Title:
Error Message
Details and corrective actions related to the error. -
reason(required): string
Title:
Reason
The reason for the error. -
referenceError: string
(uri)
Title:
Reference Error
A URI to documentation describing the error. -
status: string
Title:
Error Status
The HTTP Error code extension.
404 Response
Not Found
Root Schema : Error
Type:
object
Title:
Error
Used when an API returns an error, typically with a HTTP error response-code such as 401 (Unauthorized) or 500 (Internal Server Error).
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
code(required): string
Title:
Error Code
An error code. -
message: string
Title:
Error Message
Details and corrective actions related to the error. -
reason(required): string
Title:
Reason
The reason for the error. -
referenceError: string
(uri)
Title:
Reference Error
A URI to documentation describing the error. -
status: string
Title:
Error Status
The HTTP Error code extension.
405 Response
Method Not Allowed
Root Schema : Error
Type:
object
Title:
Error
Used when an API returns an error, typically with a HTTP error response-code such as 401 (Unauthorized) or 500 (Internal Server Error).
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
code(required): string
Title:
Error Code
An error code. -
message: string
Title:
Error Message
Details and corrective actions related to the error. -
reason(required): string
Title:
Reason
The reason for the error. -
referenceError: string
(uri)
Title:
Reference Error
A URI to documentation describing the error. -
status: string
Title:
Error Status
The HTTP Error code extension.
409 Response
Conflict
Root Schema : Error
Type:
object
Title:
Error
Used when an API returns an error, typically with a HTTP error response-code such as 401 (Unauthorized) or 500 (Internal Server Error).
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
code(required): string
Title:
Error Code
An error code. -
message: string
Title:
Error Message
Details and corrective actions related to the error. -
reason(required): string
Title:
Reason
The reason for the error. -
referenceError: string
(uri)
Title:
Reference Error
A URI to documentation describing the error. -
status: string
Title:
Error Status
The HTTP Error code extension.
500 Response
Internal Server Error
Root Schema : Error
Type:
object
Title:
Error
Used when an API returns an error, typically with a HTTP error response-code such as 401 (Unauthorized) or 500 (Internal Server Error).
Show Source
-
@baseType: string
Title:
Base Type
The object's superclass. -
@schemaLocation: string
(uri)
Title:
Schema Location
A URI to a JSON schema file that defines additional attributes and relationships. -
@type: string
Title:
Type
The object's subclass. -
code(required): string
Title:
Error Code
An error code. -
message: string
Title:
Error Message
Details and corrective actions related to the error. -
reason(required): string
Title:
Reason
The reason for the error. -
referenceError: string
(uri)
Title:
Reference Error
A URI to documentation describing the error. -
status: string
Title:
Error Status
The HTTP Error code extension.
Examples
The following example shows how to get a disputed balance with a specified ID by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET 'http://host:port/brm/prepayBalanceManagement/version/disputeBalance/0.0.0.1+-item-dispute+57743'
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+57743", "href": "http://host:port/brm/prepayBalanceManagement/version/disputeBalance/0.0.0.1+-item-dispute+57743", "actionType": "ItemDispute", "disputeNo": "D1-32", "amount": { "amount": -2.0, "units": "USD", "@baseType": null, "@schemaLocation": null, "@type": null }, "taxAmount": null, "reason": "0", "description": "", "partyAccount": { "id": "0.0.0.1+-account+53871", "href": null, "description": null, "name": "Karl V", "status": null, "@baseType": null, "@schemaLocation": null, "@type": null, "@referredType": null }, "discount": "0", "taxTreatment": "TaxExcluded", "confirmationDate": "2020-06-25T06:56:29-07:00", "requestedDate": "2020-06-25T06:56:29-07:00", "billingCycleSpecification": { "id": "0.0.0.1+-billinfo+56943", "href": "http://host:port/brm/accountManagement/version/billingCycleSpecification/0.0.0.1+-billinfo+56943", "name": "Bill Unit(1)" }, "bill": { "id": "0.0.0.1+-bill+51039", "href": "http://host:port/brm/customerBillManagement/version/customerBill/0.0.0.1+-bill+51039", "@baseType": null, "@schemaLocation": null, "@type": "BillRef", "@referredType": "CustomerBill" }, "billItem": [ { "id": "0.0.0.1+-item-cycle_forward+54511", "href": "http://host:port/brm/customerBillManagement/version/appliedCustomerBillingRate/0.0.0.1+-item-cycle_forward+54511", "name": "Cycle forward", "originalCharge": { "unit": "USD", "value": 10.0 }, "disputeAmount": { "unit": "USD", "value": -2.0 } } ], "billEvent": null, "status": "Settled", "settlementId": "0.0.0.1+-item-settlement+60077", "@baseType": "DisputeBalanceOracle", "@schemaLocation": null, "@type": "DisputeBalanceOracle" }