Get treatment arm for a list of subjects
post
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/subject-treatment
Retrieves treatment arms for a list of subjects in a study, passed in the request body. 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
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Contains srcId of each subject
Show Source
-
subjects(required): array
subjects
Minimum Number of Items:
1
Maximum Number of Items:2147483647
subjects
Nested Schema : subjects
Type:
array
Minimum Number of Items:
1
Maximum Number of Items:
2147483647
subjects
Show Source
Response
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