Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Alteryx Server API (Admin V1 API) returning empty json

Davide11
7 - Meteor

Hi all,

I setup a Python scrypt in Alteryx to retrieve data from the Alteryx server using Admin V1 API over one year ago.

Retrieved data : Workflows, Schedules, dataconnections and jobs. 

 

After our server update to the newest version 2021.4.2.02731 the API is partially not being able to retrieve the data I would need. Schedule and Dataconnections are still working fine while Workflows and jobs are simply not retrieving any data - see picture below.

Davide11_0-1654689149277.png

 

Though, I still get a positive response when testing Workflows or jobs connection

Davide11_1-1654689516907.png

 

 

I am currently using OAuth1Session

 

Is this depending on the new Alteryx Server API V3? If so how could I proceed?

 

Thanks in advance

 

 

 

2 REPLIES 2
Davide11
7 - Meteor

Dear Alteryx Support,

I would like to get your assistance on this topic. Please reply, I will try to give you more info about it:

- The "old" Admin V1 is now returning empty body when I try to retrieve info from Workflows and Jobs

Davide11_0-1654769508853.png

while the other 2 dimensions Schedules and dataconnections are working fine as they were already doing in the past.

 

I thought that the issue was due to the release of the newest V3 API therefore I changed my python script to retrieve my missing data through it.

The Script works fine but I just now realize that the new Workflow Model just contains 7 columns

[ { "id": "string", "name": "string", "ownerId": "string", "dateCreated": ... "publishedVersionNumber": 0, "isAmp": true, "executionMode": "Safe" }

compared to the many it used to contain:

[ { "id": "", "subscriptionId": "", "public": false, "runDisabled": false, "packageType": "", "uploadDate": "Date", "fileName": "", "metaInfo": { "name": "", "description": "", "author": "", "copyright": "", "url": "", "urlText": "", "outputMessage": "", "noOutputFilesMessage": "" }, "isChained": false, "version": "integer(32)", "runCount": "integer(32)", "workerTag": "", "isE2": false } ]

Where can I find the missing data?

Furthermore the former GET /admin/v1/workflows/jobs/ is not to be found in the new V3, could you please provide more instructions?

Thanks

 

 

CarlosMiq
5 - Atom

No news on this?