[Deprecated]: Get subjects and their visit schedule
post
/ec-dc-svc/rest/v2.0/studies/{studyId}/{mode}/subjects/visitschedule
Deprecated: This consolidated API retrieves subjects and their visit schedule along with filter capabilities.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
studyId(required): string
ID of the study for which you want to get the list of subjects.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectRequest payload to retrieve visit schedules for subjects filtered by sites, pagination, ordering, review status and state filters
Show Source
-
containsSearchKeywords: array
containsSearchKeywords
Keywords for contains match in subject search
-
exactSearchKeywords: array
exactSearchKeywords
Keywords for exact match in subject search
-
limit: integer
(int32)
Maximum number of results to returnExample:
25 -
nextVisitOnly: boolean
When true, only the next scheduled visit is returned per subjectExample:
false -
notStarted: boolean
When true, include only subjects that have not startedExample:
false -
offset: integer
(int32)
Offset for paginationExample:
0 -
order: string
Sort order for resultsExample:
asc -
projectionTillDate: string
(date-time)
Project scheduled visits up to this date
-
reviewStatus: string
Review status filter applied to subjectsExample:
ALL -
sites: array
sites
List of site identifiers to scope the search
-
subjectStates: array
subjectStates
States of subjects to filter by
Nested Schema : containsSearchKeywords
Type:
arrayKeywords for contains match in subject search
Show Source
-
Array of:
string
Keywords for contains match in subject searchExample:
["100","SMI"]
Example:
[
"100",
"SMI"
]Nested Schema : exactSearchKeywords
Type:
arrayKeywords for exact match in subject search
Show Source
-
Array of:
string
Keywords for exact match in subject searchExample:
["1001","SMITH"]
Example:
[
"1001",
"SMITH"
]Nested Schema : sites
Type:
arrayList of site identifiers to scope the search
Show Source
-
Array of:
string(uuid)
List of site identifiers to scope the search
Example:
[
"D3C9A4B5E6F78123456789ABCDEF1234",
"E1F2A3B4C5D6E7F89012ABCDEF345678"
]Nested Schema : subjectStates
Type:
arrayStates of subjects to filter by
Show Source
-
Array of:
string
States of subjects to filter byExample:
["COMPLETE","WITHDRAWN"]
Example:
[
"COMPLETE",
"WITHDRAWN"
]Response
Supported Media Types
- application/json
200 Response
Subjects success.
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: string
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 -
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:
object400 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: string
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 -
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:
object