Get Opt-in and Opt-out State Events

get

/apis/notification-contact-v1/v2/{utilityCode}/sendable-state-events

Returns all opt-in and opt-out state events for a provided time interval.

Request

Path Parameters
Query Parameters
  • Collection Format: multi
    The channels to search for events, which must include a minimum of one channel. Allowed values: `SMS`, `IVR`.
    • Allowed Values: [ "SMS", "IVR" ]
  • The timestamp that defines the lower bound inclusive of events to include. For example, `2020-01-01T00:00:00Z`.
  • Collection Format: multi
    The opt-in and opt-out state events to include in the results, which must include a minimum of one type of event.
    • Allowed Values: [ "SENDABLE", "NOT_SENDABLE", "NOT_SENDABLE_NO_OPT_IN_CONFIRMATION", "NOT_SENDABLE_SPAM_COMPLAINT", "NOT_SENDABLE_SUPPRESSED", "NOT_SENDABLE_UNDELIVERABLE", "NOT_SENDABLE_UNSUBSCRIBED" ]
  • The timestamp that defines the upper bound inclusive of events to include. For example, `2020-01-01T00:00:00Z`.
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Action completed successfully
Body ()
Root Schema : SendableStateEventsResponse
Type: object
Show Source
Nested Schema : response
Type: object
Show Source
Nested Schema : ivrEvents
Type: array
Show Source
Nested Schema : smsEvents
Type: array
Show Source
Nested Schema : EntitySendableState
Type: object
Show Source
  • The phone number related to the opt-in or opt-out event change.
  • The ID value for an address, which represents a phone number for the events.
  • The 3 or 4 character code for the utility company. For example, util.
  • The date that Oracle Utilities Opower processed the opt-in or opt-out state change.
  • Allowed Values: [ "SENDABLE", "NOT_SENDABLE", "NOT_SENDABLE_NO_OPT_IN_CONFIRMATION", "NOT_SENDABLE_SPAM_COMPLAINT", "NOT_SENDABLE_SUPPRESSED", "NOT_SENDABLE_UNDELIVERABLE", "NOT_SENDABLE_UNSUBSCRIBED" ]
    The opt-in and opt-out state events to include in the results, which must include a minimum of one type of event.
  • The 4 or 5 digit code that is displayed to the customer when they receive an SMS message from the vendor.
  • The source system responsible for sending the event.
  • The timestamp when the customer initiated opt-in or opt-out event actually occurred.

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

405 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