Update enrollment setting
put
/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/enrollmentsettings
Updates an enrollment setting. This operation is needed to update enrollment setting and its groups.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
studyId(required): string
ID of the study for which you want to get/update/delete enrollment settings.
Supported Media Types
- */*
Root Schema : schema
Type:
Show Source
object
-
count: integer
(int32)
-
description: string
Minimum Length:
0
Maximum Length:2048
-
enableSetting: boolean
-
groupCriteria: array
groupCriteria
-
groupTitle: string
Minimum Length:
0
Maximum Length:255
-
id: string
(uuid)
-
notificationLimit: integer
(int32)
Minimum Value:
0
Maximum Value:100
-
objectVersionNumber: number
-
settingType: string
-
subjectLimit: integer
(int32)
Minimum Value:
0
Nested Schema : EnrollmentGroupDto
Type:
Show Source
object
-
choiceValue: string
Minimum Length:
0
Maximum Length:2048
-
criteriaType: string
Minimum Length:
0
Maximum Length:16
-
endRange: number
(double)
-
formId: string
-
groupId: string
(uuid)
-
id: string
(uuid)
-
itemId: string
-
objectVersionNumber: number
-
startRange: number
(double)
-
studyVersion: string
Minimum Length:
0
Maximum Length:100
-
title: string
Minimum Length:
0
Maximum Length:2048
-
visitId: string
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : EnrollmentSetting
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
description: string
-
enableSetting: boolean
-
groupTitle: string
-
id: string
(uuid)
-
notificationLimit: integer
(int32)
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
reason: string
Minimum Length:
0
Maximum Length:255
-
subjectLimit: integer
(int32)
-
userId: string
(uuid)
-
versionStart: string
(date-time)
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object