V1.0

post

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

Unlocks the specified subject at subject-level. Accepts a ReasonCommentRequest payload capturing reason and comment for audit.

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:
    09ABE234123456789ABCDEFDEADBEEFA
  • Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.
    Example:
    07DFAAAA34CB44141AEFBB123ABC345F
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Reason and comment to justify operation.
Show Source
  • Minimum Length: 0
    Maximum Length: 2048
    Comment
    Example: Removing incorrect data captured by mistake
  • Minimum Length: 0
    Maximum Length: 255
    Reason
    Example: Incorrect entry
Examples

Back to Top

Response

Supported Media Types

202 Response

subject unlock request received- empty response body - standard for HTTP 202.

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