Create label groups
post
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/label-groups
Creates label groups by study ID. Rights: OrsInventoryPost and OrsUnblinded.
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:
objectContains label group request.
Show Source
-
countries(required): array
countries
Title:
countriesMinimum Number of Items:1Maximum Number of Items:2147483647Contains country id. -
name(required): string
Minimum Length:
1Maximum Length:50Label group nameExample:Label1001
Nested Schema : countries
Type:
arrayTitle:
countriesMinimum Number of Items:
1Maximum Number of Items:
2147483647Contains country id.
Show Source
Response
Supported Media Types
- application/json
200 Response
Successful operation
400 Response
Label group already exists. OR Country does not exist in system.
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:
object403 Response
The study identifier does not match any study identifiers in Clinical One.
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:
object500 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:
object