[Deprecated]: V1.0

post

/ec-designer-svc/rest/v1.0/studies/{studyId}/forms/{formId}/choiceoptions

Deprecated: Use latest version instead. Retrieves options of all choice items by study mode and form ID(s).

Request

Path Parameters
  • Form ID (UUID, 32-character uppercase hexadecimal string). Required.
    Example:
    2F9A6C7E1B8F4D56A23C9F3A0C7D4E11
  • Study ID (UUID, 32-character uppercase hexadecimal string). Required. Example: F054C951EB74443C93716CA714AB686E
    Example:
    2F9A6C7E1B8F4D56A23C9F3A0C7D4E11
Query Parameters
  • Retrieves all form items in a form by mode.
    Allowed Values: [ "test", "training", "active" ]
    Example:
    test
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: array
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : FormOptionDto
Type: object
Choice options
Show Source
Example:
1
Examples

404 Response

Returned when the request cannot be completed due to validation failure, authorization failure, or an unexpected server-side condition.
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

Returned when the request cannot be completed due to validation failure, authorization failure, or an unexpected server-side condition.
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