Submit request for sending notifications
post
/ec-reporting-svc/rest/v1.0/notification/{notificationType}
Submits a request for sending notification on the given input, using the QueryParams parameter. Right: ReportingPost.
Request
Path Parameters
-
notificationType(required): string
Notification type.
Query Parameters
-
mode: string
Mode of the study. Accepts test, active, or training.
-
studyId: string
ID of the study for which you want to download report. Tenant reports such as HSL report etc can be downloaded by making study id as null.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
notificationPayloadMap: object
notificationPayloadMap
Additional Properties Allowed: NotificationPayload
-
notificationPayloads: array
notificationPayloads
Response
Supported Media Types
- */*
200 Response
Success
Root Schema : ExecutionLog
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:4000
-
currSearchSpec: string
Minimum Length:
0
Maximum Length:32000
-
currSortSpec: string
Minimum Length:
0
Maximum Length:512
-
fileStorageId: string
(uuid)
-
id: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
0
Maximum Length:1024
-
reason: string
Minimum Length:
0
Maximum Length:4000
-
recCount: integer
(int32)
-
rptFormat(required): string
Minimum Length:
0
Maximum Length:255
-
rptId: string
(uuid)
-
rptKickoffDatetime(required): string
(date-time)
-
rptName(required): string
Minimum Length:
0
Maximum Length:255
-
rptStatCd: string
Minimum Length:
0
Maximum Length:255
-
runDuration: integer
-
softwareVersionNumber: number
-
userId(required): string
(uuid)
-
versionEnd(required): string
(date-time)
-
versionStart(required): string
(date-time)
400 Response
Bad request
Root Schema : BaseResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
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.
401 Response
Unauthorized user
Root Schema : BaseResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
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.