Alteryx Designer Discussions

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

How to pull data from StatsCan API

sheidari
8 - Asteroid

I'm trying to setup the download tool correctly in order to pull data from Statistics Canada through their API but can't figure out how to incorporate the POST Body section. Here's the full details and attached is my workflow.

 

getDataFromVectorsAndLatestNPeriods

POST URL:
https://www150.statcan.gc.ca/t1/wds/rest/getDataFromVectorsAndLatestNPeriods

POST BODY:
[{"vectorId":32164132, "latestN":3}]

1 REPLY 1
BrandonB
Alteryx
Alteryx

Is it possible that you have the wrong vectorID in your call? 

 

BrandonB_0-1638301306993.png

 

In their documentation it looks like they are expecting an integer and you have the letter v in front of it. 

 

BrandonB_1-1638301389315.png

 

I might be wrong here, but that's the first thing I would check

 

Labels