Contact Preferences REST Endpoints

Contact Preferences
The Notification Contact resource represents the contact objects related to a customer. The Notification Preference resource represents a contact's preferences for Opower communications (e.g. High Bill Alert) and channels (e.g. email, SMS). The API allows you to view and manage Notification Contacts, Notification Preferences, and Notification Events
Create NotificationContact
Method: post
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts
Create NotificationPreference
Method: post
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences
Delete NotificationChannel
Method: delete
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences/channel/{notificationChannel}
Delete NotificationContact
Method: delete
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}
Delete NotificationPreference
Method: delete
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences/{preferenceId}
Get Notification Contact List
Method: get
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts
Get NotificationPreference
Method: get
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences/{notificationChannel}/{eventType}
Get NotificationPreference List
Method: get
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences
Update NotificationContact
Method: put
Path: /apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}