Get treatment arm for a subject
get
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/subject-treatment
Retrieves a subject's treatment. Rights: DataCaptureSubjectGet.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
studyId(required): string(uuid)
ID of the study
Query Parameters
-
id(required): string
ID of the subject
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : SubjectTrtArmResponse
Type:
object
Title:
SubjectTrtArmResponse
Response object containing subject treatment.
Show Source
-
subjectId: string
(uuid)
Subject Id.
-
treatmentId: string
(uuid)
Treatment Id.
404 Response
Invalid study ID or version. Or subject not found
Root Schema : ORSResponse
Type:
object
Common 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:
object
Result Object
Nested Schema : details
Type:
object
500 Response
Internal server error
Root Schema : ORSResponse
Type:
object
Common 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:
object
Result Object
Nested Schema : details
Type:
object