v1.0
put
/ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/subject/{subjectId}/formStatus
This endpoint retrieves the status of forms associated with a specific subject in a study. It requires the study ID, subject ID, and a list of form details to fetch the status for. The response includes the form status for each form specified in the request.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
test -
studyId(required): string(UUID)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
ABCDEF1234567890ABCDEF1234567890 -
subjectId(required): string
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
10F75668189F422F9A461A315D211111
Supported Media Types
- application/json
Root Schema : schema
Type:
objectRequest DTO containing a list of form filters used to retrieve form status for a subject. Each entry specifies eventId, formId and optionally eventInstanceNum.
Show Source
-
formDetails: array
formDetails
List of form details specifying event, form and instance filters
Nested Schema : formDetails
Type:
arrayList of form details specifying event, form and instance filters
Show Source
-
Array of:
object FormDetails
Represents filter criteria for a single form entry including event, form and event instance number
Example:
[
{
"eventId":"ADF5A7800A954FA5B831E7B6B9CA39A9",
"formId":"40DB4EF4847849CCB24EFCCB71CDA436",
"eventInstanceNum":1
}
]Nested Schema : FormDetails
Type:
objectRepresents filter criteria for a single form entry including event, form and event instance number
Show Source
-
eventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
ADF5A7800A954FA5B831E7B6B9CA39A9 -
eventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
formId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
40DB4EF4847849CCB24EFCCB71CDA436
Example:
[
{
"eventId":"ADF5A7800A954FA5B831E7B6B9CA39A9",
"formId":"40DB4EF4847849CCB24EFCCB71CDA436",
"eventInstanceNum":1
}
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
Show Source
array-
Array of:
object FormStatusDto
Represents the status of a form for a given event and instance including outer repeat and event instance number.
Nested Schema : FormStatusDto
Type:
objectRepresents the status of a form for a given event and instance including outer repeat and event instance number.
Show Source
-
eventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
ADF5A7800A954FA5B831E7B6B9CA39A9 -
eventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
formId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical form.Example:
40DB4EF4847849CCB24EFCCB71CDA436 -
formStatus: string
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 -
outerRepeat: integer
(int32)
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.
Root Schema : RestResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: object
details
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
-
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectNested Schema : details
Type:
objectDetailed 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