Use a template to send email to a user

post

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

Sends email to users with the specified template. Provide support to Internationalization in addition to list of study role ids and 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
Show Source
Nested Schema : studyRoleIds
Type: array
Show Source
Nested Schema : Subject
Type: object
Show Source
Nested Schema : users
Type: array
Show Source
Nested Schema : properties
Type: array
Show Source
Nested Schema : Properties
Type: object
Show Source
Nested Schema : anchors
Type: array
Show Source
Nested Schema : Anchors
Type: object
Show Source
Nested Schema : AnchorValues
Type: object
Show Source
Nested Schema : keyValues
Type: array
Show Source
Nested Schema : KeyValues
Type: object
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
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.

500 Response

Internal server error.
Body ()
Root Schema : NotificationResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top