Web Services Reference for Oracle Billing Insight > Examples of Web Services > Examples of the Disputes Web Service >

Example of Updating a Dispute


This example shows you how to use the disputes Web service to update a dispute.

Operation

Use the following operation to update a dispute:

PUT /disputes/{disputeId}

Sample URL

The following is a sample URL for this Web service example:

http://myhost.example.com:7017/rs/api/v2/disputes/90004

Sample XML Input Rules

The following are the XML input rules:

  • Tags in bold are required, and the corresponding fields cannot be updated.
  • If tags are not present, then the corresponding fields are not updated.
  • If tags are present with an empty value, then the corresponding fields are set to empty if a null value is allowed.

Sample XML Input

The following is an example of XML input:

<disputeInfo currency="USD">
<disputeStatus>credit</disputeStatus>
</disputeInfo>

Sample JSON Input

The following is an example of JSON input:

{
"disputeStatus": "credit"
}

Response Message

The following is an example of the response message:

Dispute Update Success

Visit <link>http://myhost.example.com:7017/rs/api/v2/disputes/90004</link>

Web Services Reference for Oracle Billing Insight Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.