Update multiple data elements for a given form, event and subject
put
/ec-dc-svc/rest/v1/studies/{studyId}/{mode}/dataelements/subject/{subjectId}/event/{eventId}/form/{formId}/formassociations
Updates form associations, if any, for a given form, event and subject. Deletes all associations for the data element if request is empty.
Request
Path Parameters
-
eventId(required): string
ID of the visit for which you want to update the forms associations.
-
formId(required): string
ID of the form for which you want to update the forms associations.
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
studyId(required): string
ID of the study
-
subjectId(required): string
ID of the subject for whom you want to update the forms associations.
Query Parameters
-
eventInstanceNum: integer
Instance of the visit for which you want to update the forms associations.
-
repeatSequenceNum: integer
Repeat sequence number of the visit for which you want to update the forms associations.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
formsAssociations: array
formsAssociations
-
reason: string
Minimum Length:
0
Maximum Length:255
Nested Schema : FormsAssociationsDto
Type:
Show Source
object
-
associatedEventId: string
-
associatedEventInstanceNum: integer
(int32)
-
associatedFormId: string
-
associatedRepeatSequenceNumber: integer
-
associatedStudyVersion: string
-
comment: string
-
id: string
(uuid)
-
objectVersionNumber: number
-
reason: string
-
siteId: string
-
srcEventId: string
-
srcEventInstanceNum: integer
(int32)
-
srcFormId: string
-
srcItemId: string
-
srcRepeatSequenceNumber: integer
-
srcStudyVersion: string
-
subjectId: string
-
versionStart: string
(date-time)
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : FormsAssociationsDto
Type:
Show Source
object
-
associatedEventId: string
-
associatedEventInstanceNum: integer
(int32)
-
associatedFormId: string
-
associatedRepeatSequenceNumber: integer
-
associatedStudyVersion: string
-
comment: string
-
id: string
(uuid)
-
objectVersionNumber: number
-
reason: string
-
siteId: string
-
srcEventId: string
-
srcEventInstanceNum: integer
(int32)
-
srcFormId: string
-
srcItemId: string
-
srcRepeatSequenceNumber: integer
-
srcStudyVersion: string
-
subjectId: string
-
versionStart: string
(date-time)
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object