v1.0
put
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/studyversions/{version}
Updates a study's version. Rights: OrsImportDesignPost.
Request
Path Parameters
-
mode(required): string
Indicates the operational mode of the study. Accepted values: active, test, or training.Example:
test -
studyId(required): string(uuid)
Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
C36A3197FDEE433FB5547EE83DE99E4B -
version(required): string
Version of the study.Example:
1
Supported Media Types
- application/json
Root Schema : StudyVersionRequest
Type:
objectTitle:
StudyVersionRequestRequest to update study version associations.
Show Source
-
newVersion(required): string
Title:
New VersionMinimum Length:1Maximum Length:32Pattern:^[0-9]+(\.[0-9]+)*$Target study version identifier.Example:2.0 -
oldVersion(required): string
Title:
Old VersionMinimum Length:1Maximum Length:32Pattern:^[0-9]+(\.[0-9]+)*$Existing study version identifier.Example:1.0
Examples
Back to Top
Response
Supported Media Types
- application/json
204 Response
Successful operation
Root Schema : schema
Type:
string(uuid)Examples
400 Response
Invalid study version
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
Study version not found
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