Patch Communications Preferences
patch
https://server.com:port/spl/rest/apis/customer/v-model/communicationsPreferences/{accountId}/{personId}
Request
Path Parameters
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
Show Source
object
-
accountId: string
Maximum Length:
10
The Account ID is a system-assigned random number that stays with an account for life.Example:0833559999
-
httpMethod: string
Allowed Values:
[ "DELT", "GET ", "POST", "PTCH", "PUT " ]
HTTP Method: * `DELT` - Delete, * `GET ` - Get, * `POST` - Post, * `PTCH` - Patch, * `PUT ` - Put -
notificationTypeList: array
notificationTypeList
-
personId: string
Maximum Length:
10
Person 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)
-
isOptOutAllowed: boolean
(isOptOutAllowed)
-
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:
30
Notification Type displays the code for the notification preferences for the customer in context.Example:ZZBUG23605115
-
notificationTypeDescription: string
Maximum Length:
100
Notification Type displays the description for the notification preferences for the customer in context.Example:Test for Bug 23605115
-
optOutPreferenceId: string
Maximum Length:
14
Communication Preference Id -
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:
array
If the notification type is a subscription, an optional list of notification option extension fields to capture
Show Source
Nested Schema : notificationPreferenceList
Type:
array
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
Show Source
Nested Schema : items
Type:
Show Source
object
-
contactDetailId: string
Maximum Length:
10
Person contact details IDExample:3904719666
-
contactDetailValue: string
Maximum Length:
254
Person contact details valueExample:1234567
-
deliveryType: string
Allowed Values:
[ "EMAI", "FAX ", "IVR ", "SMS " ]
Delivery type * `EMAI` - Email, * `FAX ` - Fax, * `IVR ` - IVR, * `SMS ` - SMSExample:SMS
-
deliveryTypeDescription: string
Maximum Length:
60
Delivery type descriptionExample:SMS
-
keepPreference: boolean
(keepPreference)
-
nickname: string
Maximum Length:
100
Person contact details nickname -
notificationPreferenceId: string
Maximum Length:
14
Communication Preference Id
Root Schema : schema
Type:
Show Source
object
-
accountId: string
Maximum Length:
10
The Account ID is a system-assigned random number that stays with an account for life.Example:0833559999
-
httpMethod: string
Allowed Values:
[ "DELT", "GET ", "POST", "PTCH", "PUT " ]
HTTP Method: * `DELT` - Delete, * `GET ` - Get, * `POST` - Post, * `PTCH` - Patch, * `PUT ` - Put -
notificationTypeList: array
notificationTypeList
-
personId: string
Maximum Length:
10
Person 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)
-
isOptOutAllowed: boolean
(isOptOutAllowed)
-
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:
30
Notification Type displays the code for the notification preferences for the customer in context.Example:ZZBUG23605115
-
notificationTypeDescription: string
Maximum Length:
100
Notification Type displays the description for the notification preferences for the customer in context.Example:Test for Bug 23605115
-
optOutPreferenceId: string
Maximum Length:
14
Communication Preference Id -
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:
array
If the notification type is a subscription, an optional list of notification option extension fields to capture
Show Source
Nested Schema : notificationPreferenceList
Type:
array
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
Show Source
Nested Schema : items
Type:
Show Source
object
-
contactDetailId: string
Maximum Length:
10
Person contact details IDExample:3904719666
-
contactDetailValue: string
Maximum Length:
254
Person contact details valueExample:1234567
-
deliveryType: string
Allowed Values:
[ "EMAI", "FAX ", "IVR ", "SMS " ]
Delivery type * `EMAI` - Email, * `FAX ` - Fax, * `IVR ` - IVR, * `SMS ` - SMSExample:SMS
-
deliveryTypeDescription: string
Maximum Length:
60
Delivery type descriptionExample:SMS
-
keepPreference: boolean
(keepPreference)
-
nickname: string
Maximum Length:
100
Person contact details nickname -
notificationPreferenceId: string
Maximum Length:
14
Communication Preference Id
Response
Supported Media Types
- application/xml
- application/json
200 Response
Success response
Root Schema : C1ComPrefer
Type:
Show Source
object
-
accountId: string
Maximum Length:
10
The Account ID is a system-assigned random number that stays with an account for life.Example:0833559999
-
httpMethod: string
Allowed Values:
[ "DELT", "GET ", "POST", "PTCH", "PUT " ]
HTTP Method: * `DELT` - Delete, * `GET ` - Get, * `POST` - Post, * `PTCH` - Patch, * `PUT ` - Put -
notificationTypeList: array
notificationTypeList
-
personId: string
Maximum Length:
10
Person 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)
-
isOptOutAllowed: boolean
(isOptOutAllowed)
-
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:
30
Notification Type displays the code for the notification preferences for the customer in context.Example:ZZBUG23605115
-
notificationTypeDescription: string
Maximum Length:
100
Notification Type displays the description for the notification preferences for the customer in context.Example:Test for Bug 23605115
-
optOutPreferenceId: string
Maximum Length:
14
Communication Preference Id -
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:
array
If the notification type is a subscription, an optional list of notification option extension fields to capture
Show Source
Nested Schema : notificationPreferenceList
Type:
array
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
Show Source
Nested Schema : items
Type:
Show Source
object
-
contactDetailId: string
Maximum Length:
10
Person contact details IDExample:3904719666
-
contactDetailValue: string
Maximum Length:
254
Person contact details valueExample:1234567
-
deliveryType: string
Allowed Values:
[ "EMAI", "FAX ", "IVR ", "SMS " ]
Delivery type * `EMAI` - Email, * `FAX ` - Fax, * `IVR ` - IVR, * `SMS ` - SMSExample:SMS
-
deliveryTypeDescription: string
Maximum Length:
60
Delivery type descriptionExample:SMS
-
keepPreference: boolean
(keepPreference)
-
nickname: string
Maximum Length:
100
Person contact details nickname -
notificationPreferenceId: string
Maximum Length:
14
Communication Preference Id
400 Response
Bad Request
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60
Fully 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:
60
URL 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:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.
500 Response
Internal Server Error
Root Schema : problemDetailDocument
Type:
Show Source
object
-
detail: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
httpStatus: number
Minimum Value:
0
Maximum Value:9999
The HTTP Status code for the error. -
problemInstance: string
Maximum Length:
60
Fully 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:
60
URL 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:
60
The stack trace shows where the error occurs during the execution of a program. -
title: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type:
Show Source
object
-
callSequence: string
Maximum Length:
60
Delimited sequence of programs called. -
longDescription: string
Maximum Length:
60
The long message description from the Oracle Utilities Application Framework in CDATA format. -
messageCategory: number
Minimum Value:
0
Maximum Value:0
Message Category within Oracle Utilities Application Framework. -
messageNbr: number
Minimum Value:
-99999
Maximum Value:99999
Message Number within Oracle Utilities Application Framework. -
messageText: string
Maximum Length:
60
Fully qualified error message from Oracle Utilities Application Framework in CDATA format. -
programName: string
Maximum Length:
60
Name of the program that encountered the error.