Get Notification Specifications

get

/bcws/webresources/v1.0/notificationManagement/notificationSpec

Gets the notification specifications that match the specified query criteria.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The notification specification information was returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : notificationSpec
Type: object
Show Source
Nested Schema : advanceNotifications
Type: array
Show Source
Nested Schema : criteria
Type: array
Show Source
Nested Schema : deliveryMethods
Type: array
Show Source
Nested Schema : deliverySpec
Type: array
Show Source
Nested Schema : NotificationDeliverySchedule
Type: object
Show Source
Nested Schema : NotificationCriteria
Type: object
Show Source
Nested Schema : NotificationDeliveryMethod
Type: object
Show Source
Nested Schema : NotificationDeliverySpec
Type: object
Show Source

500 Response

An error occurred. An exception has been raised.
Back to Top

Examples

This example shows how to get notification specifications by status, name, and delivery method 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/notificationManagement/notificationSpec?status=ACTIVE&name=NewNotificationSpec&deliveryMethod=SMS'

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.

[
    {
        "id": "0.0.0.1+-config-notification_spec+2394302",
        "href": "http://hostname:port/bcws/webresources/version/notificationSpec/0.0.0.1+-config-notification_spec+2394302",
        "createdAt": "2021-10-12T05:17:08.000Z",
        "modifiedAt": "2021-10-12T05:17:08.000Z",
        "startsAt": "2021-09-15T09:28:00.000Z",
        "expiresAt": "2022-10-28T18:29:59.000Z",
        "name": "NewNotificationSpec",
        "descr": "descr",
        "deliveryControlFlag": "UNSUPPRESS",
        "systemEvent": "NewNotificationSpec",
        "type": "ALL",
        "triggerType": "SYSTEM",
        "scope": "USER",
        "criteria": [
            {
                "key": "/account.ACCOUNT_NO",
                "value": "qre",
                "operator": "EQ",
                "dataType": "STR"
            }
        ],
        "deliveryMethods": [
            {
                "id": "1",
                "name": "SMS",
                "status": "ACTIVE"
            }
        ],
        "deliverySpec": [],
        "advanceNotifications": [
            {
                "offsetUnit": "MONTHS",
                "offsetValue": "1"
            }
        ]
    }
]
Back to Top