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
  • Indicates the operational mode of the study. Accepted values: active, test, or training.
    Example:
    test
  • Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    1BC29B36F5D64B1B95F4BDBBCEA481BE
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 identifier (UUID, 32-character uppercase hexadecimal string) of the question within a form. This ID corresponds to the reference code set by the study designer when creating or updating a form question in draft mode.
    Example: 1BC29B36F5D64B1B95F4BDBBCEA481BE
  • Audit trail field that represents the version number of the data.
    Example: 1
  • Lower bound for range-type group criteria.
    Example: 18
  • Minimum Length: 0
    Maximum Length: 100
    String representing the version of the study. 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
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Back to Top