[Deprecated]: v2.0
get
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/visits/subjectvisit
Deprecated: Use latest version instead. Retrieves a visit by its visit ID. Rights: OrsSubjectVisitGet.
Request
Path Parameters
-
mode(required): string
Indicates the operational mode of the study. Accepted values: active, test, or training.Example:
test -
studyId(required): string
Query Parameters
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : VisitResult
Type:
objectTitle:
VisitResultVisit result.
Show Source
-
kits: array
Kits
Title:
KitsContains information for the kit dispensation. -
randomNumber: string
Title:
Random NumberRandom number. -
treatmentTitle: string
Title:
Treatment TitleTreatment title. -
visitTimestamp: string
(date-time)
Title:
Visit TimestampVisit timestamp.
Nested Schema : Kits
Type:
arrayTitle:
KitsContains information for the kit dispensation.
Show Source
-
Array of:
object DispensationKit v2.0
Title:
DispensationKit v2.0Contains information for the kit dispensation.
Nested Schema : DispensationKit v2.0
Type:
objectTitle:
DispensationKit v2.0Contains information for the kit dispensation.
Show Source
-
id: number
(Integer)
Title:
Dispensation Kit IDUnique identifier of the dispensation kit.Example:2 -
kitDescription: string
Title:
Kit DescriptionKit description.Example:Kit A
Examples
400 Response
Invalid subject
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
objectExamples
404 Response
Invalid study ID or version OR Visit for subject does not exist.
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
objectExamples
500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
objectExamples