V1.0
get
/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/enrollmentsettings
Fetch all persisted enrollment settings for a given study and mode. Returns a response containing an array of EnrollmentSetting objects, each representing the settings for a group.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
test -
studyId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
1BC29B36F5D64B1B95F4BDBBCEA481BE
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success: Returns an array of persisted enrollment settings for the specified study and mode.
Root Schema : EnrollmentSetting
Type:
objectRepresents the persisted enrollment setting for a study group.
Show Source
-
comment: string
Minimum Length:
0Maximum Length:2048Comment regarding the last change made to the entity.Example:Imported via migration tool. -
description: string
Brief description of the enrollment setting.Example:
Phase 1 - First cohort group -
enableSetting: boolean
Indicates if the enrollment setting is enabled.Example:
true -
groupTitle: string
Title of the group receiving this setting.Example:
Cohort A -
id: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) for the enrollment setting.Example:
1BC29B36F5D64B1B95F4BDBBCEA481BE -
notificationLimit: integer
(int32)
Notification threshold for approaching subject limit.Example:
80 -
operationType: string
Minimum Length:
1Maximum Length:16Operation type on the record, can have values CREATED, MODIFIED or REMOVEDExample:REMOVED -
reason: string
Minimum Length:
0Maximum Length:255Reason for the entity creation or latest modification.Example:Initial import. -
subjectLimit: integer
(int32)
Maximum number of subjects allowed in this group.Example:
100 -
versionStart: string
(date-time)
The timestamp marking the beginning of the validity period for this record version within the system.Example:
2023-01-01T09:00:00Z
Examples
400 Response
Bad request.
Root Schema : DcsResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: object
details
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
-
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectNested Schema : details
Type:
objectDetailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
Example:
User role is missing required permission REPORTING_VIEW. Field: userId