Anyone have examples of custom API calls to workfront proof? | Community
Skip to main content
AutomaSean
New Participant
August 3, 2023
Solved

Anyone have examples of custom API calls to workfront proof?

  • August 3, 2023
  • 3 replies
  • 2312 views

I oddly cannot find many examples showing the structure of the request. Confident I can figure out what I want to do once I see some working examples. Any examples are welcome!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SarahSm2

This is a simple example of how to get proof stages on a workflow using a custom API call.

3 replies

CrisDonaldson
New Participant
August 15, 2023

Here's an example of a simple one. Yes, I got the 500 error when testing. What API call are you trying?

AutomaSean
New Participant
August 15, 2023

I emulated your example and I no longer received the 500 error. I figured out that the XML module I was using has an advanced setting where you can strip out the "XML declaration." Once I did that, it works fine now. Curious and annoying, lol. Appreciate your help.

SarahSm2Accepted solution
New Participant
August 4, 2023

This is a simple example of how to get proof stages on a workflow using a custom API call.

AutomaSean
New Participant
August 4, 2023

Thanks for this! I'm getting a 500 error when I do something similar on my end. I worry that means my company's IT dept has blocked access to the Proof API. Have you ever encountered that error code?

New Participant
August 4, 2023

We use them more often than we use the built-in modules.  They're fairly simple once you learn how to use the API Explorer.  (I still use the older version at https://developer.workfront.com, but I know there's a newer one out there.)

 

Example:

 

AutomaSean
New Participant
August 4, 2023

Can this module be used for manipulating proofs? Do you have an example where you'd check active proof stages, for example?