Difference between revisions of "Questionnaire getQuestionnairesByResourceId"
Nguyenduyan (talk | contribs) |
|||
Line 16: | Line 16: | ||
'''Return type''' | '''Return type''' | ||
− | Dictionnary | + | Dictionnary which keys are QnaireRId and values are questionnaires object (see [[Questionnaire_new]]) |
'''Example''' | '''Example''' |
Latest revision as of 10:58, 8 January 2019
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 which keys are QnaireRId and values are questionnaires object (see Questionnaire_new)
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}
}*/