Create multiple data elements for a subject

post

/ec-dc-svc/rest/v12.0/studies/{studyId}/{mode}/dataelements

Creates multiple data elements for a subject for a particular visit and particular form, with form associations if any and also with file upload suppor. Returns form statuses in the response. Rights: DataCaptureSubjectPost and SubjectDataClassificationPost.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Context3
Type: object
Show Source
Nested Schema : dataElements
Type: array
Show Source
Nested Schema : formsAssociations
Type: array
Show Source
Nested Schema : CoreDataElementV7
Type: object
Show Source
Nested Schema : FormAssociationsDataElmntsReqDto21
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : DataElementDto123
Type: object
Show Source
Nested Schema : clearedLabs
Type: array
Show Source
Nested Schema : targets
Type: array
Show Source
Nested Schema : validationRules
Type: array
Show Source
Nested Schema : DCPropertyDto
Type: object
Show Source
Nested Schema : ValidationRuleDto
Type: object
Show Source

400 Response

Bad request.
Body ()
Root Schema : DcsResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top