V1.0
get
/ec-dataaction-svc/rest/v1.0/studies/{studyId}/{mode}/subjects/{subjectId}/events/{eventId}/locks/visits
Get visit level lock records for a visit
Request
Path Parameters
-
eventId(required): string(uuid)
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
D3AE48BD29FC4E379BC94AB8265A72CF -
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:
BA62DB18A9E347B899743D46853CEDCA -
subjectId(required): string(uuid)
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
BA62DB18A9E347B899743D46853CEDCA
Query Parameters
-
eventInstanceNum: integer(int64)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
Show Source
array-
Array of:
object VisitLockDetails
DTO containing lock status details for a visit, including subject, event, lock statuses, and related timestamps.
Nested Schema : VisitLockDetails
Type:
objectDTO containing lock status details for a visit, including subject, event, lock statuses, and related timestamps.
Show Source
-
eventId: string
(UUID)
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
D3AE48BD29FC4E379BC94AB8265A72CF -
eventInstanceNum: integer
(int64)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
lockStatus: string
Lock status for this visit. applicable values are LOCKED, UNLOCKEDExample:
LOCKED -
lockStatusTime: string
(date-time)
Timestamp when current lock status became effective.Example:
2023-10-15T18:25:43Z -
subjectId: string
(UUID)
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
BA62DB18A9E347B899743D46853CEDCA -
visitStartDateLockStatus: string
Lock status for the visit start date. applicable values are LOCKED, UNLOCKEDExample:
UNLOCKED -
visitStartDateLockStatusTime: string
(date-time)
Timestamp when visitStartDateLockStatus was set.Example:
2023-10-15T18:25:43Z
Examples
400 Response
Bad_Request
Root Schema : RestResponse
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