Quick Tip: Next time you're building something using the Workfront API, follow the Best Practices outlined by the Workfront team. | Community
Skip to main content
kynabaker16
Employee
Nov 11, 2021 5:43 PM UTC
Question

Quick Tip: Next time you're building something using the Workfront API, follow the Best Practices outlined by the Workfront team.

Before you go and build or update your next API integration with Workfront, check out what Workfront recommends as an API best practice here, and while you're at it, check out all the Workfront Best Practices.

"Like" this post if you find it helpful!👍

To find all previous Quick Tips, go here and view the tab named "Quick Tips".

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

4 replies

skyehansen
Level 4
Nov 11, 2021 10:05 PM UTC

I learned how to use postman this year! (I promise this is relevant.)

One thing I learned was that postman allows for use of environments (https://learning.postman.com/docs/sending-requests/managing-environments/), a way to indicate a set of variables you can use in API calls. The most important variable I learned about was the base URL.

On the customer side, it allows you to easily toggle between environments. For Workfront, this means sandbox and production environments. But it also allows for instances that are merging to just indicate a new base URL instead of having to hunt our way through every place we've hardcoded an environment.

On the community side, as we start to use blueprints more and more in scenarios, it allows for easier ways to share scenarios if custom API calls (aka the http module) wasn't hard coded with the predecessor's base URL.

Anyway, just a thought about best practices.

Translate
kynabaker16
Employee
Nov 12, 2021 8:04 PM UTC

Interesting thoughts, Skye. Thank you for sharing, I'll be sure to pass this along.

Translate
skyehansen
Level 4
Nov 11, 2021 6:52 PM UTC

we use the field description to store integration markers, so as we’re changing a specific one, there’s no additional reference we need to check, such as pulling up an additional project.

Translate
kynabaker16
Employee
Nov 11, 2021 6:54 PM UTC

That's such a good tip! I love having information in the place that I'm working and not having to go somewhere else... let alone remembering WHERE that somewhere else was.

Translate