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 Early 2026. 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.

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