V1.0

post

/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/enrollmentsettings

Creates new enrollment settings for the specified study and mode. Validates the supplied configuration persists the settings, and returns the created enrollment setting record.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
DTO representing enrollment setting details, including associated group criteria.
Show Source
Nested Schema : groupCriteria
Type: object
DTO describing individual cohort/criteria group for enrollment settings.
Show Source
  • Minimum Length: 0
    Maximum Length: 2048
    List of choice value objects, if applicable for enumeration-type criteria.
    Example: [{"value":"1","label":"Yes"}]
  • Minimum Length: 0
    Maximum Length: 16
    Type of criteria applied Should match either numeric or choice.
    Example: choice
  • Upper bound for range-type group criteria.
    Example: 65
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.
    Example: FORM1
  • Unique Identifier (UUID, 32-character uppercase hexadecimal string) for the group this criteria belongs to.
    Example: BEEF11223344556677889900AABBCCDD
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) for this group criteria record.
    Example: 1234567890AABBCCDDEEFF1122334455
  • Unique Item identifier (UUID, 32-character uppercase hexadecimal string) from the study Designer, associated to a form.
    Example: 1BC29B36F5D64B1B95F4BDBBCEA481BE
  • Object version number
    Example: 1
  • Lower bound for range-type group criteria.
    Example: 18
  • Minimum Length: 0
    Maximum Length: 100
    String representing the version of the study configuration or protocol. Helps track changes in form or study design.
    Example: 1.0.0.0
  • Minimum Length: 0
    Maximum Length: 2048
    Title or description for the group criteria.
    Example: Male subjects age 18-65
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) of the visit
    Example: 1BC29B36F5D64B1B95F4BDBBCEA481BE
Examples

Back to Top

Response

Supported Media Types

200 Response

Success: The enrollment setting was created. Returns the created enrollment setting(s).
Body ()
Root Schema : EnrollmentSetting
Type: object
Represents the persisted enrollment setting for a study group.
Show Source
  • Minimum Length: 0
    Maximum Length: 2048
    Comment regarding the last change made to the entity.
    Example: Imported via migration tool.
  • Brief description of the enrollment setting.
    Example: Phase 1 - First cohort group
  • Indicates if the enrollment setting is enabled.
    Example: true
  • Title of the group receiving this setting.
    Example: Cohort A
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) for the enrollment setting.
    Example: 1BC29B36F5D64B1B95F4BDBBCEA481BE
  • Notification threshold for approaching subject limit.
    Example: 80
  • Minimum Length: 1
    Maximum Length: 16
    Operation type on the record, can have values CREATED, MODIFIED or REMOVED
    Example: REMOVED
  • Minimum Length: 0
    Maximum Length: 255
    Reason for the entity creation or latest modification.
    Example: Initial import.
  • Maximum number of subjects allowed in this group.
    Example: 100
  • 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.
Body ()
Root Schema : DcsResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
  • details
    Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
  • Application or business-specific error code representing the error type.
    Example: REPT_401
  • Human-readable error message describing the failure or issue.
    Example: Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Detailed 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
Back to Top