SurveyActivation

Error message

Notice: Undefined index: cms_login_title in prijava_1ka_block_view() (line 265 of /var/www/1ka.si/www/frontend/drupal/sites/all/modules/prijava_1ka/prijava_1ka.module).

SurveyActivation– activate or deactivate survey
request_method: POST

Parameters:

  • action= SurveyActivation
  • sur_id= 123; //survey ID

JSON parameters in POST:

{"active":0} // 0==deactivate, 1=activate

Response example:

{"note":"Activity changed successfully"}