Get NotificationPreference List

get

/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences

Retrieves notification preferences for the customer and contact.

Request

Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

The returned notification preferences belong to the requested entity.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : NotificationPreference
Type: object
Show Source
Nested Schema : response
Match All
Show Source
Nested Schema : NotificationPreferenceRequest
Type: object
Show Source
Example:
{
    "notificationChannel":"EMAIL",
    "eventType":"HOME_ENERGY"
}
Nested Schema : response-allOf[1]
Type: object
Show Source
Example:
{
    "id":1,
    "notificationChannel":"EMAIL",
    "eventType":"HOME_ENERGY"
}

400 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

401 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

404 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source
Back to Top