[Deprecated]: Get list of forms in a study

get

/ec-designer-svc/rest/v2.0/studies/{studyId}/versions/{version}/visits/{visitid}/forms

Deprecated: Use latest version instead. Retrieves all forms in a study for a specific study version.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : FormDto v2.0
Type: object
Title: FormDto v2.0
Form Info
Show Source
Nested Schema : items
Type: array
Show Source
  • FormItemDto v2.0
    Title: FormItemDto v2.0
    Discriminator: { "propertyName":"questionType", "mapping":{ "datetime":"#/components/schemas/FormDatetimeItemDtoV2", "numeric":"#/components/schemas/FormNumberItemDtoV2", "measurement":"#/components/schemas/FormNumberItemDtoV2", "text":"#/components/schemas/FormTextItemDtoV2", "choice":"#/components/schemas/FormChoiceItemDtoV2" } }
    Form Item Information
Nested Schema : FormItemDto v2.0
Type: object
Title: FormItemDto v2.0
Discriminator: questionType

Discriminator Values

Form Item Information
Show Source
Match One Schema
Show Source
Nested Schema : FormNumberItemDto v2.0
Type: object
Title: FormNumberItemDto v2.0
Form Number Item Details Information
Match All
Form Number Item Details Information
Form Number Item Details Information
Show Source
  • FormItemDto v2.0
    Title: FormItemDto v2.0
    Discriminator: { "propertyName":"questionType", "mapping":{ "datetime":"#/components/schemas/FormDatetimeItemDtoV2", "numeric":"#/components/schemas/FormNumberItemDtoV2", "measurement":"#/components/schemas/FormNumberItemDtoV2", "text":"#/components/schemas/FormTextItemDtoV2", "choice":"#/components/schemas/FormChoiceItemDtoV2" } }
    Form Item Information
  • FormNumberItemDto v2.0-allOf[1]
Nested Schema : FormChoiceItemDto v2.0
Type: object
Title: FormChoiceItemDto v2.0
Form Choice Item Details Information
Match All
Form Choice Item Details Information
Form Choice Item Details Information
Show Source
  • FormItemDto v2.0
    Title: FormItemDto v2.0
    Discriminator: { "propertyName":"questionType", "mapping":{ "datetime":"#/components/schemas/FormDatetimeItemDtoV2", "numeric":"#/components/schemas/FormNumberItemDtoV2", "measurement":"#/components/schemas/FormNumberItemDtoV2", "text":"#/components/schemas/FormTextItemDtoV2", "choice":"#/components/schemas/FormChoiceItemDtoV2" } }
    Form Item Information
  • FormChoiceItemDto v2.0-allOf[1]
Nested Schema : FormTextItemDto v2.0
Type: object
Title: FormTextItemDto v2.0
Form text Item Details Information
Match All
Form text Item Details Information
Form text Item Details Information
Show Source
  • FormItemDto v2.0
    Title: FormItemDto v2.0
    Discriminator: { "propertyName":"questionType", "mapping":{ "datetime":"#/components/schemas/FormDatetimeItemDtoV2", "numeric":"#/components/schemas/FormNumberItemDtoV2", "measurement":"#/components/schemas/FormNumberItemDtoV2", "text":"#/components/schemas/FormTextItemDtoV2", "choice":"#/components/schemas/FormChoiceItemDtoV2" } }
    Form Item Information
  • FormTextItemDto v2.0-allOf[1]
Nested Schema : FormDatetimeItemDto v2.0
Type: object
Title: FormDatetimeItemDto v2.0
Form DateTime Item Details Information
Match All
Form DateTime Item Details Information
Form DateTime Item Details Information
Show Source
  • FormItemDto v2.0
    Title: FormItemDto v2.0
    Discriminator: { "propertyName":"questionType", "mapping":{ "datetime":"#/components/schemas/FormDatetimeItemDtoV2", "numeric":"#/components/schemas/FormNumberItemDtoV2", "measurement":"#/components/schemas/FormNumberItemDtoV2", "text":"#/components/schemas/FormTextItemDtoV2", "choice":"#/components/schemas/FormChoiceItemDtoV2" } }
    Form Item Information
  • FormDatetimeItemDto v2.0-allOf[1]
Nested Schema : FormNumberItemDto v2.0-allOf[1]
Type: object
Show Source
Nested Schema : FormChoiceItemDto v2.0-allOf[1]
Type: object
Show Source
Nested Schema : options
Type: array
Show Source
Nested Schema : FormOptionDto v2.0
Type: object
Title: FormOptionDto v2.0
Form choice item option details
Show Source
  • Minimum Length: 1
    Maximum Length: 4000
    Form choice selectbox label for a one specific choice.
    Example: Female
  • Minimum Length: 1
    Maximum Length: 4000
    Pattern: [a-zA-Z0-9]+
    Form choice selectbox value for a one specific choice.
    Example: 1
Nested Schema : FormTextItemDto v2.0-allOf[1]
Type: object
Show Source
Nested Schema : FormDatetimeItemDto v2.0-allOf[1]
Type: object
Show Source

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