[Deprecated]: Migrate a subject

post

/ec-dc-svc/rest/v1/studies/{studyId}/{mode}/subjects/migratesubject

Deprecated: Adds or Migrate a subject to a study. This API has been built without any validations. API expects the Subject Number provided as part of payload to match exactly the Subject Number settings. It ignores the Subject Number Settings and creates the Subject with Subject Number provided as part of payload. Caller needs to ensure it provides Site Prefix, hyphen, leading zeros and any pattern defined as part of Subject Number Settings. Rights: MigrationDataPost.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Contains srcId of each subject
Show Source
Nested Schema : subjects
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
subjects
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
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.

400 Response

Bad request.
Body ()
Root Schema : SubjectDto3
Type: object
Show Source
Back to Top