Retrieve Notification Preferences for Accounts

post

/rest/apis/customer/v-model/notificationPreferencesForAccounts/

This operation retrieves notification preferences for an input list of accounts and a notification type for the account.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : accounts
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 10
    The Account ID is a system-assigned random number that stays with an account for life.
    Example: 1575649032
  • Maximum Length: 30
    Notification Type indicates the type of Notification used as Notification Preference.
    Example: CM-OUTAGENOTIF
  • Sequence is the primary key of the input and output, a numeric value which is the pointer for values in input and output.
    Example: 19
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : accounts
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Maximum Length: 10
    The Account ID is a system-assigned random number that stays with an account for life.
    Example: 1575649032
  • Maximum Length: 30
    Notification Type indicates the type of Notification used as Notification Preference.
    Example: CM-OUTAGENOTIF
  • Sequence is the primary key of the input and output, a numeric value which is the pointer for values in input and output.
    Example: 19
Back to Top

Response

Supported Media Types

200 Response

Success response
Body ()
Root Schema : C1AccNtfPref
Type: object
Show Source
Nested Schema : accounts
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : errorInformation
Type: object
Show Source
Nested Schema : notificationPreferences
Type: array
Show Source
Nested Schema : errorReference
Type: object
Show Source
  • Minimum Value: -99999
    Maximum Value: 99999
    This displays the Message Category of the error.
  • Minimum Value: -99999
    Maximum Value: 99999
    This is the Message Number of the error.
Nested Schema : items
Type: object
Show Source
Nested Schema : personContact
Type: object
Show Source
  • Maximum Length: 10
    Person Contact ID is the unique generated ID on create of Person Contact Details.
    Example: 1461171925
  • Maximum Length: 254
    Contact Value is the information of the Person Contact where the notification will be sent.
    Example: johndoe@email.com
  • Do Not Disturb To is the end of the range wherein the Person won't receive any notifications.
    Example: 20.30.00
  • Do Not Disturb From is the start of the range wherein the Person won't receive any notifications.
    Example: 08.00.00
  • Maximum Length: 50
    The Person's First Name. The value of this will be the ENTITY NAME if the system doesn't use name separator. For Business, ENTITY NAME is the value of the First Name.
    Example: John
  • Maximum Length: 3
    Language is the language used by the Person who will be receiving the notification. This is used to retrieve the correct template of the notification to be sent.
    Example: ENG
  • Maximum Length: 50
    The Person's Last Name. The value of this will be NULL if the system doesn't use name separator. For Business, NULL is the value of the Last Name.
    Example: Doe
  • Maximum Length: 100
    Description
  • Override Do Not Disturb is the boolean value wherein the person permits to receive notifications outside the DND Time range.
    Example: true
  • Maximum Length: 100
    Description
  • Maximum Length: 10
    Person ID is the unique ID generated on create of a Person.
    Example: 1469201746
  • Maximum Length: 254
    Template Name is the template to be used in sending the notification to the Person. Template Name is based on the language of the Person.
    Example: Outage Notification (English)
  • Maximum Length: 10
    Time Zone is the Person's Time Zone. If the person is not assigned to a Time Zone, by default it is the Installation Options Time Zone value. Do Not Disturb To and From are based on this Time Zone code.
    Example: USPACIFIC

400 Response

Bad Request
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • 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.
  • 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
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.

500 Response

Internal Server Error
Body ()
Root Schema : problemDetailDocument
Type: object
Show Source
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 9999
    The HTTP Status code for the error.
  • 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.
  • 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
  • Maximum Length: 60
    The stack trace shows where the error occurs during the execution of a program.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
Nested Schema : serverMessage
Type: object
Show Source
  • Maximum Length: 60
    Delimited sequence of programs called.
  • Maximum Length: 60
    The long message description from the Oracle Utilities Application Framework in CDATA format.
  • Minimum Value: 0
    Maximum Value: 0
    Message Category within Oracle Utilities Application Framework.
  • Minimum Value: -99999
    Maximum Value: 99999
    Message Number within Oracle Utilities Application Framework.
  • Maximum Length: 60
    Fully qualified error message from Oracle Utilities Application Framework in CDATA format.
  • Maximum Length: 60
    Name of the program that encountered the error.
Back to Top