Get options of all choice items by study mode and form ID(s)
post
/ec-designer-svc/rest/v2.0/studies/{studyId}/forms/{formId}/choiceoptions
Retrieves options of all choice items by study mode and form ID(s).
Request
Path Parameters
-
formId(required): string(uuid)
-
studyId(required): string(uuid)
Study ID. Example: F054C951EB74443C93716CA714AB686E
Query Parameters
-
allowHiddenOptions: boolean
-
items: string
-
mode(required): string
Retrieves all form items in a form by mode.Allowed Values:
[ "test", "training", "active" ]
Supported Media Types
- */*
Root Schema : schema
Type:
Show Source
array-
Array of:
string
Example:
C138D4523012443F93F34CC3F281B675
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Nested Schema : FormOptionDto
Type:
Show Source
object-
clCode: string
-
clDescription: string
Minimum Length:
1Maximum Length:4000 -
clItemId: string
(uuid)
-
clValue: string
-
formCategory: string
-
formSubcategory: string
- hidden: boolean
-
instructionalText: string
-
label: string
Minimum Length:
1Maximum Length:4000 -
optionSeq: string
-
value: string
Minimum Length:
1Maximum Length:4000
404 Response
Error
Root Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
500 Response
Error
Root Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource