weixin_33701617 2015-06-12 20:00 采纳率: 0%
浏览 56

Qualtrics REST API

I am new to web development, currently building an html web app, where I need to get data from a Qualtric survey and use it to modify my web app. I looked into Qualtric REST API here:https://survey.qualtrics.com/WRAPI/ControlPanel/docs.php#overview_2.4 and tried to follow it. I added these lines to my javascript and it always gets me error 500. Simply pasting the url to browser url bar gets me error 500, too.

Can anyone please help me on this? Thanks a lot!

$(function () {

    $.ajax({
        type: 'GET',
        url: 'https://new.qualtrics.com/WRAPI/ControlPanel/api.php?Request=getUserInfo&User=xxxx&Token=xxxxxxxxx&Format=XML&Version=2.4',
        success: function (data) {
            console.log('success', data);
        }
    });
});

</div>
  • 写回答

2条回答 默认 最新

  • weixin_33682719 2015-06-12 20:27
    关注

    HTTP status code 500 is a server error (http://www.w3.org/Protocols/HTTP/HTRESP.html). I don't have a username or token to test the API, but my guess is that you're not doing anything wrong - the API service could have a bug or something that is causing an unhandled exception.

    Maybe you can contact Qualtrics support. Good luck :)

    评论

报告相同问题?