community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

How to get nested JSON into Download tool payload?

Asteroid

I am wondering if this is possible to do in a POST action payload.

 

Headers:

content-type: application/json

 

Payload:

{"query":{"start":"2019-07-01", "stop":"2019-07-11", "fields":[0,1,54]}}

 

 

Edit: upgrading to 2019.1 tomorrow, hopefully can just do this in the Python tool.

Highlighted
Alteryx
Alteryx

Hi there

 

This article may be able to help you https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-POST-JSON-to-REST-API/td-p/6097...

 

You should be able to do this in Python via the Python tool also.

Asteroid

I did see that article. Posting just key/value pairs seems possible but I haven't seen anyone post nested values.

 

company is upgrading to 2019.1 today so I will try the Python tool.

Labels