Get Notes for an Account

get

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

Gets the notes associated with the specified account.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The notes associated with the account
Body ()
Root Schema : schema
Type: array
Show Source
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 an account 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/account/0.0.0.1+-account+123217'

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,
        "id": "0.0.0.1+-note+177283",
        "accountId": "0.0.0.1+-account+123217",
        "amount": 10,
        "billUnitId": "0.0.0.0++0",
        "billId": null,
        "closedDate": 0,
        "count": 1,
        "effectiveDate": 1602306732000,
        "eventId": "0.0.0.0++0",
        "header": "",
        "itemId": "0.0.0.0++0",
        "subType": 105,
        "type": 100,
        "domainId": 0,
        "reasonId": 2003,
        "serviceId": "0.0.0.0++0",
        "status": 102,
        "comments": [
            {
                "csrLoginId": "HeadCSR",
                "csrFirstName": "Alia",
                "csrLastName": "Abadi",
                "csrAccountId": "1234",
                "externalUser": "CSR Portal",
                "comment": "Customer very happy with their service.",
                "trackingId": "",
                "entryDate": 1602306732000
            }
        ]
    },
    {
        "extension": null,
        "id": "0.0.0.1+-note+177284",
        "accountId": "0.0.0.1+-account+123217",
        "amount": 10,
        "billUnitId": "0.0.0.0++0",
        "billId": null,
        "closedDate": 0,
        "count": 1,
        "effectiveDate": 1602306732001,
        "eventId": "0.0.0.0++0",
        "header": "",
        "itemId": "0.0.0.0++0",
        "subType": 105,
        "type": 100,
        "domainId": 0,
        "reasonId": 0,
        "serviceId": "0.0.0.0++0",
        "status": 102,
        "comments": [
            {
                "csrLoginId": "HeadCSR",
                "csrFirstName": "Alia",
                "csrLastName": "Abadi",
                "csrAccountId": "1234",
                "externalUser": "CSR Portal",
                "comment": "Customer wondering about future promotions.",
                "trackingId": "",
                "entryDate": 1602306732001
            }
        ]
    }
]
Back to Top