Test initialization (test sheet generation)

http://dev.moyuniver.ru/api/php/v03/api_runevent.php?eid=&memberid=

  • eid – unique test identifier
  • memberid – unique user identifier

Request example

http://dev.moyuniver.ru/api/php/v03/api_runevent.php?eid=15972&memberid=28665485147fa7133b44cb&appid=306&appsgn=d8629af695839ba5481757a519e57fb1&appcode=&os=&ver=&width=&height=

The result of a successfuly processed request is a test sheet that contains full set of questions and possible answers. During the testing process this test sheet is filled with all the necessary additional information, including the answers selected by a user.

Response format

TID#QID#QTYPE#QTXT#AID#ATXT#EMPTY#EMPTY#TSID

  • TID – unique test session identifier
  • # – separator
  • QID – unique question identifier
  • QTYPE – question type (2 for the single correct answer / radio buttons, 3 for a free answer / textbox, 4 for the multiple correct answers / checkboxes)
  • QTXT – question statement
  • AID – unique answer identifier
  • ATXT – answer statement
  • EMPTY – temporarily not used
  • TSID – unique identifier of a question in a test sheet (not the same as QID)

Response example

24227#145076#2#Вопрос 1#566938#ответ 1###48862
24227#145076#2##566939#ответ 2 ПР###48862
24227#145076#2##566940#ответ 3###48862
24227#145076#2##566941#ответ 4###48862
24227#145077#4#Вопрос 2#566942#ответ 1 ПР###48863
24227#145077#4##566943#ответ 2###48863
24227#145077#4##566944#ответ 3 ПР###48863
24227#145077#4##566945#ответ 4###48863
24227#145078#2#Вопрос 3#566946#ответ 1 ПР###48858
24227#145078#2##566947#ответ 2###48858
24227#145078#2##566948#ответ 3###48858
24227#145078#2##566949#ответ 4###48858
24227#145079#4#Вопрос 4#566950#ответ 1###48860
24227#145079#4##566951#ответ 2 ПР###48860
24227#145079#4##566952#ответ 3###48860
24227#145079#4##566953#ответ 4 ПР###48860
24227#145080#4#Вопрос 5#566954#ответ 1###48859
24227#145080#4##566955#ответ 2 ПР###48859
24227#145080#4##566956#ответ 3 ПР###48859
24227#145080#4##566957#ответ 4###48859
24227#145081#2#Вопрос 6#566958#ответ 1 ПР###48861
24227#145081#2##566959#ответ 2###48861
24227#145081#2##566960#ответ 3###48861
24227#145082#3#Вопрос 7#566986#прав1###48857
24227#145082#3##566987#прав1.###48857

Comments (0)