GET v1/api/{studyId}/subject/GetOrAddByEdcId/{edcId}
Finds a subject in consent based on EdcId, or adds it from Edc if it doesn't exist in Consent. NOTE: At the moment, this is the only way to add a subject to Consent.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| edcId | integer |
Required |
|
| studyId | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Subject| Name | Description | Type | Additional information |
|---|---|---|---|
| EdcId | integer |
None. |
|
| ConsentStatusId | globally unique identifier |
None. |
|
| ConsentStatus | ConsentStatus |
None. |
|
| ConsentStatusAudit | string |
None. |
|
| ConsentedDate | date |
None. |
|
| IsStatusUpdatedManually | boolean |
None. |
|
| Attachments | Collection of Attachment |
None. |
|
| ConsentResults | Collection of ConsentResult |
None. |
|
| SubmittedTimeZone | string |
None. |
|
| UpdatedDate | date |
None. |
|
| Id | globally unique identifier |
None. |