Migrate a subject

post

/ec-dc-svc/rest/v2.0/studies/{studyId}/{mode}/subjects/migratesubject

Migrates a subject adding it to a study using subject migration API with sourceTimeStamp value.
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.
  • API also expect sourceTimeStamp value as part of payload.
  • 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
Show Source
Nested Schema : SubjectMigrationRequestDTO
Type: object
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 : SubjectMigrationResponseDTO
Type: object
Show Source
Back to Top