Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Question Responses Input
Input for assessment question responses.
- JSON example
-
The properties under questionResponses are in the following format:
1{ 2 "questionResponses": { 3 "Element_APIName or AssessmentQuestion uniqueIndex 1": "value", 4 "Element_APIName or AssessmentQuestion uniqueIndex 2": { 5 "Child_element_APIName or Question uniqueIndex 1": "value", 6 "Child_element_APIName or Question uniqueIndex 2": "value", 7 ... 8 } 9 } 10}For example:
1{ 2 "questionResponses": { 3 "ootb__DF_API_MSelect1": "Y;N", 4 "ootb__DF_API_MSelect2": "1;2;3", 5 "ootb__DF_API_RG1": { 6 "ootb__DF_API_Radio1": "Y", 7 "ootb__DF_API_Radio2": "N", 8 "ootb__DF_API_Radio3": "M" 9 }, 10 "ootb__DF_API_Text": "TestingDF", 11 "ootb__DF_API_Select1": "1", 12 "ootb__DF_API_Select2": "w", 13 "ootb__DF_API_EditBlock2": { 14 "ootb__DF_API_Int": 5 15 }, 16 "ootb__DF_API_Boolean": true, 17 "ootb__DF_API_Formula": true 18 } 19} - Properties
-
Name Type Description Required or Optional Available Version questionResponses Map<String, Object> Responses map for Assessment Questions. Optional 60.0