Difference between revisions of "Questionnaire getQuestionnairesByResourceId"
Nguyenduyan (talk | contribs) (Created page with "Category:Questionnaire_Functions {{HelpFiles}} ====Questionnaire_getQuestionnairesByResourceId==== To get information of many questionnaire by resource id '''Synt...") |
Nguyenduyan (talk | contribs) |
||
Line 4: | Line 4: | ||
====Questionnaire_getQuestionnairesByResourceId==== | ====Questionnaire_getQuestionnairesByResourceId==== | ||
− | To get information of many | + | To get information of many questionnaires at the same time by their resource id |
'''Syntax''' | '''Syntax''' | ||
Line 12: | Line 12: | ||
'''Arguments''' | '''Arguments''' | ||
− | questionnaireResourceId : array of resource id of | + | questionnaireResourceId : array of resource id of questionnaires. |
'''Return type''' | '''Return type''' | ||
Line 21: | Line 21: | ||
<source lang="javascript"> | <source lang="javascript"> | ||
Questionnaire_getQuestionnairesByResourceId({15575932,15592000}); | Questionnaire_getQuestionnairesByResourceId({15575932,15592000}); | ||
+ | |||
+ | /* result | ||
+ | { | ||
+ | "15575932": {11,15575932,Panel,15575925,15575926,15575931,False,False,False,False,,15571205,,3,0,,{1,1,1,0,0,0,0,1,40},{1,1,1,0,0,0,0,1,40},{9999,12,31,23,59,59,999,52,40},{9999,12,31,23,59,59,999,52,40},0,,/questionnairemodule/editor/questionnairejseditor.aspx?id=2050&pq=$3574}, | ||
+ | "15592000": {11,15592000,Panel,15575925,15591986,15591999,False,False,False,False,,15591981,,3,0,,{1,1,1,0,0,0,0,1,40},{1,1,1,0,0,0,0,1,40},{9999,12,31,23,59,59,999,52,40},{9999,12,31,23,59,59,999,52,40},0,,/questionnairemodule/editor/questionnairejseditor.aspx?id=2180&pq=$3721} | ||
+ | }*/ | ||
</source> | </source> |
Revision as of 06:23, 29 November 2017
Questionnaire_getQuestionnairesByResourceId
To get information of many questionnaires at the same time by their resource id
Syntax
Questionnaire_getQuestionnairesByResourceId (array questionnaireResourceId)
Arguments
questionnaireResourceId : array of resource id of questionnaires.
Return type
Dictionnary
Example
Questionnaire_getQuestionnairesByResourceId({15575932,15592000});
/* result
{
"15575932": {11,15575932,Panel,15575925,15575926,15575931,False,False,False,False,,15571205,,3,0,,{1,1,1,0,0,0,0,1,40},{1,1,1,0,0,0,0,1,40},{9999,12,31,23,59,59,999,52,40},{9999,12,31,23,59,59,999,52,40},0,,/questionnairemodule/editor/questionnairejseditor.aspx?id=2050&pq=$3574},
"15592000": {11,15592000,Panel,15575925,15591986,15591999,False,False,False,False,,15591981,,3,0,,{1,1,1,0,0,0,0,1,40},{1,1,1,0,0,0,0,1,40},{9999,12,31,23,59,59,999,52,40},{9999,12,31,23,59,59,999,52,40},0,,/questionnairemodule/editor/questionnairejseditor.aspx?id=2180&pq=$3721}
}*/