Possible Bug on get_partecipant_properties

More
3 years 8 months ago #99326 by nicola86
nicola86 created the topic: Possible Bug on get_partecipant_properties
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 8 months ago #99357 by DenisChenu
DenisChenu replied the topic: Possible Bug on get_partecipant_properties
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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 8 months ago #99359 by nicola86
nicola86 replied the topic: Possible Bug on get_partecipant_properties
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 8 months ago #99361 by DenisChenu
DenisChenu replied the topic: Possible Bug on get_partecipant_properties
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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 8 months ago #99364 by nicola86
nicola86 replied the topic: Possible Bug on get_partecipant_properties
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.

Start now!

Just create your account and start using Limesurvey today.

Register now