Use a template to send email to a user

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. The template is stored in the configuration PDB.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : emailAddresses
Type: array
Show Source
Nested Schema : placeHolderImageMap
Type: object
Additional Properties Allowed
Show Source
Nested Schema : placeHolderValueMap
Type: object
Additional Properties Allowed
Show Source
Nested Schema : studyRoleIds
Type: array
Show Source
Nested Schema : users
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success.

400 Response

Bad request.
Body ()
Root Schema : NotificationResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object

500 Response

Internal server error.
Body ()
Root Schema : NotificationResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Back to Top