[Deprecated]: Create new visit status record
post
/ec-dc-svc/rest/v1/studies/{studyId}/{mode}/visitstatus
Deprecated: Creates a new visit status record for a given subject and event ID.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
studyId(required): string
ID of the study for which you want to get the list of subjects.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectBase visit status information including identity, study metadata and status fields
Show Source
-
comment: string
Minimum Length:
0Maximum Length:2048Additional comment for the visit statusExample:All data verified -
eventId: string
Event identifier in uppercase hex formatExample:
ABCDEF1234567890ABCDEF1234567890 -
id: string
(uuid)
Unique identifier of the visit status record
-
reason: string
Minimum Length:
0Maximum Length:255Reason associated with the visit statusExample:Subject completed the visit successfully -
siteId: string
Site identifier in uppercase hex formatExample:
ABCDEF1234567890ABCDEF1234567890 -
studyVersion(required): string
Minimum Length:
0Maximum Length:100Study version string under which the visit is recordedExample:3.0.0.1 -
subjectId: string
Subject identifier in uppercase hex formatExample:
ABCDEF1234567890ABCDEF1234567890 -
userId: string
(uuid)
-
versionStart: string
(date-time)
Start timestamp of the version recordExample:
2025-10-16T14:30:31.892Z -
visitStartDate: string
(date-time)
Visit start date timestampExample:
2025-10-16T14:30:31.892Z -
visitStatus: string
Status of the visit as per VisitsStatusEnumExample:
COMPLETED
Response
Supported Media Types
- application/json
200 Response
Subjects success.
Nested Schema : VisitsStatus
Type:
Show Source
object-
associatedStudyVersion: string
Minimum Length:
0Maximum Length:100 -
comment: string
Minimum Length:
0Maximum Length:2048 -
display: string
-
doseHoldAction: string
-
dynamicAllCycles: string
-
eventId: string
-
eventInstanceNum: integer
(int32)
-
eventType: string
-
freezedStatus: string
-
id: string
(uuid)
-
leadingDataelementId: string
-
lockedDateTime: string
(date-time)
-
lockedStatus: string
-
operationType: string
Minimum Length:
1Maximum Length:16 -
reason: string
Minimum Length:
0Maximum Length:255 -
repeatingFormCount: number
-
scheduledDate: string
(date-time)
-
scheduledEndDate: string
(date-time)
-
scheduledFromEventGUID: string
-
scheduledStartDate: string
(date-time)
-
scheduledWindowEndDate: string
(date-time)
-
scheduledWindowStartDate: string
(date-time)
-
signedStatus: string
-
siteId: string
-
studyVersion(required): string
Minimum Length:
0Maximum Length:100 -
subjectId: string
-
userId: string
(uuid)
-
verifiedStatus: string
-
versionStart: string
(date-time)
-
visitAction: string
-
visitStartDate: string
(date-time)
-
visitStartDateLockedDateTime: string
(date-time)
-
visitStartDateLockedStatus: string
-
visitStatus: string
-
visitType: string
-
visitWindowWarning: string
400 Response
Bad request.
Root Schema : DcsResponse
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: string
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 -
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:
object