Create a log entry and send it or schedule it (v1.0)
post
/ec-notifications-svc/rest/v1.0/studies/{studyId}/{mode}/notificationlog
Creates a log entry and immediately sends it or schedules it to be sent with the Scheduler service.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts active, test, or training.
-
studyId(required): string
ID of the study.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
approvalFlag: string
Minimum Length:
0
Maximum Length:1
-
category: string
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
createdBy: string
-
createdDate: string
(date-time)
-
entityId: string
(uuid)
-
entityType: string
-
id: string
(uuid)
-
immediateFlag: string
Minimum Length:
0
Maximum Length:1
-
messageDescription: string
Minimum Length:
0
Maximum Length:32767
-
messageSubject: string
Minimum Length:
0
Maximum Length:1024
-
notificationDatetime: string
(date-time)
-
objectVersionNumber: number
-
operationType: string
-
priority: string
-
privilege: string
-
reason: string
Minimum Length:
0
Maximum Length:255
-
serviceName: string
-
softwareVersionNumber: number
-
userId: string
(uuid)
-
userList: string
Minimum Length:
0
Maximum Length:4000
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
Response
Supported Media Types
- application/json
200 Response
Success.
Root Schema : schema
Type:
Show Source
object
-
approvalFlag: string
Minimum Length:
0
Maximum Length:1
-
category: string
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
createdBy: string
-
createdDate: string
(date-time)
-
entityId: string
(uuid)
-
entityType: string
-
id: string
(uuid)
-
immediateFlag: string
Minimum Length:
0
Maximum Length:1
-
messageDescription: string
Minimum Length:
0
Maximum Length:32767
-
messageSubject: string
Minimum Length:
0
Maximum Length:1024
-
notificationDatetime: string
(date-time)
-
objectVersionNumber: number
-
operationType: string
-
priority: string
-
privilege: string
-
reason: string
Minimum Length:
0
Maximum Length:255
-
serviceName: string
-
softwareVersionNumber: number
-
userId: string
(uuid)
-
userList: string
Minimum Length:
0
Maximum Length:4000
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
400 Response
Bad request.
Root Schema : NotificationResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData_ORS
Title:
ErrorResponseData_ORS
Response object to represent errors. -
result: object
result
-
status: string
Nested Schema : ErrorResponseData_ORS
Type:
object
Title:
ErrorResponseData_ORS
Response object to represent errors.
Show Source
-
details: object
details
Detail of error
-
errorCode: string
Error code in error responseExample:
DESIGN_NOT_FOUND,JSON-004
-
errorMessage: string
Error message in error responseExample:
Design not found, Validation error
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object
Detail of error
500 Response
Internal server error.
Root Schema : NotificationResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData_ORS
Title:
ErrorResponseData_ORS
Response object to represent errors. -
result: object
result
-
status: string
Nested Schema : ErrorResponseData_ORS
Type:
object
Title:
ErrorResponseData_ORS
Response object to represent errors.
Show Source
-
details: object
details
Detail of error
-
errorCode: string
Error code in error responseExample:
DESIGN_NOT_FOUND,JSON-004
-
errorMessage: string
Error message in error responseExample:
Design not found, Validation error
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object
Detail of error