[LSRC] PHP calling list_participants with extended attributes

More
3 years 3 days ago - 3 years 3 days ago #106482 by lordzoster
Hallo
I'd need some hint about retrieve the list of participants using LSRC from PHP.

I'm able to retrieve the standard list:
$participants = $myJSONRPCClient->list_participants ( $sessionKey, $survey_id);

But I'm getting error in retrieving extended attributes:
$participants_extParams = array("completed", "usesleft", "sent", "remindersent", "remindercount");
$participants = $myJSONRPCClient->list_participants ( $sessionKey, $survey_id, 0, 1000, true, $participants_extParams);

How is the aAttributes array expected to be?
thanks in advance
Last Edit: 3 years 3 days ago by lordzoster.

Please Log in to join the conversation.

More
2 years 11 months ago #106846 by lordzoster
really noone has idea?

Please Log in to join the conversation.

More
2 years 11 months ago #106879 by DenisChenu
Don't see $aAttributes in the code
github.com/LimeSurvey/LimeSurvey/blob/ma...rol_handle.php#L1797

Outdated doc ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: lordzoster

Please Log in to join the conversation.

More
2 years 11 months ago #106937 by lordzoster
Thanksalot Denis for the reply and for showing me where the API methods are defined.
And, yes, the doc is quite outdated - I noticed that even in other sections, more end-user-oriented.
And the doc should have the TOC always reachable: when you are in a page you don't have idea how where that page is.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.