Use a template to send email to a user with internationalization support
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
-
templatetype(required): string
Name of template to use to send email. Valid values are taken from email template configuration database.
Supported Media Types
- application/json
Nested Schema : Subject
Type:
Show Source
object
-
canBeCompleted: boolean
-
canBeReplaced: boolean
-
canBeUndoWithdrawn: boolean
-
codeBreak: string
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
description: string
Minimum Length:
0
Maximum Length:500
-
dob: string
(date-time)
-
enrollmentFailure: string
Minimum Length:
0
Maximum Length:255
-
enrollmentOverride: string
Minimum Length:
0
Maximum Length:255
-
freezedStatus: string
-
fromStudyId: string
(uuid)
-
gender: string
Minimum Length:
0
Maximum Length:10
-
hasLockData: boolean
-
id: string
(uuid)
-
informedConsentDate: string
(date-time)
-
lastSigned: string
-
lockedDateTime: string
(date-time)
-
lockedInStudyVersion: string
-
lockedStatus: string
-
mhealthSubjectId: string
(uuid)
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
previousSubjectNumber: string
-
randomizationNumber: string
-
reason: string
Minimum Length:
0
Maximum Length:255
-
replaceRand: string
-
screenFailureComment: string
-
screenFailureDate: string
(date-time)
-
screeningDate: string
(date-time)
-
screeningFailure: string
Minimum Length:
0
Maximum Length:255
-
sdvSelectionStatus: string
-
signedStatus: string
-
siteId: string
-
sourceTimeStamp: string
(date-time)
-
state(required): string
Minimum Length:
0
Maximum Length:100
-
stateDate: string
(date-time)
-
studyCompletionDate: string
(date-time)
-
studyId: string
-
studyVersion: string
-
subjectNumber(required): string
Minimum Length:
0
Maximum Length:500
-
subjectSDVUpdated: boolean
-
subjNumSiteOrgId: string
-
unblindComment: string
-
unblindDate: string
(date-time)
-
unblindReason: string
-
userId: string
(uuid)
-
verifiedStatus: string
-
versionStart: string
(date-time)
-
withdrawalComment: string
-
withdrawalDate: string
(date-time)
-
withdrawalReason: string
Response
Supported Media Types
- application/json
200 Response
Success.
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object
500 Response
Internal server error.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object