We are in the final days to enter our Data and Analytics - "What's your why?" raffle with SparkED!

Reply with your "why" in text/video format to our forum post by January 28 to be entered! 

Alteryx Server Discussions

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

Alteryx Gallery API - Possible responses for Disposition and Status of a job

WillH
5 - Atom

Hi,
I'm trying to use the Alteryx Gallery API to run some jobs using python and then do some error handling and logging on the python side when I get the response but I can't find what the different possible responses are for some fields

 

E.g. if I get the following response when hitting the "GET /v1/jobs/{jobId}/" endpoint 

  1. What is the list of possible values for status where currently it says "Completed"?
  2. What is the list of possible values for disposition where currently it says "Error"?
  3. What do the status codes for the messages mean e.g. what does the status code "101" mean? 
    (For this a partial answer can be found here)

And for all of these questions if you know the answer where do you know it from/is there a documentation link? 

 

{
  "id": "61d58b73e24e0000160bd2b8",
  "appId": null,
  "createDate": "2022-01-05T12:13:39Z",
  "status": "Completed",
  "disposition": "Error",
  "outputs": [],
  "messages": [
    { "status": 1, "text": "Running at a Low Priority.", "toolId": -1 },
    { "status": 1, "text": "1 record was output", "toolId": 4 },
    {
      "status": 101,
      "text": "action:GET URL:REDACTED",
      "toolId": -1
    }
  ],
  "priority": 0,
  "workerTag": null,
  "runWithE2": false
}

 

 

1 REPLY 1
cgoodman3
13 - Pulsar
13 - Pulsar

@WillH I'm just tagging some people who I know have done work with the server APIs who may be able to assist - @joshuaburkhow and @patrick_digan 

Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com