Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Use API to import survey and change content

  • oledole
  • oledole's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 9 months ago #185853 by oledole
Hi.

I was looking to create a script that use API to create a survey on limesurvey. I found this API ( code.uoa.gr/p/limesurvey/docs/classes/remotecontrol_handle.php ) and was wondering if I could use that from a script on another website to do things like import a survey and afterwards change the content of its email templates. Or is there any other alternatives to do something like this?

Thank you for your help.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #185854 by tpartner
Replied by tpartner on topic Use API to import survey and change content
I suggest referring to the official LimeSurvey API documentation - manual.limesurvey.org/RemoteControl_2_API

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu, oledole
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #185859 by DenisChenu
Replied by DenisChenu on topic Use API to import survey and change content

tpartner wrote: I suggest referring to the official LimeSurvey API documentation - manual.limesurvey.org/RemoteControl_2_API

And the up to date php autodoc : api.limesurvey.org/classes/remotecontrol_handle.html

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: oledole
The topic has been locked.
  • oledole
  • oledole's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 9 months ago #185869 by oledole
Replied by oledole on topic Use API to import survey and change content
Thank you for the resources. I went through them but could not find anything that is obvious to use for changing the content of email templates in a survey. Does anyone know if this is possible and what methods is needed for it?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 9 months ago #185878 by DenisChenu
Replied by DenisChenu on topic Use API to import survey and change content
Mail template are port of SurveyLanguage
api.limesurvey.org/classes/remotecontrol..._language_properties

Follow the link : api.limesurvey.org/classes/SurveyLanguageSetting.html
surveyls_email_invite

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: oledole
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose