Page 1 of 1

collection survey answers via a web service

Posted: Thu Aug 20, 2009 11:46 am
by rhouri
We have setup a phone survey and I wondering which web service do I use to retrieve the answers from your database ?
Do I use a web service or is there a different method ?
Also, where would I find the documentations for retrieving answers ?

Thanks

IVR survey doc on using the SOAP webservice question type

Posted: Thu Aug 20, 2009 11:52 am
by support
Hi,

For IVR survey documentation on using the SOAP webservice question type for IVR, please see here:

http://survey.plumvoice.com/admin/docs/ ... _Questions
http://survey.plumvoice.com/admin/docs/ ... ervice.htm

Regards,
Plum Support

Posted: Thu Aug 20, 2009 12:16 pm
by rhouri
No, we are in need of accessing the survey RESULTS using a web service or other automated method.
Thanks.

Posted: Thu Aug 20, 2009 12:25 pm
by rhouri
We are collecting the answers via phone, is there a way to retrieve or send the answers to our web service when the user hangs up ? If yes, please send a sample if all possible
Thanks

IVR survey doc on using the SOAP webservice question type

Posted: Thu Aug 20, 2009 1:42 pm
by support
Hi,

Sorry, I misunderstood your first post. Here's the documentation you need for doing this for your IVR survey:

http://www.plumvoice.com/docs/surveys/e ... es_by_SOAP
http://www.plumvoice.com/docs/surveys/e ... es_by_SOAP

There, you'll find some IVR code examples on how you can implement this.

Regards,
Plum Support

Posted: Thu Aug 20, 2009 3:34 pm
by rhouri
Is exporting responses by SOAP the only available option or is there other methods to access the phone survey results ?
Idealy, we would like to be able to get the result right after the phone survey is complete and the user hangs up. Is that possible ?

Thanks

IVR doc on exporting responses with normal HTTP POST

Posted: Thu Aug 20, 2009 3:43 pm
by support
There's also IVR documentation right next to those sections that shows how to export responses with normal HTTP POST.

The SOAP webservice question type for IVR mentioned previously in this thread would allow you to receive a SOAP request to your IVR webserver as soon as somebody finishes or hangs up on the page that the SOAP question is on (you must have "On premature hangup" set to "Save any responses that were collected" in Survey Settings for the latter to work). That SOAP request would contain all answers received for only that page of the IVR survey.

However, you could instead treat the request as a notification of a new response and have your IVR server call the export responses webservice shortly afterward to retrieve all the latest data.