Get Notes for a Bill Unit

get

/bcws/webresources/v1.0/notes/billunit/{id}

Retrieves the list of notes, along with their follow-up comments, for a bill unit.

Request

Path Parameters
Query Parameters
  • The end date of the notes in milliseconds, such as 1444209849879. This parameter is optional.
  • The start date of the notes in milliseconds, such as 1444209849879. This parameter is optional.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The notes were returned successfully.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : Notes
Type: object
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 the notes for a bill unit 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/notes/billunit/0.0.0.1+-billinfo+60687'

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,
        "notes": {
            "extension": null,
            "id": "0.0.0.1+-note+214472",
            "accountId": "0.0.0.1+-account+57615",
            "amount": 75,
            "billUnitId": "0.0.0.1+-billinfo+60687",
            "billId": null,
            "closedDate": 1608719287000,
            "count": 1,
            "effectiveDate": 1608719287000,
            "eventId": "0.0.0.1+-event-billing-payment-wtransfer+32286",
            "header": "",
            "itemId": "0.0.0.1+-item-payment+216776",
            "subType": 102,
            "type": 100,
            "domainId": 5,
            "reasonId": 14,
            "serviceId": "0.0.0.1+-service-ip+156801",
            "status": 101,
            "comments": [
                {
                    "csrLoginId": "HeadCSR",
                    "csrFirstName": "Alia",
                    "csrLastName": "Abadi",
                    "csrAccountId": "1234",
                    "externalUser": "CSR Portal",
                    "comment": "Trial purchase.",
                    "trackingId": "",
                    "entryDate": 1608719287000
                }
            ]
        }
    },
    {
        "extension": null,
        "notes": {
            "extension": null,
            "id": "0.0.0.1+-note+211161",
            "accountId": "0.0.0.1+-account+57615",
            "amount": 75,
            "billUnitId": "0.0.0.1+-billinfo+60687",
            "billId": null,
            "closedDate": 1608706414000,
            "count": 1,
            "effectiveDate": 1608706414000,
            "eventId": "0.0.0.1+-event-billing-payment-wtransfer+32287",
            "header": "",
            "itemId": "0.0.0.1+-item-payment+210777",
            "subType": 102,
            "type": 100,
            "domainId": 5,
            "reasonId": 14,
            "serviceId": "0.0.0.1+-service-ip+156801",
            "status": 101,
            "comments": [
                {
                    "csrLoginId": "HeadCSR",
                    "csrFirstName": "Alia",
                    "csrLastName": "Abadi",
                    "csrAccountId": "1234",
                    "externalUser": "CSR Portal",
                    "comment": "Continuing trial.",
                    "trackingId": "",
                    "entryDate": 1608706414000
                }
            ]
        }
    },
    {
        "extension": null,
        "notes": {
            "extension": null,
            "id": "0.0.0.1+-note+214825",
            "accountId": "0.0.0.1+-account+57615",
            "amount": 100,
            "billUnitId": "0.0.0.1+-billinfo+60687",
            "billId": null,
            "closedDate": 1608705957000,
            "count": 1,
            "effectiveDate": 1608705957000,
            "eventId": "0.0.0.1+-event-billing-payment-wtransfer+32288",
            "header": "",
            "itemId": "0.0.0.1+-item-payment+216361",
            "subType": 102,
            "type": 100,
            "domainId": 5,
            "reasonId": 11,
            "serviceId": "0.0.0.1+-service-email+180304",
            "status": 101,
            "comments": [
                {
                    "csrLoginId": "HeadCSR",
                    "csrFirstName": "Alia",
                    "csrLastName": "Abadi",
                    "csrAccountId": "1234",
                    "externalUser": "CSR Portal",
                    "comment": "Customer happy with IP service, adding email.",
                    "trackingId": "",
                    "entryDate": 1608705957000
                }
            ]
        }
    }
]
Back to Top