Loic69
March 25, 2025, 7:05pm
1
Hi
here’s the docs of API.
I try to send customFields but it doesn’t woerk.
I dont understand array without JSON syntax…
When I try in the make query string field this, the custom field is not update but the API return OK.
With this I have slash symbols
\
are replaces in the input bundle by
\"
…
Note that email and name are updated correctly !
[
{
"body": [
{
"key": "email",
"value": "test@test.com"
},
{
"key": "name",
"value": "PL"
},
{
"key": "customFields",
"value": "[\"4\": \"PL\"]"
}
],
"task": "createOrUpdateUser",
"method": "POST",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
]
}
]
Any idea ?
Thx
That’s not an array. Did you mean to use a JSON object instead?
{
"key": "value"
}
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
Loic69
March 26, 2025, 7:25am
3
In the documentation it seams an array…
I try Json only but my custom fields are not updated…
I think an error in api documentation
Loic69
March 26, 2025, 3:51pm
4
I try API with postman.
Here’s something works…
So there’s an issue in their documentation… I sent them this issue…
So, I don’t understand how use this in make…
without map (item in body) we can’t set JSON object in parameters…
With map if I use
{
"email" : "XXXX@gmail.com",
"name":"CA",
"customFields":{ "4":"Titi",
"7":"Tutu"
}
}
I have this return error of make
Array of objects expected in parameter ‘body’
Hi there - try the following
{
"email" : "XXXX@gmail.com",
"name":"CA",
"customFields":[
{ "4":"Titi"},
{ "7":"Tutu"}
]
}
Loic69
March 27, 2025, 10:57am
6
what is the differences ?
your original one has { “name”:“value”,“name”,“value”}
my one has [{“name”:“value”},{“name”:“value”}]
square brackets at each end and each field inside curly brackets
Loic69
March 28, 2025, 9:18am
8
No same error…
don’t understand…
system
This topic was automatically closed because it's resolved or inactive. Please, start a new topic.
April 27, 2025, 9:19am
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.