getEmailServiceData

get

/ccadmin/v1/email

Get Email Service Data. Get the email service data.

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 : getEmailServiceData_response
Nested Schema : emailNotificationTypes
Type: array
Email Notification Types
Nested Schema : emailServiceProperties
Type: object
Email service properties
Nested Schema : items
Type: object
Nested Schema : recommendationsPermittedStrategies
Type: array
Array of recommendation strategy keys permitted for this notification type
Example application/json

{
    "emailServiceProperties":{
        "emailSMTPPort":"25",
        "emailSMTPHost":"127.0.0.1",
        "emailServiceType":"BASIC",
        "emailSMTPAuthMethod":"TLS",
        "emailSMTPPassword":"",
        "emailSMTPUsername":"",
        "isOnsEnabled":"false"
    },
    "emailNotificationTypes":[
        {
            "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":[
            ]
        },
        {
            "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":[
            ]
        },
        {
            "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"
            ]
        }
    ]
}
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:

{
  "emailServiceProperties": {
    "emailSMTPPort": "25",
    "emailSMTPHost": "127.0.0.1",
    "emailServiceType": "BASIC",
    "emailSMTPAuthMethod": "TLS",
    "emailSMTPPassword": "",
    "emailSMTPUsername": "",
    "isOnsEnabled": "false"
  },
  "emailNotificationTypes": [
    {
      "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": []
    },
    {
      "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": []
    },
    {
      "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"]
    }
  ]
}