How to use Qualtrics REST API with PHP ?

About Qualtrics :Qualtrics API allows applications to integrate survey functionality, with specification of questions to ask, conditional display of questions depending on answers to prior questions, and aggregation and reporting of responses. It is intended to support academic research, customer service, preference polling, internal communications and employee feedback, and related functions. API methods support creation of survey questions with a range of response options, designation of survey recipients (either individuals or panels), questionnaire display, and logging of responses. Methods also support retrieval of response data for analysis outside the system.

In this post will show you, how i did REST calls to the Qualtrics REST API. Basically we need 3 things to access API. Need Access token you can find your token at your account settings page. And you the root URL for communicating with the Qualtrics system mine is https://xxx.qualtrics.com/WRAPI/ControlPanel/api.php and your user id.

Here is my PHP Class for all Qualtrics REST API calls.

How to use

Just pass the required details to the constructor method. By using generated object you can access qualtrics API methods.

Methods and parameters are case sensitive in Qualtrics API.

Reference URLs :
https://survey.qualtrics.com/WRAPI/ControlPanel/docs.php

http://www.qualtrics.com/university/researchsuite/developer-tools/api-integration/qualtrics-rest-api/

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

Arjun
I am Arjun from Hyderabad (India). I have been working as a software engineer from last 7+ years, and its my passion to learn new things and implement them as a practice. Aside from work, I likes gardening and spending time with pets.
DMCA.com Protection Status