Get Notification Preferences
get
/rest/apis/customer/v-model/communicationsPreferences/{accountId}/{personId}
This operation retrieves notification preferences for a person associated with a billing account.
Request
Path Parameters
-
accountId(required): string
The Account ID is a system-assigned random number that stays with an account for life.Example:
0833559999 -
personId(required): string
Person ID is a system-assigned random number that stays with a person for the life of the system.Example:
3903069999
Query Parameters
-
notificationType: string
Notification Type displays the code for the notification preferences for the customer in context.Example:
ZZBUG23605115
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : C1ComPrefer
Type:
Show Source
object-
accountId: string
Maximum Length:
10The Account ID is a system-assigned random number that stays with an account for life.Example:0833559999 -
notificationType: string
Maximum Length:
30Notification Type displays the code for the notification preferences for the customer in context.Example:ZZBUG23605115 -
notificationTypeList: array
notificationTypeList
-
personId: string
Maximum Length:
10Person ID is a system-assigned random number that stays with a person for the life of the system.Example:3903069999
Nested Schema : items
Type:
Show Source
object-
isOptedOut: boolean
isOptedOut is defined as true if a customer opts out of the notifications preferences.Example:
true -
isOptOutAllowed: boolean
isOptOutAllowed allows customer to opt out of notification preferences when defined as true.Example:
true -
notificationOption: array
notificationOption
If the notification type is a subscription, an optional list of notification option extension fields to capture
-
notificationPreferenceList: array
notificationPreferenceList
A list of eligible contact preferences. This list includes all valid contact details for the person that are valid for the notification type and delivery type. If a contact reference is valid for multiple delivery types then it appears as multiple types
-
notificationType: string
Maximum Length:
30Notification Type displays the code for the notification preferences for the customer in context.Example:ZZBUG23605115 -
notificationTypeDescription: string
Maximum Length:
100Notification Type displays the description for the notification preferences for the customer in context.Example:Test for Bug 23605115 -
optOutPreferenceId: string
Maximum Length:
14When opt out is supported, the preference to opt out is also stored in the communication preference entity as Communication Preference Id.Example:74703875639999 -
otherPushPreferences: number
Minimum Value:
0Maximum Value:99999The Count tallies additional active push preferences for the account and any other related persons. If no other persons have an active preference for the parent notification type, the system uses its default notification method.Example:1 -
subscriptionOrPush: string
Allowed Values:
[ "C1PU", "C1SU" ]Subscription/Push defines if a notification is a push or a subscription type notification. * `C1PU` - Push, * `C1SU` - SubscriptionExample:C1PU
Nested Schema : notificationOption
Type:
arrayIf the notification type is a subscription, an optional list of notification option extension fields to capture
Show Source
Nested Schema : notificationPreferenceList
Type:
arrayA list of eligible contact preferences. This list includes all valid contact details for the person that are valid for the notification type and delivery type. If a contact reference is valid for multiple delivery types then it appears as multiple types
Show Source
Nested Schema : items
Type:
Show Source
object-
dataType: string
Maximum Length:
106Data type lookup field for the option value.Example:NUMB -
label: string
Maximum Length:
60Label of the option if allowed for the subscription notification type.Example:Days Before -
precision: number
Minimum Value:
-9999999999Maximum Value:9999999999Precision, if numericExample:1 -
required: string
Allowed Values:
[ "N ", "Y " ]Required Y or N flag * `N ` - No, * `Y ` - YesExample:N -
scale: number
Minimum Value:
-999Maximum Value:999Scale, if numericExample:0 -
sequence: number
Minimum Value:
-999Maximum Value:999Sequence if the notification type is a subscription that allows for an option to be set.Example:10 -
sign: boolean
Sign, if numericExample:
false -
transactionalBOXpath: string
Maximum Length:
4000Path to the option value being stored.Example:dueInfo/numberOfDaysBeforeDue -
validValue: array
validValue
-
value: string
Maximum Length:
254Value of the option that is set for the customer subscription.Example:3
Nested Schema : items
Type:
Show Source
object-
label: string
Maximum Length:
10Label of the notification option parameter value that can be provided as a setting.Example:Account Balance -
value: string
Maximum Length:
254Value of the option that is set for the customer subscription.Example:3
Nested Schema : items
Type:
Show Source
object-
contactDetailId: string
Maximum Length:
10Person contact details IDExample:3904719666 -
contactDetailValue: string
Maximum Length:
254Person contact details valueExample:1234567 -
deliveryType: string
Allowed Values:
[ "EMAI", "FAX ", "IVR ", "MPSH", "SMS " ]Delivery type * `EMAI` - Email, * `FAX ` - Fax, * `IVR ` - IVR, * `MPSH` - Mobile Application Push, * `SMS ` - SMSExample:SMS -
deliveryTypeDescription: string
Maximum Length:
60Delivery type descriptionExample:SMS -
keepPreference: boolean
Keep preference flag can be true or false for contact preferences.Example:
false -
nickname: string
Maximum Length:
100Person contact details nickname -
notificationOption: array
notificationOption
If the notification type is a subscription, an optional list of notification option extension fields to capture
-
notificationPreferenceId: string
Maximum Length:
14The Notification Preference ID is the unique system generated primary key for the Notification Preference record.Example:95058374991172
Nested Schema : notificationOption
Type:
arrayIf the notification type is a subscription, an optional list of notification option extension fields to capture
Show Source
Nested Schema : items
Type:
Show Source
object-
sequence: number
Minimum Value:
-999Maximum Value:999Sequence if the notification type is a subscription that allows for an option to be set.Example:10 -
value: string
Maximum Length:
254Value of the option that is set for the customer subscription.Example:3
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.