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
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object

400 Response

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