Get Refund Details

get

/bcws/webresources/v1.0/refunds/{id}

Get details about the specified refund.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The refund details were returned successfully.
Body ()
Root Schema : refundDetails
Type: object
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : details
Type: array
The list of details about the refund.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : Notes
Type: object
Show Source
Nested Schema : Details
Type: object
The offer details.
Show Source
Nested Schema : comments
Type: array
The list of comments associated with the note.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : Comments
Type: object
The list of comments associated with the note.
Show Source

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get a refund's details by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X GET 'http://hostname:port/bcws/webresources/version/refunds/0.0.0.1+-item-refund+259386'

where:

  • hostname is the URL for the Billing Care REST server.
  • port is the port for the Billing Care REST server.
  • version is the version of the API you're using, such as v1.0.

Example of Response Body

This example shows the contents of the response body in JSON format.

{
    "extension": null,
    "effectiveDate": 1612185378000,
    "id": "R1-24",
    "refundStatus": 4,
    "billNo": "B1-2",
    "refundAmount": 2.02,
    "cycleStarts": 1586934000000,
    "cycleEnds": 1589526000000,
    "refundMethod": "cash",
    "accountRef": {
        "id": "0.0.0.1+-account+81329",
        "uri": null
    },
    "notes": {
        "extension": null,
        "id": "0.0.0.1+-note+258874",
        "accountId": "0.0.0.1+-account+81329",
        "amount": 2.02,
        "billUnitId": "0.0.0.1+-billinfo+78769",
        "billId": null,
        "closedDate": 1612185379000,
        "count": 1,
        "effectiveDate": 1612185379000,
        "eventId": "0.0.0.0++0",
        "header": "",
        "itemId": "0.0.0.1+-item-refund+259386",
        "subType": 212,
        "type": 200,
        "domainId": 6,
        "reasonId": 1,
        "serviceId": "0.0.0.0+-service-telco-gsm-roaming+678934",
        "status": 101,
        "comments": [
            {
                "csrLoginId": "HeadCSR",
                "csrFirstName": "Alia",
                "csrLastName": "Abadi",
                "csrAccountId": "1234",
                "externalUser": "CSR Portal",
                "comment": "Issued refund for invalid roaming charges.",
                "trackingId": "",
                "entryDate": 1612185379000
            }
        ]
    },
    "refundType": 1,
    "details": [
        {
            "amount": 2.02,
            "itemNo": "B1-2,3",
            "itemName": "Cycle forward",
            "billNo": "B1-2"
        }
    ]
}
Back to Top