v1.0
get
/ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/lock/subjects
Retrieves latest lock status for all subjects under a study.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
active -
studyId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
A1B2C3D4E5F647839ABCDEF012345678
Query Parameters
-
limit: integer(int32)
Minimum Value:
0number of recordsDefault Value:5000Example:5000 -
offset: integer(int32)
Minimum Value:
0starting offsetExample:0 -
order: string
asc or descDefault Value:
DESCExample:DESC -
subjectId: string
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
E3E70682E5F7473E8D39BB0D7B1A3B52
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
Nested Schema : LockedStatusDTO
Type:
Show Source
object-
action: string
Action taken on the visit start date value.Acceptable values are LOCKED, UNLOCKED, NEVER_LOCKED.Example:
LOCKED -
comment: string
Minimum Length:
0Maximum Length:2048Additional comment or note about the action.Example:Locked by monitor for review -
eventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
D4E5F6A1B2C347839ABCDEF012345678 -
eventInstanceNum: integer
(int)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
formId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
2A5E92F1C2D54DDA9F1C0A9E7B3C2D1A -
formSectionId: string
ID (UUID, 32-character uppercase hexadecimal string) of the form section.Example:
ABCDEF12ABCDEF12ABCDEF12ABCDEF12 -
id: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the record.Example:
1BC29B36F5D64B1B95F4BDBBCEA481BE -
innerRepeat: integer
(int)
Indicates the repeat sequence number of a nested or inner repeating form within an outer repeating structure. This value is used to distinguish multiple occurrences of the same inner form for a given outer repeat instance.Example:
0 -
itemId: string
Unique Item identifier (UUID, 32-character uppercase hexadecimal string) from the study Designer, associated to a form.Example:
0F1E2D3C4B5A69788796A5B4C3D2E1F0 -
objectVersionNumber: number
Object version number used for concurrency control.Example:
1 -
operationType: string
Operation type on the record, can have values CREATED, MODIFIED or REMOVEDExample:
MODIFIED -
outerRepeat: integer
(int)
Indicates the repeat sequence number of the primary or outer repeating form. This value identifies each top-level occurrence of a repeating form and serves as the parent context for any nested inner repeats.Example:
0 -
reason: string
Minimum Length:
0Maximum Length:255Reason provided for the lock or action.Example:Site audit lock -
repeatFormNumber: integer
(int)
Represents the ordinal number assigned to a repeated instance of a data collection form. It uniquely identifies each occurrence of a repeating form for a subject when multiple instances of the form.Example:
0 -
repeatSequenceNumber: integer
(int)
Internal repeat sequence number for item or visit repeats.Example:
0 -
siteID: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
938D23FA6B7241CCA41BD627E5DB60DA -
softwareVersionNumber: number
Software version number used when the record was generated.Example:
300 -
studyVersion: string
String representing the version of the study configuration or protocol. Helps track changes in form or study design.Example:
1.0.0.3 -
subjectId: string
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
A1B2C3D4E5F647839ABCDEF012345678 -
userId: string
Unique Identifier (UUID, 32-character uppercase hexadecimal string) of the userExample:
225B79C982104415886DE02BC73C1E1E -
versionEnd: string
(date-time)
The end date until which the data is applicable or valid.Example:
2023-01-01T10:00:00Z -
versionStart: string
(date-time)
The timestamp marking the beginning of the validity period for this record version within the system.Example:
2023-01-01T09:00:00Z -
visitStartDateAction: string
Action to be taken for the visit. The value may be SCREEN_ENABLE, SCREEN_DISABLE, RANDOMIZE_ENABLE, RANDOMIZE_DISABLE, DISPENSE_ENABLE, DISPENSE_DISABLE, COMPLETE_STUDY_ENABLE and COMPLETE_STUDY_DISABLE.Example:
COMPLETE_STUDY_DISABLE
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