Get a Notification Specification by ID

get

/bcws/webresources/v1.0/notificationManagement/notificationSpec/{id}

Gets the notification specification with the specified ID.

Request

Path Parameters
  • The notification specification ID, for example: 0.0.0.1+-notification_specification+1234567

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: 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 a notification specification 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/0.0.0.1+-config-notification_spec+2865053'

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+2865053",
        "startsAt": "2022-11-21T09:28:00.000Z",
        "expiresAt": "2023-10-28T18:29:59.000Z",
        "name": "New Notification",
        "descr": "descr updated",
        "deliveryControlFlag": "SUPPRESS",
        "systemEvent": "New Notification",
        "type": "REALTIME",
        "triggerType": "SYSTEM",
        "scope": "USER",
        "criteria": [
            {
                "key": "/account.ACCOUNT_NO",
                "value": "12345",
                "operator": "EQ",
                "dataType": "STR"
            }
        ],
        "deliveryMethods": [
            {
                "id": "3",
                "name": "EMAIL",
                "status": "ACTIVE"
            }
        ],
        "deliverySpec": [
            {
                "firstTransaction": "WEEKS",
                "deliveryPeriodEnd": "9:30",
                "dayOfMonth": 31,
                "dayOfWeek": 5
            }
        ],
        "advanceNotifications": [
            {
                "offsetUnit": "DAYS",
                "offsetValue": "3"
            }
        ]
    }
]
Back to Top