Get NotificationPreference

get

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

Retrieves the notification preference for the customer, contact, notification channel and event type.

Request

Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

The notification preference that matched the request.
Body ()
Root 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