SlideShare a Scribd company logo
1 of 18
Developing to the Workfront API
Technical
Ross Penna
Senior Software Engineer
Developing to the {“Workfront”:“API”}
Will Schmidt
Product Manager - API
Welcome
Postman
StopLight
-- OR –
Chrome plugin – Advanced REST Client
-- OR --
Chrome/Firefox plugin – JSONViewer Awesome
Supported Protocols
Workfront
• REST
– This is where we’ll be
today
PHQ
• SOAP
URI base:
• https://<DOMAIN>.attask-ondemand.com/attask/api/v7.0/…
Supported Methods
• GET
• POST
• PUT
• DELETE
• OPTIONS
Status Codes
• 2xx
– 200 OK
• 5xx
– 500 Internal Server
– 502 Bad Gateway
– 503 Service Unavailable
– 504 Gateway Timeout
• 4xx
– 400 Bad Request
– 401 Authentication Required
– 403 Forbidden
– 404 Not Found
– 422 Unprocessable Entity
All Good Caller Problem WF Problem
“fields” URI parameter
• CoreFields – always returned
• DefaultFields – if no specific fields requested
• “*” fields – all fields - not best practice
• Nested fields
For calls returning results
“fields” (PROJ)
CoreFields
• ID
• name
• objCode
DefaultFields
• name
• percentComplete
• plannedCompletionDate
• plannedStartDate
• priority
• projectedCompletionDate
• status
“fields” (PROJ) continued…
• owner:city
• program:hasNotes
• team:schedule:name
• project:project:project:*
Nested fields
That’s SO meta!
…/api/v7.0/metadata…
• Top level metadata for
each api version
• Lists Objects available
…/api/v7.0/PROJ/metadata…
• fields
• references
• collections
• search
• custom (with auth)
• actions
• queries
• operations
metadata (PROJ)
• “primitive” fields
– ID
– name
– description
– …
• Collection of
“nested” resources
– allHours (HOUR)
– tasks (TASK)
– documents (DOCU)
– …
• “nested” resource
– company (CMPY)
– program (PRGM)
– team (TEAM)
– …
fields references collections
metadata (PROJ) continued…
search
• Filterable ONLY
• Collection searches
– notes
• “aliases”
– duration:durationMinutes
– projectID:ID
• backward compatibility
– openOpTasks
custom
• Requires authentication
• Shows available custom
fields and the forms they
are available in
metadata (PROJ) continued…
• [PUT] request
• Common or
complex procedures
– approveApproval
– attachTemplate
– rejectApproval
– …
• Supported
– add
– copy
– count
– delete
– edit
– get
– report
– search
• Common and/or
complex searches
– helpDeskQueues
– recentHelpDeskQueues
actions queries operations
Authentication
User Credentials
• Via Request Parameters
– …/api/v7.0/…?username=<USERNAM
E>&password=<PASSWORD>…
Session
• Via Request Parameter
– …/api/v7.0/…?sessionID=<SESSION_
ID>…
• Via Header
– sessionID: <SESSION_ID>
Authentication
• Via Request Parameter
– …/api/v7.0/…?apiKey=<API_KEY>…
• Via Header
– apiKey: <API_KEY>
• Does NOT pass credentials
• Does NOT require active session
APIKey
Demo Time
• Get APIKEY (getApiKey)
• POST “project_<INITIALS>”
• PUT – update description, fields=description
• PUT – attachTemplate (with form), fields=DE:leAPI
• PUT – custom data value (DE:leAPI) , fields=DE:leAPI
• GET – fields=DE:leAPI,tasks:description
Questions?
Developing to the Workfront API

More Related Content

More from Workfront

More from Workfront (20)

How to Write a Business Case: 4 Steps to a Perfect Business Case Template
How to Write a Business Case: 4 Steps to a Perfect Business Case TemplateHow to Write a Business Case: 4 Steps to a Perfect Business Case Template
How to Write a Business Case: 4 Steps to a Perfect Business Case Template
 
4 KPIs Every Creative Team Should Be Tracking
4 KPIs Every Creative Team Should Be Tracking4 KPIs Every Creative Team Should Be Tracking
4 KPIs Every Creative Team Should Be Tracking
 
6 Shocking Findings From Adobe Digital Summit 2017
6 Shocking Findings From Adobe Digital Summit 20176 Shocking Findings From Adobe Digital Summit 2017
6 Shocking Findings From Adobe Digital Summit 2017
 
Four Keys to Managing Stakeholder Expectations and Delivering Value
Four Keys to Managing Stakeholder Expectations and Delivering ValueFour Keys to Managing Stakeholder Expectations and Delivering Value
Four Keys to Managing Stakeholder Expectations and Delivering Value
 
81 Tips From PM Experts: How to Be a Smarter, More Effective Project Manager
81 Tips From PM Experts: How to Be a Smarter, More Effective Project Manager81 Tips From PM Experts: How to Be a Smarter, More Effective Project Manager
81 Tips From PM Experts: How to Be a Smarter, More Effective Project Manager
 
31 Productivity Tips
31 Productivity Tips31 Productivity Tips
31 Productivity Tips
 
A Quick Guide to Making Change Happen in Your Organization
A Quick Guide to Making Change Happen in Your OrganizationA Quick Guide to Making Change Happen in Your Organization
A Quick Guide to Making Change Happen in Your Organization
 
What's Happening in UK Marketing Departments?
What's Happening in UK Marketing Departments?What's Happening in UK Marketing Departments?
What's Happening in UK Marketing Departments?
 
10 Highlights From the 2016 State of Marketing Work Report
10 Highlights From the 2016 State of Marketing Work Report10 Highlights From the 2016 State of Marketing Work Report
10 Highlights From the 2016 State of Marketing Work Report
 
