Get Newsfeed Events

get

/bcws/webresources/v1.0/newsfeed

Gets the newsfeed events for an account that match the specified criteria.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The newsfeed events were retrieved successfully
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : newsfeed
Type: object
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.

400 Response

The request isn't valid.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get a newsfeed 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/newsfeed

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. You can see the bill items grouped separately under the IP service and the email service.

 [
    {
        "extension": null,
        "id": {
            "id": "0.0.0.1+-newsfeed+358845410934774345",
            "uri": null
        },
        "created": 1762419890000,
        "accountRef": {
            "id": "0.0.0.1+-account+384667",
            "uri": null
        },
        "amount": -0.002,
        "billInfoRef": {
            "id": "0.0.0.1+-billinfo+384411",
            "uri": null
        },
        "eventRef": {
            "id": "0.0.0.1+-event-billing-dispute-event+358845410934772297",
            "uri": null
        },
        "externalUser": "weblogic",
        "message": "120",
        "objectRef": {
            "id": "0.0.0.1+-item-dispute+358845410934774857",
            "uri": null
        },
        "reasonDomainId": 60,
        "reasonId": 107,
        "resourceId": 978,
        "typeId": 3,
        "typeStr": "D1-181"
    },
    {
        "extension": null,
        "id": {
            "id": "0.0.0.1+-newsfeed+358845410934775625",
            "uri": null
        },
        "created": 1762419973000,
        "accountRef": {
            "id": "0.0.0.1+-account+384667",
            "uri": null
        },
        "amount": 0,
        "billInfoRef": {
            "id": "0.0.0.1+-billinfo+384411",
            "uri": null
        },
        "eventRef": {
            "id": "0.0.0.1+-event-billing-settlement-event+358845410934773577",
            "uri": null
        },
        "externalUser": "weblogic",
        "message": "123;;126;;999|~|0.002;;999|~|D1-181",
        "objectRef": {
            "id": "0.0.0.1+-item-settlement+358845410934774601",
            "uri": null
        },
        "reasonDomainId": 60,
        "reasonId": 108,
        "resourceId": 978,
        "typeId": 4,
        "typeStr": ""
    }
]
Back to Top