Welcome to the LimeSurvey Community Forum

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

Query OptOuts from RemoteControl2 (API)

  • psprattrtc
  • psprattrtc's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #184050 by psprattrtc
Query OptOuts from RemoteControl2 (API) was created by psprattrtc
I have been looking for a way to query for optouts through the API, without any luck so far. Has anyone done this?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184072 by DenisChenu
Replied by DenisChenu on topic Query OptOuts from RemoteControl2 (API)
What did you try ? Because a lot of people use API without issue.

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 topic has been locked.
  • psprattrtc
  • psprattrtc's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #184088 by psprattrtc
Replied by psprattrtc on topic Query OptOuts from RemoteControl2 (API)
Thanks for the response, Denis. That's great news. It's likely a lack of understanding of the API. What API call should I use to get opt-out information? I checked export_responses and list_participants.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184093 by DenisChenu
Replied by DenisChenu on topic Query OptOuts from RemoteControl2 (API)
list_partcipants completed state mus shown Q if i remind.

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 topic has been locked.
  • psprattrtc
  • psprattrtc's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago - 4 years 10 months ago #184101 by psprattrtc
Replied by psprattrtc on topic Query OptOuts from RemoteControl2 (API)
Close, Denis. It was in 'emailstatus' attribute. Here is the input body I used:

{
"jsonrpc":"2.0",
"id":3,"method":"list_participants",
"params":{
"sSessionKey" : "<session key>",
"iSurveyID" : "<survey id>",
"bUnused" : "",
"iStart" : "0",
"iLimit" : "10000",
"aAttributes": ["emailstatus"]
}
}

Thanks for the help!
Last edit: 4 years 10 months ago by psprattrtc. Reason: Made the post clearer.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184104 by DenisChenu
Replied by DenisChenu on topic Query OptOuts from RemoteControl2 (API)
Oups … Optout not quota out …
Sorry …

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 topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose