The field subset selection in REST API in Kobotoolbox is bugged currently, but it is a visual bugged and can workaround it by HTTP Request. You can find the code i used below.
https://eu.kobotoolbox.org/#/forms/{formid}/settings/rest
###### Without credentials
{
"name": "Test_2",
"endpoint": "https://webhook.site/3c31430d-1bec-4e61-8b37-c85ec86dc417",
"active": true,
"subset_fields": ["name","Mail"],
"email_notification": false,
"export_type": "json",
"auth_level": "no_auth",
"settings": {
"custom_headers": {}
},
"payload_template": ""
}
###With Credentials
{
"name": "Test_",
"endpoint": "https://webhook.site/3c31430d-1bec-4e61-8b37-c85ec86dc417",
"active": true,
"subset_fields": ["name","Mail"],
"email_notification": true,
"export_type": "json",
"auth_level": "basic_auth",
"settings": {
"custom_headers": {},
"username": "osman",
"password": "1234"
},
"payload_template": ""
}
Download
0 formats
No download links available.
KoboToolBox - Rest API Field Subset Bug Workaround | NatokHD