Problems intializing participant table with custom attributes via API

More
7 months 1 day ago #217474 by ployrich
Hi y'all,

I am trying to initialize my participant table via API (using the json-rpc with Python). The table needs some custom attributes, looking at the documentation I should be able to do this as array. I assumed the array could/should look like the arrays used for uploading participant data via API.
But after trying a lot of combinations like:
[{"Attribute field": "attribute_1", "Mandatory":1/Yes,"Field caption":"class"}] , without specifying the attribute field, just giving them the captions for the custom attributes
I only get the result OK and the table is initialized, but without the specified attributes.

How do I need to specify the custom attributes?

Thanks in advance

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now