V1.0

post

/ec-dataaction-svc/rest/v1.0/studies/{studyId}/{mode}/freeze

Freezes the subject-level record and all eligible visit, form, item, repeating, lab, and visit start date freeze records for the supplied subject.

Request

Path Parameters
  • Indicates the operational mode of the study. Accepted values: active, test, or training.
    Example:
    test
  • Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    8D05217A464C42E3A10541E44BADE754
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Request for freezing all eligible data for one or more subjects.
Show Source
Nested Schema : subjects
Type: array
Subject identifiers to freeze.
Show Source
  • Subject identifiers to freeze.
    Example: ["AF77C6450BE94DE293C9630142E0AFAD","F1A1D8A137D74D57937B9F7BEF3A9CC1"]
Example:
[
    "AF77C6450BE94DE293C9630142E0AFAD",
    "F1A1D8A137D74D57937B9F7BEF3A9CC1"
]
Examples

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : RestResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Example:
{
    "field":"studyId",
    "reason":"Invalid value"
}

400 Response

Bad request.
Body ()
Root Schema : RestResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Example:
{
    "field":"studyId",
    "reason":"Invalid value"
}
Back to Top