Get options of all choice items by study mode and form id(s).
post
/ec-designer-svc/rest/v1.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
-
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:
1
Maximum Length:4000
-
clItemId: string
(uuid)
-
clValue: string
-
formCategory: string
-
formSubcategory: string
- hidden: boolean
-
instructionalText: string
-
label: string
Minimum Length:
1
Maximum Length:4000
-
optionSeq: string
-
value: string
Minimum Length:
1
Maximum Length:4000
404 Response
Error
Root Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
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
Root Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
Nested Schema : Object
Type:
object
Title:
Object
Object with error details information.