v1.0
post
/ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/lock/subjects
API to fetch subject lock status for given subject list.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
active -
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
A1B2C3D4E5F647839ABCDEF012345678
Supported Media Types
- application/json
Root Schema : SubjectLockRequestDTO
Type:
objectTitle:
SubjectLockRequestDTOContains a list of subjects to get lock status details
Show Source
-
subjects(required): array
subjects
Minimum Number of Items:
1Maximum Number of Items:2147483647List of subject identifiers in UUID, 32-character uppercase hexadecimal string
Nested Schema : subjects
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
2147483647List of subject identifiers in UUID, 32-character uppercase hexadecimal string
Show Source
-
Array of:
string(uuid)
List of subject identifiers in UUID, 32-character uppercase hexadecimal string
Example:
[
"1BC29B36F5D64B1B95F4BDBBCEA481BE",
"2ABC8A2C11045A584ADEA8760F72B114"
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
Show Source
array-
Array of:
object DataActionsDTO
DTO representing details of a data action and locking operations.
Nested Schema : DataActionsDTO
Type:
objectDTO representing details of a data action and locking operations.
Show Source
-
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 comments about the action.Example:Lock applied due to protocol deviation -
eventId: string
(UUID)
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
A1B23C45D67E89F123456789ABCDEF12 -
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 -
formId: string
(UUID)
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
C9F84A1D5C7E42A8B9F56321A4B8D721 -
formSectionId: string
(UUID)
ID (UUID, 32-character uppercase hexadecimal string) of the form section.Example:
8877665544332211AABBCCDDEEFF0011 -
id: string
Unique identifier for a data action given in UUID, 32-character uppercase hexadecimal string format.Example:
A1B23C45D67E89F123456789ABCDEF12 -
innerRepeat: integer
(int64)
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
(UUID)
Unique Item identifier (UUID, 32-character uppercase hexadecimal string) from the study Designer, associated to a form.Example:
ABCDEFABCDEF1234567890ABCDEF1234 -
objectVersionNumber: number
(integer)
Object version numberExample:
2 -
operationType: string
Operation type on the record, can have values CREATED, MODIFIED or REMOVEDExample:
MODIFIED -
outerRepeat: integer
(int64)
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:
1 -
reason: string
Minimum Length:
0Maximum Length:255Reason for the data action.Example:Other -
repeatFormNumber: integer
(int64)
Form repeat number if applicable.Example:
1 -
repeatSequenceNumber: integer
(int64)
Indicates the order of occurrence for a repeating form instance, used to distinguish between multiple repetitions of the same form.Example:
2 -
siteId: string
(UUID)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
B1B8327AFAA6412287106192AB5984EF -
softwareVersionNumber: number
(integer)
Software version numberExample:
3 -
studyVersion: string
String representing the version of the study configuration or protocol. Helps track changes in form or study design.Example:
2.0.0.38 -
subjectId: string
(UUID)
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
3EFD49D47C96428C9AAE2FDDE2A32D23 -
userId: string
Unique Identifier (UUID, 32-character uppercase hexadecimal string) of the userExample:
E1F2D3C4B5A697887766554433221100 -
versionEnd: string
(date-time)
The end date until which the data is applicable or valid.Example:
2023-12-31T23:59:59Z -
versionStart: string
(date-time)
The timestamp marking the beginning of the validity period for this record version within the system.Example:
2023-01-01T00:00:00Z -
visitStartDateAction: string
Action performed on visit start date LOCKED, UNLOCKED, NEVER_LOCKED.Example:
UNLOCKED
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