v2.0

put

/ec-dataintegration-svc/rest/v2.0/studies/{studyId}/{mode}/subject/{subjectId}/formStatus

Retrieves a list of form statuses, form completion, form last update and form start for the given form IDs. Differences from v1 version of API: Base path updated to v2.0. Request body also includes usePersistence flag to control persistence usage. Response upgraded to include metadata timestamps formStart, formCompletion, formLastUpdate for repeat level (outerRepeat and innerRepeat both are not-null for repeat level) and instance level (inner repeat is null and outer repeat is not null for instance level) of a form.

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:
    3F2504E04F8911D39A0C0305E82C3301
  • Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.
    Example:
    10F75668189F422F9A461A315D211111
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Contains a list of form entries used to request form status for a subject.
Show Source
Nested Schema : formDetails
Type: array
List of form entries for which status is requested.
Show Source
  • FormDetails2
    Represents filter criteria for a single form entry including event, form, event instance number and persistence usage flag.
Nested Schema : FormDetails2
Type: object
Represents filter criteria for a single form entry including event, form, event instance number and persistence usage flag.
Show Source
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.
    Example: ADF5A7800A954FA5B831E7B6B9CA39A9
  • Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.
    Example: 1
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.
    Example: 40DB4EF4847849CCB24EFCCB71CDA436
  • Indicates whether persisted cached values should be used when computing status, by default the flag is false
    Example: false
Examples

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : FormStatusDto2
Type: object
Extends FormStatusDto with inner repeat and timestamps for form start, completion and last update. All timestamps are in UTC.
Show Source
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.
    Example: ADF5A7800A954FA5B831E7B6B9CA39A9
  • Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.
    Example: 1
  • Form completion timestamp.
    Example: 2025-10-16T14:30:31.892Z
  • Form completion timestamp based on latest computation in this version.
    Example: 2025-10-16T14:30:31.892Z
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.
    Example: 40DB4EF4847849CCB24EFCCB71CDA436
  • Form last update timestamp.
    Example: 2025-10-16T14:30:31.892Z
  • Form last update timestamp based on latest computation in this version.
    Example: 2025-10-16T14:30:31.892Z
  • Form start timestamp.
    Example: 2025-10-16T14:30:31.892Z
  • Form start timestamp based on latest computation in this version.
    Example: 2025-10-16T14:30:31.892Z
  • Status of the form. Status can be NEW, OPTIONAL, COMPLETED, COMPLETED_WITH_ERROR, IN_PROGRESS, IN_PROGRESS_WITH_ERROR, INCOMPLETE, INCOMPLETE_WITH_ERROR or DELETED.
    Example: COMPLETED
  • 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
  • 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
Examples

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