v1.0
post
/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/ehrdata/subjectslinkstatus
Retrieves the EHR???EDC link status for subjects at the provided sites within the specified study and mode.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
test -
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
C36A3197FDEE433FB5547EE83DE99E4B
Supported Media Types
- application/json
Root Schema : schema
Type:
objectRequest DTO for querying the EHR-to-EDC patient link status for a set of site IDs.
Show Source
-
siteIds: array
siteIds
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.
Nested Schema : siteIds
Type:
arrayUnique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.
Show Source
-
Array of:
string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.
Example:
[
"AA12BB34CC56DD78EE90FF98DD11CC22",
"11223344AABBCC55DD66EE77FF88GG99"
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
Show Source
array-
Array of:
object EHRtoEDCPatientLinkStatusCollectionDTO
Response wrapper containing an array of patient link statuses for one or more sites.
Nested Schema : EHRtoEDCPatientLinkStatusCollectionDTO
Type:
objectResponse wrapper containing an array of patient link statuses for one or more sites.
Show Source
-
subjectLinks: object
subjectLinks
Result DTO detailing link status for a site in an EHR-to-EDC patient link status response.
Nested Schema : subjectLinks
Type:
objectResult DTO detailing link status for a site in an EHR-to-EDC patient link status response.
Show Source
-
siteId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
AB12CD34EF56A7890B12C34D56EF7890 -
subjectLinkStatus: string
The EHR/EDC patient link status it values can LINKED/UNLINKED).Example:
LINKED
Examples
400 Response
Bad request.
Root Schema : DcsResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: object
details
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
-
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectNested Schema : details
Type:
objectDetailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
Example:
User role is missing required permission REPORTING_VIEW. Field: userId