V1.0
post
/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/visits/subjectvisitsinfo
Retrieves a list of visits' start dates for subjects, as well as the subject number and randomization number.
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:
E6C7BC17E0F041D5B79B21A165911AC3
Supported Media Types
- application/json
Root Schema : schema
Type:
objectRequest payload to retrieve subject visit information with specific events and instances.
Show Source
-
subjects: array
subjects
List of subjects with requested visit details.
Nested Schema : subjects
Type:
arrayList of subjects with requested visit details.
Show Source
-
Array of:
object SubjectVisitsInfoReq
Subject with optional visit filters for retrieving visit information.
Example:
[
{
"subjectId":"1BC29B36F5D64B1B95F4BDBBCEA481BE",
"visits":[
{
"eventId":"53915DD9B758466AB2226CBCC4466B7E",
"eventInstanceNum":1
}
]
}
]Nested Schema : SubjectVisitsInfoReq
Type:
objectSubject with optional visit filters for retrieving visit information.
Show Source
-
subjectId: string
Subject identifier in uppercase hex UUIDExample:
1BC29B36F5D64B1B95F4BDBBCEA481BE -
visits: array
visits
Requested visit detail filters for this subject
Example:
[
{
"subjectId":"1BC29B36F5D64B1B95F4BDBBCEA481BE",
"visits":[
{
"eventId":"53915DD9B758466AB2226CBCC4466B7E",
"eventInstanceNum":1
}
]
}
]Nested Schema : visits
Type:
arrayRequested visit detail filters for this subject
Show Source
-
Array of:
object VisitInfoDetailReq
Requested visit detail including event identifier and optional instance number.
Example:
[
{
"eventId":"53915DD9B758466AB2226CBCC4466B7E",
"eventInstanceNum":1
}
]Nested Schema : VisitInfoDetailReq
Type:
objectRequested visit detail including event identifier and optional instance number.
Show Source
-
eventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
53915DD9B758466AB2226CBCC4466B7E -
eventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1
Example:
[
{
"eventId":"53915DD9B758466AB2226CBCC4466B7E",
"eventInstanceNum":1
}
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : subjects
Type:
Show Source
array-
Array of:
object SubjectVisitInfo
Subject level visit information including subject identifiers and visit details.
Nested Schema : SubjectVisitInfo
Type:
objectSubject level visit information including subject identifiers and visit details.
Show Source
-
screeningNumber: string
Screening number captured for the subjectExample:
SCR-0001 -
subjectId: string
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
A1B2C3D4E5F6471890ABCDEF12345678 -
subjectNumber: string
Unique subject Number representing the patient/participant enrolled in the study.Example:
SUBJ-001 -
visits: array
visits
List of visit details for the subject
Nested Schema : visits
Type:
arrayList of visit details for the subject
Show Source
-
Array of:
object VisitInfoDetail
Visit detail containing event identifier, optional instance number, and optional start date.
Example:
[
{
"eventId":"53915DD9B758466AB2226CBCC4466B7E",
"eventInstanceNum":1,
"visitStartDate":"2023-01-01T09:00:00Z"
}
]Nested Schema : VisitInfoDetail
Type:
objectVisit detail containing event identifier, optional instance number, and optional start date.
Show Source
-
eventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
53915DD9B758466AB2226CBCC4466B7E -
eventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
visitStartDate: string
(date-time)
Date of visitExample:
2023-01-01T09:00:00Z
Example:
[
{
"eventId":"53915DD9B758466AB2226CBCC4466B7E",
"eventInstanceNum":1,
"visitStartDate":"2023-01-01T09:00:00Z"
}
]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