V8.0

post

/ec-dc-svc/rest/v8.0/studies/{studyId}/{mode}/subjects/visitschedule

This consolidated API retrieves EHR Link Status, locked status, subjects and their visit schedule. Filter capabilities include 'canBeCompleted' field for a subject.

Request

Path Parameters
Query Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
DTO for version 2 specifying filters, safety case status, and scheduling options for visits.
Show Source
Nested Schema : containsSearchKeywords
Type: array
Keywords for contains match in subject search which will be applied on subject number
Show Source
  • Keywords for contains match in subject search which will be applied on subject number
    Example: ["100","SMI"]
Example:
[
    "100",
    "SMI"
]
Nested Schema : exactSearchKeywords
Type: array
Keywords for exact match in subject search which will be applied on subject number
Show Source
  • Keywords for exact match in subject search which will be applied on subject number
    Example: ["1001","SMITH"]
Example:
[
    "1001",
    "SMITH"
]
Nested Schema : sites
Type: array
List of site identifiers to scope the search
Show Source
Example:
[
    "D3C9A4B5E6F78123456789ABCDEF1234",
    "E1F2A3B4C5D6E7F89012ABCDEF345678"
]
Nested Schema : subjectStates
Type: array
States of subjects to filter by Active, New, Screening_Initiated, Enrolled, Complete, Withdrawn, ehrLinked, ehrNotLinked, Screen_Failed, Auto_Screen_Failed
Show Source
  • States of subjects to filter by Active, New, Screening_Initiated, Enrolled, Complete, Withdrawn, ehrLinked, ehrNotLinked, Screen_Failed, Auto_Screen_Failed
    Example: ["Auto_Screen_Failed"]
Example:
[
    "Auto_Screen_Failed"
]
Back to Top

Response

Supported Media Types

200 Response

Subjects success.
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

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