Create AJAX Survay

0

Dear Sir’s and Madams,

actually we’re thinking about developing a fully ajax survay using your rest api.

It’s realy simple to get all survay config options using one ajax-call.

<code>
$.ajax({
url: “https://restapi.surveygizmo.com/v4/survey/” + that.config.survaygizmo_id +
“.jsonp?api_token=” + that.config.survaygizmo_api_token +
“&api_token_secret=” + that.config.survaygizmo_api_token_secret,
jsonp: “callback”,
dataType: “jsonp”,
success: function( response ) {
console.log(response);
that.form_fields_from_response( response );
}
});
</code>

Now we want to show this form and to save answers also via this api.
Unfortunately it’s not easy to find some way to store informations.
(except adding answer posebilitys for one survay and so one)

It would be great if you can give some further informations to store User Answers via Rest-Api like:
a) data structure
b) request uri

Best like:

<code>
$response = {

}

$.ajax({
url: “https://restapi.surveygizmo.com/v4/XXXXXXXXXX/” + that.config.survaygizmo_id +
“?_method=PUT&api_token=” + that.config.survaygizmo_api_token +
“&api_token_secret=” + that.config.survaygizmo_api_token_secret,
jsonp: “callback”,
data: $response,
dataType: “jsonp”,
success: function( response ) {
console.log(response);
}
});
</code>

We’re sorry if we just couldn’t find these informations at your site.
Best regards.

Mike Miller commented
    • Mark, did you ever figure out a solution for this? I have been considering hiring a programmer to create a survey program as well. I am curious to know the amount of time it takes.

    ×

    Login

    Question stats

    • Active
    • Views307 times
    • Answers0 answers
    • Followers1 follower