getEmailNotificationTypes

get

/ccadmin/v1/email/notificationTypes

Get Email Notification Types. Get the email notification types.

Request

There are no request parameters for this operation.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getEmailNotificationTypes_response
Nested Schema : items
Type: array
Email notification types
Nested Schema : items
Type: object
Nested Schema : recommendationsPermittedStrategies
Type: array
Array of recommendation strategy keys permitted for this notification type
Example application/json

{
    "forgotPassword":{
        "recommendationsSupported":false,
        "verificationStatus":1,
        "displayName":"Forgot Password Email",
        "recommendationsStrategy":null,
        "enabled":true,
        "fromEmail":"info@slc04lxz.us.oracle.com",
        "recommendationsAllowAnyStrategy":true,
        "recommendationsRestriction":null,
        "fromName":"Forgot Password xx",
        "recommendationsAllowRestrictions":true,
        "includeRecommendations":false,
        "id":"forgot_password_v1",
        "numberOfRecommendations":3,
        "recommendationsPermittedStrategies":[
        ]
    },
    "account_registration_v1":{
        "recommendationsSupported":true,
        "verificationStatus":1,
        "displayName":"New Account Email",
        "recommendationsStrategy":"bestSellers",
        "enabled":true,
        "fromEmail":"info@slc04lxz.us.oracle.com",
        "recommendationsAllowAnyStrategy":false,
        "recommendationsRestriction":null,
        "fromName":"New Account xx",
        "recommendationsAllowRestrictions":false,
        "includeRecommendations":true,
        "id":"account_registration_v1",
        "numberOfRecommendations":3,
        "recommendationsPermittedStrategies":[
            "topSellers"
        ]
    },
    "abandon_order_v1":{
        "recommendationsSupported":true,
        "verificationStatus":1,
        "displayName":"Abandon Order",
        "recommendationsStrategy":"blended",
        "enabled":true,
        "fromEmail":"info@slc04lxz.us.oracle.com",
        "recommendationsAllowAnyStrategy":true,
        "recommendationsRestriction":"unrestricted",
        "fromName":"Abandon Order xx",
        "recommendationsAllowRestrictions":true,
        "includeRecommendations":true,
        "id":"abandon_order_v1",
        "numberOfRecommendations":3,
        "recommendationsPermittedStrategies":[
        ]
    }
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "forgotPassword": {
    "recommendationsSupported": false,
    "verificationStatus": 1,
    "displayName": "Forgot Password Email",
    "recommendationsStrategy": null,
    "enabled": true,
    "fromEmail": "info@slc04lxz.us.oracle.com",
    "recommendationsAllowAnyStrategy": true,
    "recommendationsRestriction": null,
    "fromName": "Forgot Password xx",
    "recommendationsAllowRestrictions": true,
    "includeRecommendations": false,
    "id": "forgot_password_v1",
    "numberOfRecommendations": 3,
    "recommendationsPermittedStrategies": []
  },
  "account_registration_v1": {
    "recommendationsSupported": true,
    "verificationStatus": 1,
    "displayName": "New Account Email",
    "recommendationsStrategy": "bestSellers",
    "enabled": true,
    "fromEmail": "info@slc04lxz.us.oracle.com",
    "recommendationsAllowAnyStrategy": false,
    "recommendationsRestriction": null,
    "fromName": "New Account xx",
    "recommendationsAllowRestrictions": false,
    "includeRecommendations": true,
    "id": "account_registration_v1",
    "numberOfRecommendations": 3,
    "recommendationsPermittedStrategies": ["topSellers"]
  },
  "abandon_order_v1": {
    "recommendationsSupported": true,
    "verificationStatus": 1,
    "displayName": "Abandon Order",
    "recommendationsStrategy": "blended",
    "enabled": true,
    "fromEmail": "info@slc04lxz.us.oracle.com",
    "recommendationsAllowAnyStrategy": true,
    "recommendationsRestriction": "unrestricted",
    "fromName": "Abandon Order xx",
    "recommendationsAllowRestrictions": true,
    "includeRecommendations": true,
    "id": "abandon_order_v1",
    "numberOfRecommendations": 3,
    "recommendationsPermittedStrategies": []
  }
}