V1.0

post

/ec-dataaction-svc/rest/v1.0/studies/{studyId}/{mode}/subjects/{subjectId}/unlockvisits

API unlocks all visit records associated with the specified subject, based on the provided subject ID. This endpoint is used to remove visit-level locks, allowing updates and data entry for all visits of the selected subject within a clinical study.

Request

Path Parameters
  • Mode of the study, accepts: test, active, or training.
    Example:
    test
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.
    Example:
    A834DE46BBFA4737B98EFF1087A26DEA
  • Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.
    Example:
    A8BAB123BAC4410B9AB0137E6C889821
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Unlock DTO for unlocking all visits/items for a subject, except subject-level. All fields are optional.
Show Source
  • Additional comment or context for the unlock request.
    Example: Unlocking all visits except main subject lock due to CRA request.
  • Reason for requesting this unlock.
    Example: Other.
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.
    Example: b123fe17aac4410b9ab0137e6c88981a
  • Unique Identifier (UUID, 32-character uppercase hexadecimal string) of the user
    Example: 91d1b34ed1904d8499844159776b2fd7
Examples

Back to Top

Response

Supported Media Types

202 Response

Accepted - unlock starts (no response body for this API).

400 Response

Bad_Request
Body ()
Root Schema : RestResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
  • details
    Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
  • Application or business-specific error code representing the error type.
    Example: REPT_401
  • 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
Nested Schema : details
Type: object
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
Back to Top