Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Generating Nested JSON payload for Download tool

fardeen9983
8 - Asteroid

So I have a workflow that runs over some records finds the duplicate ones and passes their ids to a PUT API with the following JSON payload

 

{
   "id" : 12345,
   "general" : {
      "change_type" : "Delete"
   }
}

 

I want  to create this payload in alteryx. Ofc there are other fields involved and the values will be obtained from the input.

I have looked into JSON build tool, but for that I will have to create a Text input with JSON name and value string fields as follows :

JSON_NameJSON_ValueString
id12345
general.change_typeDelete

 

The problem is that i do not know how pass in the values for JSON_ValueString for multiple records. Is there any other way for this to be achieved to create a JSON payload for  a PUT API. 

1 REPLY 1
DavidP
17 - Castor
17 - Castor

Hi @fardeen9983 

 

Would something like this work?

 

DavidP_0-1611335640866.png

 

Labels