V3.0

post

/ec-notifications-svc/rest/v3.0/email/{templatetype}

Sends email to users with the specified template. Supports a list of study role IDs in addition to email addresses. Relative to v2.0: Support studyRoleId to send notifications.

Request

Path Parameters
  • Name of the template to use to send email. Valid values are taken from email template configuration database, Allowed Values: CompletedTrainingTemplate, DefaultTrainingTemplate_L10n, CompletedTrainingTemplate_L10n, WithoutStudyTrainingTemplate, AssignedTrainingTemplate
    Example:
    DefaultTrainingTemplate
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Supporting study role based targeting in addition to direct email addresses and users.
Show Source
Nested Schema : emailAddresses
Type: array
Additional recipient email addresses not associated with users
Show Source
  • Additional recipient email addresses not associated with users
    Example: ["john.doe@oracle.com"
Example:
["john.doe@oracle.com"
Nested Schema : placeHolderImageMap
Type: object
Map of placeholder image variables to URLs or resource identifiers
Example:
{
    "image5":"NOTIFICATION.EMAIL.IMAGE5",
    "image3":"NOTIFICATION.EMAIL.IMAGE3",
    "image4":"NOTIFICATION.EMAIL.IMAGE4",
    "image1":"NOTIFICATION.EMAIL.IMAGE1",
    "image2":"NOTIFICATION.EMAIL.IMAGE2"
}
Nested Schema : placeHolderValueMap
Type: object
Map of placeholder variables to be replaced in the template body
Example:
{
    "userTrainingDetails":" ",
    "redirectUrl":"",
    "username":"system",
    "studyName":"AutomationStudy"
}
Nested Schema : studyRoleIds
Type: array
List of study role identifiers to target (UUID, 32-character uppercase hexadecimal string)
Show Source
  • List of study role identifiers to target (UUID, 32-character uppercase hexadecimal string)
    Example: ["1BC29B36F5D64B1B95F4BD32CEA481BE","8F14E45FC1EA167A5A36D5DD4BEA2543"]
Example:
[
    "1BC29B36F5D64B1B95F4BD32CEA481BE",
    "8F14E45FC1EA167A5A36D5DD4BEA2543"
]
Nested Schema : users
Type: array
List of recipient user identifiers (UUID, 32-character uppercase hexadecimal string)
Show Source
  • List of recipient user identifiers (UUID, 32-character uppercase hexadecimal string)
    Example: ["C5770247BEF54CE0923B7C7CA3B659C8","DBF0480DD86446CE8482BE016726393C"]
Example:
[
    "C5770247BEF54CE0923B7C7CA3B659C8",
    "DBF0480DD86446CE8482BE016726393C"
]
Examples

Back to Top

Response

Supported Media Types

202 Response

Request processed successfully, check the result

400 Response

Error in request, check the request
Body ()
Root Schema : NotificationResponse
Type: object
Standard wrapper for API responses. Contains the request processing status, the result payload for successful requests, and error details when a request fails.
Show Source
  • ErrorResponseData
    Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
  • result
    Result payload for the request. The concrete type depends on the endpoint and is described in the corresponding API documentation.
  • Status of the request processing. SUCCESS indicates the request was processed without errors. Any other value indicates failure.
    Example: success
Nested Schema : ErrorResponseData
Type: object
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
  • details
    Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
  • Application or business-specific error code representing the error type.
    Example: REPT_401
  • Human-readable error message describing the failure or issue.
    Example: Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type: object
Result payload for the request. The concrete type depends on the endpoint and is described in the corresponding API documentation.
Nested Schema : details
Type: object
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
Example:
User role is missing required permission REPORTING_VIEW. Field: userId
Examples

Back to Top