Update a study's state

put

/ec-designer-svc/rest/v1.0/studies/{studyId}/state/{statedata}

Updates status of a specified study.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : StudyStateDto v1.0
Type: object
Title: StudyStateDto v1.0
Information about the state of a study for UI consumption.
Show Source
  • Allowed Values: [ "settings", "active", "design", "test", "training" ]
    Previous state of a study for UI consumption
    Example: training
  • Allowed Values: [ "settings", "active", "design", "test", "training" ]
    State of a study for UI consumption
    Example: active

404 Response

Error
Body ()
Root Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : Object
Type: object
Title: Object
Object with error details information.

500 Response

Error
Body ()
Root Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top