In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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
Top Solution Authors