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

Example of Creating a Dispute Comment


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

Operation

Use the following operation to create a dispute comment:

POST /disputes/{disputeId}/comments

Sample URL

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

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

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:

<disputeCommentInfo>
<createdDate pattern="MM/dd/yyyy">08/29/2015</createdDate>
<createdBy>ftown</createdBy>
<statusCode>reject</statusCode>
<comment>the dispute has been rejected</comment>
</disputeCommentInfo>

Sample JSON Input

The following is an example of JSON input:

{
"disputeCommentId": 100000,
"createdDate": {
"pattern": "MM/dd/yyyy",
"value": "08/26/2015"
},
"createdBy": "ftown",
"statusCode": "reject",
"comment": "the dispute has been rejected"

}

Response Message

The following is an example of the response message:

Dispute Comment Create Success

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

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