Retrieve Notification Preferences for Accounts
post
/rest/apis/customer/v-model/notificationPreferencesForAccounts/
This operation retrieves notification preferences for a list of accounts, service agreements, or premises for a specified notification type.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Nested Schema : items
Type:
Show Source
object-
accountId: string
Maximum Length:
10Account ID is the unique ID generated on create of an account. This field identifies the account for which notification preferences are retrieved.Example:1575649032 -
notificationType: string
Maximum Length:
30The notification type for which the notification preferences are retrieved.Example:CM-OUTAGENOTIF -
premiseId: string
Maximum Length:
10Premise ID is the unique ID generated on create of a premise. This field identifies the premise for which notification preferences are retrieved.Example:2242620736 -
saId: string
Maximum Length:
10Service Agreement ID is the unique ID generated on create of a service agreement. This field identifies the service agreement for which notification preferences are retrieved.Example:8805757605 -
sequence: number
Minimum Value:
-999Maximum Value:999Sequence is a primary key that uniquely identifies an entry within the input or output list. Each entry represents a combination of notification type, account, service agreement, and premise.Example:19
Nested Schema : items
Type:
Show Source
object-
accountId: string
Maximum Length:
10Account ID is the unique ID generated on create of an account. This field identifies the account for which notification preferences are retrieved.Example:1575649032 -
notificationType: string
Maximum Length:
30The notification type for which the notification preferences are retrieved.Example:CM-OUTAGENOTIF -
premiseId: string
Maximum Length:
10Premise ID is the unique ID generated on create of a premise. This field identifies the premise for which notification preferences are retrieved.Example:2242620736 -
saId: string
Maximum Length:
10Service Agreement ID is the unique ID generated on create of a service agreement. This field identifies the service agreement for which notification preferences are retrieved.Example:8805757605 -
sequence: number
Minimum Value:
-999Maximum Value:999Sequence is a primary key that uniquely identifies an entry within the input or output list. Each entry represents a combination of notification type, account, service agreement, and premise.Example:19
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Nested Schema : items
Type:
Show Source
object-
cisDivision: string
Maximum Length:
5CIS Division defines the jurisdiction that governs the account.Example:CA -
errorInformation: object
errorInformation
-
isCustomerContactRequired: boolean
This indicates whether the notification type is configured with a customer contact type used to record the notification.Example:
true -
isOptOutAllowed: boolean
For push notifications, this indicates whether the parent notification type allows users to opt out of receiving notifications of that type.Example:
true -
isSpRequired: boolean
This indicates whether the notification type is only allowed on service agreements whose SA type requires a service point.Example:
true -
notificationLevel: string
Allowed Values:
[ "C1AC", "C1SA" ]This indicates whether contact preferences are maintained by account or by service agreement. * `C1AC` - By Account, * `C1SA` - By Service AgreementExample:C1AC -
notificationPreferences: array
notificationPreferences
-
parentNotificationType: string
Maximum Length:
30For individual push notification types, this is the parent type. Preferences are set for the parent type and are used when creating individual push notifications.Example:SERVICE-NOTICIES -
sas: array
sas
-
sequence: number
Minimum Value:
-999Maximum Value:999Sequence is a primary key that uniquely identifies an entry within the input or output list. Each entry represents a combination of notification type, account, service agreement, and premise.Example:19 -
subscriptionOrPush: string
Allowed Values:
[ "C1PU", "C1SU" ]This indicates whether the notification type is a subscription or push subtype. * `C1PU` - Push, * `C1SU` - SubscriptionExample:C1SU
Nested Schema : errorInformation
Type:
Show Source
object-
errorMessage: string
Maximum Length:
254This is the error message text based on the message category and message number. This field provides details about the error encountered. -
errorReference: object
errorReference
-
isInError: boolean
This boolean flag indicates whether an error was encountered while processing the input set.Example:
false
Nested Schema : errorReference
Type:
Show Source
object-
category: number
Minimum Value:
-99999Maximum Value:99999This is the message category of the error. -
number: number
Minimum Value:
-99999Maximum Value:99999This is the message number of the error.
Nested Schema : items
Type:
Show Source
object-
deliveryType: string
Allowed Values:
[ "EMAI", "FAX ", "IVR ", "SMS " ]Delivery Type is the type of delivery by which the notification will be sent to the Person Contact. * `EMAI` - Email, * `FAX ` - Fax, * `IVR ` - IVR, * `SMS ` - SMSExample:EMAI -
notificationPreferenceId: string
Maximum Length:
14Notification Preference ID is the unique ID generated on create of a notification preference.Example:95058374991172 -
personContact: object
personContact
Nested Schema : personContact
Type:
Show Source
object-
contactId: string
Maximum Length:
10Person Contact ID is the unique ID generated on create of a person contact.Example:1461171925 -
contactValue: string
Maximum Length:
254Contact Value is the information of the Person Contact where the notification will be sent.Example:johndoe@email.com -
dndEndTime: string
Do Not Disturb From specifies the end of the time range during which the person will not receive notifications.Example:
20.30.00 -
dndStartTime: string
Do Not Disturb From specifies the start of the time range during which the person will not receive notifications.Example:
08.00.00 -
firstName: string
Maximum Length:
50For a person, this field is the first name. If the system does not use a name separator, this field contains the entity name. For a business, this field is the entity name.Example:John -
language: string
Maximum Length:
3The language used by the person receiving the notification. This determines the appropriate notification template to use.Example:ENG -
lastName: string
Maximum Length:
50The person's last name. If the system does not use a name separator, this field is null. For a business, this field is also null.Example:Doe -
notificationTypeDescription: string
Maximum Length:
100Description -
overrideDND: boolean
Override Do Not Disturb is a boolean value that indicates whether the person allows notifications to be received during the Do Not Disturb (DND) time range.Example:
true -
parentNotificationTypeDescription: string
Maximum Length:
100Description -
personId: string
Maximum Length:
10Person ID is the unique ID generated on create of a person.Example:1469201746 -
templateName: string
Maximum Length:
254Template Name identifies the template used to send the notification to the person. The appropriate template is determined based on the person's language.Example:Outage Notification (English) -
timeZone: string
Maximum Length:
10Time Zone specifies the person's time zone. If no time zone is assigned to the person, the time zone configured in Installation Options is used by default. The Do Not Disturb From and Do Not Disturb To times are interpreted based on this time zone.Example:USPACIFIC
Nested Schema : items
Type:
Show Source
object-
saId: string
Maximum Length:
10Service Agreement ID is the unique ID generated on create of a service agreement. This field identifies the service agreement for which notification preferences are retrieved.Example:8805757605 -
saNotificationPreferences: array
saNotificationPreferences
Nested Schema : items
Type:
Show Source
object-
deliveryType: string
Allowed Values:
[ "EMAI", "FAX ", "IVR ", "SMS " ]Delivery Type is the type of delivery by which the notification will be sent to the Person Contact. * `EMAI` - Email, * `FAX ` - Fax, * `IVR ` - IVR, * `SMS ` - SMSExample:EMAI -
personContact: object
personContact
-
saNotificationPreferenceId: string
Maximum Length:
14SA Notification Preference ID is the unique ID generated on create of an SA notification preference.Example:54192836673724
Nested Schema : personContact
Type:
Show Source
object-
contactId: string
Maximum Length:
10Person Contact ID is the unique ID generated on create of a person contact.Example:1461171925 -
contactValue: string
Maximum Length:
254Contact Value is the information of the Person Contact where the notification will be sent.Example:johndoe@email.com -
dndEndTime: string
Do Not Disturb From specifies the end of the time range during which the person will not receive notifications.Example:
20.30.00 -
dndStartTime: string
Do Not Disturb From specifies the start of the time range during which the person will not receive notifications.Example:
08.00.00 -
firstName: string
Maximum Length:
50For a person, this field is the first name. If the system does not use a name separator, this field contains the entity name. For a business, this field is the entity name.Example:John -
language: string
Maximum Length:
3The language used by the person receiving the notification. This determines the appropriate notification template to use.Example:ENG -
lastName: string
Maximum Length:
50The person's last name. If the system does not use a name separator, this field is null. For a business, this field is also null.Example:Doe -
notificationTypeDescription: string
Maximum Length:
100Description -
overrideDND: boolean
Override Do Not Disturb is a boolean value that indicates whether the person allows notifications to be received during the Do Not Disturb (DND) time range.Example:
true -
parentNotificationTypeDescription: string
Maximum Length:
100Description -
personId: string
Maximum Length:
10Person ID is the unique ID generated on create of a person.Example:1469201746 -
templateName: string
Maximum Length:
254Template Name identifies the template used to send the notification to the person. The appropriate template is determined based on the person's language.Example:Outage Notification (English) -
timeZone: string
Maximum Length:
10Time Zone specifies the person's time zone. If no time zone is assigned to the person, the time zone configured in Installation Options is used by default. The Do Not Disturb From and Do Not Disturb To times are interpreted based on this time zone.Example:USPACIFIC
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object-
detail: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0Maximum Value:9999The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60Fully qualified URL consisting of the Base URI Timestamp of error in ISO format, the User used for the transaction, the Message Category within Oracle Utilities Application Framework, the Message Number within Oracle Utilities Application Framework, the Request URL and the HTTP method used for the transaction. -
problemType: string
Maximum Length:
60URL of the format "A/message/X/Y" where A is the base URI, X is the Message Category and Y is the Message Number within Oracle Utilities Application Framework. -
serverMessage: object
serverMessage
-
stackTrace: string
Maximum Length:
60The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object-
callSequence: string
Maximum Length:
60Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0Maximum Value:0Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999Maximum Value:99999Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60Name of the program that encountered the error.