Lessons Learned From Five of Marketing's Top Minds - starring Robert Rose, An...
Lessons Learned From Five of Marketing's Top Minds - starring Robert Rose, An...Lessons Learned From Five of Marketing's Top Minds - starring Robert Rose, An...
Lessons Learned From Five of Marketing's Top Minds - starring Robert Rose, An...
 
Marketers are Clueless About Agile
Marketers are Clueless About AgileMarketers are Clueless About Agile
Marketers are Clueless About Agile
 
A Beginner's Guide to IT Project Management
A Beginner's Guide to IT Project ManagementA Beginner's Guide to IT Project Management
A Beginner's Guide to IT Project Management
 
How to Bypass Sucky Business Jargon
How to Bypass Sucky Business JargonHow to Bypass Sucky Business Jargon
How to Bypass Sucky Business Jargon
 
Project Management 101: Project Request Intake
Project Management 101: Project Request IntakeProject Management 101: Project Request Intake
Project Management 101: Project Request Intake
 
How to Prioritize Your Work
How to Prioritize Your WorkHow to Prioritize Your Work
How to Prioritize Your Work
 
5 Shocking Revelations From the UK Workplace
5 Shocking Revelations From the UK Workplace5 Shocking Revelations From the UK Workplace
5 Shocking Revelations From the UK Workplace
 
The Battle of the Sexes in the Workplace
The Battle of the Sexes in the WorkplaceThe Battle of the Sexes in the Workplace
The Battle of the Sexes in the Workplace
 
Marketing Predictions 2016: Q&A With Ted Rubin, Robert Rose and More
Marketing Predictions 2016: Q&A With Ted Rubin, Robert Rose and MoreMarketing Predictions 2016: Q&A With Ted Rubin, Robert Rose and More
Marketing Predictions 2016: Q&A With Ted Rubin, Robert Rose and More
 
Marketers Time Management: What's happening to it, how they cope, and how to ...
Marketers Time Management: What's happening to it, how they cope, and how to ...Marketers Time Management: What's happening to it, how they cope, and how to ...
Marketers Time Management: What's happening to it, how they cope, and how to ...
 
7 Ways Generations Clash in the Workplace
7 Ways Generations Clash in the Workplace7 Ways Generations Clash in the Workplace
7 Ways Generations Clash in the Workplace
 

Recently uploaded

Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
lizamodels9
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
lizamodels9
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 

Recently uploaded (20)

Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 

Developing to the Workfront API

  • 2. Technical Ross Penna Senior Software Engineer Developing to the {“Workfront”:“API”} Will Schmidt Product Manager - API
  • 3. Welcome Postman StopLight -- OR – Chrome plugin – Advanced REST Client -- OR -- Chrome/Firefox plugin – JSONViewer Awesome
  • 4. Supported Protocols Workfront • REST – This is where we’ll be today PHQ • SOAP URI base: • https://<DOMAIN>.attask-ondemand.com/attask/api/v7.0/…
  • 5. Supported Methods • GET • POST • PUT • DELETE • OPTIONS
  • 6. Status Codes • 2xx – 200 OK • 5xx – 500 Internal Server – 502 Bad Gateway – 503 Service Unavailable – 504 Gateway Timeout • 4xx – 400 Bad Request – 401 Authentication Required – 403 Forbidden – 404 Not Found – 422 Unprocessable Entity All Good Caller Problem WF Problem
  • 7. “fields” URI parameter • CoreFields – always returned • DefaultFields – if no specific fields requested • “*” fields – all fields - not best practice • Nested fields For calls returning results
  • 8. “fields” (PROJ) CoreFields • ID • name • objCode DefaultFields • name • percentComplete • plannedCompletionDate • plannedStartDate • priority • projectedCompletionDate • status
  • 9. “fields” (PROJ) continued… • owner:city • program:hasNotes • team:schedule:name • project:project:project:* Nested fields
  • 10. That’s SO meta! …/api/v7.0/metadata… • Top level metadata for each api version • Lists Objects available …/api/v7.0/PROJ/metadata… • fields • references • collections • search • custom (with auth) • actions • queries • operations
  • 11. metadata (PROJ) • “primitive” fields – ID – name – description – … • Collection of “nested” resources – allHours (HOUR) – tasks (TASK) – documents (DOCU) – … • “nested” resource – company (CMPY) – program (PRGM) – team (TEAM) – … fields references collections
  • 12. metadata (PROJ) continued… search • Filterable ONLY • Collection searches – notes • “aliases” – duration:durationMinutes – projectID:ID • backward compatibility – openOpTasks custom • Requires authentication • Shows available custom fields and the forms they are available in
  • 13. metadata (PROJ) continued… • [PUT] request • Common or complex procedures – approveApproval – attachTemplate – rejectApproval – … • Supported – add – copy – count – delete – edit – get – report – search • Common and/or complex searches – helpDeskQueues – recentHelpDeskQueues actions queries operations
  • 14. Authentication User Credentials • Via Request Parameters – …/api/v7.0/…?username=<USERNAM E>&password=<PASSWORD>… Session • Via Request Parameter – …/api/v7.0/…?sessionID=<SESSION_ ID>… • Via Header – sessionID: <SESSION_ID>
  • 15. Authentication • Via Request Parameter – …/api/v7.0/…?apiKey=<API_KEY>… • Via Header – apiKey: <API_KEY> • Does NOT pass credentials • Does NOT require active session APIKey
  • 16. Demo Time • Get APIKEY (getApiKey) • POST “project_<INITIALS>” • PUT – update description, fields=description • PUT – attachTemplate (with form), fields=DE:leAPI • PUT – custom data value (DE:leAPI) , fields=DE:leAPI • GET – fields=DE:leAPI,tasks:description