V2.0

get

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

Returns the number of subjects in the study for the given mode and site. Use this to quickly retrieve subject population statistics per site (including summary information).

Request

Path Parameters
Query Parameters
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.
    Example:
    00AA11BB22CC33DD44EE55FF66GG77HH

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Subject count response with summary per site.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : SubjectCountResponseDto20
Type: object
Subject count summary including total, active, withdrawn, enrolled, screen failed and per-site counts
Show Source
Nested Schema : siteSummary
Type: object
Subject count summary for a single site
Show Source
Examples

400 Response

Bad request.
Body ()
Root Schema : DcsResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
  • details
    Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
  • Application or business-specific error code representing the error type.
    Example: REPT_401
  • Human-readable error message describing the failure or issue.
    Example: Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Detailed 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
Back to Top