Skip to main content
Nintex Community Menu Bar

Hi,

 

I am trying to call an API, but one of the field the API needs is an array.  I have tried building the dictionary with a text field with the content

["6vxg9uMmJr2rIU8G6kXsGP","7rxJ5IA4ZtfCQAVzkakPv1","17AIagq7bv6ufY09QnddUF"]
 
but what the API receives is:
 
"topicIds":"["6vxg9uMmJr2rIU8G6kXsGP","7rxJ5IA4ZtfCQAVzkakPv1","17AIagq7bv6ufY09QnddUF"]"
 
The surrounding quotes are causing it to fail. 
 
Is there any way to call a web service now without using a dictionary variable?  
Thanks
Andrew
 

Why build you collection with "Add item to collection" and after add it to you dictionnary ? 

Like : 

 

 

 

 

And the result : 

 

{"topicIds":["6vxg9uMmJr2rIU8G6kXsGP","7rxJ5IA4ZtfCQAVzkakPv1","17AIagq7bv6ufY09QnddUF"]}