V2.0

get

/ec-dataaction-svc/rest/v2.0/studies/{studyId}/{mode}/subjects/{subjectId}/events/{eventId}/forms/{formId}/items/{itemId}/locks

This API retrieves the lock status and history for a specific item within a subject's event and form. It does not perform locking itself, but allows clients to view whether and how the item is currently locked,V2 is the recommended version for retrieving lock status, providing updated validation, improved error logging

Request

Path Parameters
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) of the clinical event. A clinical event can be, for example: Screening, Randomization, Visit 1, etc. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    BACEFACE12345678A1B2C3D4E5F60789
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.
    Example:
    D5C6B2A4C8F3E01587B96202BBAA9345
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) of the question within a form. This ID corresponds to the reference code set by the study designer when creating or updating a form question in draft mode.
    Example:
    ABCDEFABCDEF1234567890ABCDEF1234
  • 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:
    A1B23C45D67E89F123456789ABCDEF12
  • Unique identifier of the subject. Used to represent a participant enrolled in a study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    3EFD49D47C96428C9AAE2FDDE2A32D23
Query Parameters
  • Numeric value representing the instance number of the event. Used for repeated or unscheduled visits (e.g., 1, 2, 3). It is null for scheduled events.
    Example:
    2
  • 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:
    1
  • 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
  • Parent Data.
    Example:
    false
  • 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:
    2
  • Indicates the order of occurrence for a repeating form instance, used to distinguish between multiple repetitions of the same form.
    Example:
    1

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : DataActionsDTO
Type: object
DTO representing details of a data action and locking operations.
Show Source
  • Action taken on the visit start date value.Acceptable values are LOCKED, UNLOCKED, NEVER_LOCKED.
    Example: LOCKED
  • Minimum Length: 0
    Maximum Length: 2048
    Additional comments about the action.
    Example: Lock applied due to protocol deviation
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) of the clinical event. A clinical event can be, for example: Screening, Randomization, Visit 1, etc. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example: A1B23C45D67E89F123456789ABCDEF12
  • Numeric value representing the instance number of the event. Used for repeated or unscheduled visits (e.g., 1, 2, 3). It is null for scheduled events.
    Example: 1
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.
    Example: C9F84A1D5C7E42A8B9F56321A4B8D721
  • Unique identifier of the table within a two section form or lab form. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example: 8877665544332211AABBCCDDEEFF0011
  • Unique identifier for a data action given in UUID, 32-character uppercase hexadecimal string format.
    Example: A1B23C45D67E89F123456789ABCDEF12
  • 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
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) of the question within a form. This ID corresponds to the reference code set by the study designer when creating or updating a form question in draft mode.
    Example: ABCDEFABCDEF1234567890ABCDEF1234
  • Audit trail field that represents the version number of the data.
    Example: 2
  • Operation type on the record, can have values CREATED, MODIFIED or REMOVED
    Example: MODIFIED
  • 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
  • Minimum Length: 0
    Maximum Length: 255
    Reason for the data action.
    Example: Other
  • Form repeat number if applicable.
    Example: 1
  • Indicates the order of occurrence for a repeating form instance, used to distinguish between multiple repetitions of the same form.
    Example: 2
  • Unique identifier of the site. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example: B1B8327AFAA6412287106192AB5984EF
  • Software version number
    Example: 3
  • String representing the version of the study. Helps track changes in form or study design.
    Example: 2.0.0.38
  • Unique identifier of the subject. Used to represent a participant enrolled in a study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example: 3EFD49D47C96428C9AAE2FDDE2A32D23
  • Unique user identifier representing the clinicalone user who modified or interacted with the subject record. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example: E1F2D3C4B5A697887766554433221100
  • The end date until which the data is applicable or valid.
    Example: 2023-12-31T23:59:59Z
  • The timestamp marking the beginning of the validity period for this record version within the system.
    Example: 2023-01-01T00:00:00Z
  • Action performed on visit start date LOCKED, UNLOCKED, NEVER_LOCKED.
    Example: UNLOCKED
Examples

400 Response

Bad_Request
Body ()
Root Schema : RestResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Back to Top