Check out the LimeSurvey source code on GitHub!

Possible Bug on get_partecipant_properties

More
3 years 4 months ago #99326 by nicola86
Hello,
I'm trying this method. I'm interested in parsering the output json. The problem is that the output json seems to be malformed as you can see in the example below:
sessione: ywxeqzpfivzfr23r65pxxg88zwa9x73wsurvey: 385845token: 53properties: Array{"id":1,"result":{"tid":"53","token":"ye6ydi2d2jufmai","completed":"N"},"error":null}

Ther first part of the output is without any comma and space, could it be a bug?
I'm using the version v2.00+ of limesurvey.
Thanks in advance

Please Log in to join the conversation.

More
3 years 4 months ago #99357 by DenisChenu
Hi,

Can you put your php code here ?

Denis

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).

Please Log in to join the conversation.

More
3 years 4 months ago #99359 by nicola86
I'm sorry I forgot to say that I was using remote control through json-rpc in my program written in java. So I have no php code.
Can you help me anyway?

Please Log in to join the conversation.

More
3 years 4 months ago #99361 by DenisChenu
Then put the java code here

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).

Please Log in to join the conversation.

More
3 years 4 months ago #99364 by nicola86
Ok here to you the json request:
{"method":"add_participants","params":["xbqxa646cz2zb26ehk5mz5837d38uivs",385845,[{"email":"email","lastname":"lastname0","firstname":"firstname0","attribute_1":"attribute_1 id: 0","attribute_2":"attribute_2"}]],"id":1}

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form