Fetching Request details | Community
Skip to main content
Level 2
June 11, 2024
Solved

Fetching Request details

  • June 11, 2024
  • 1 reply
  • 703 views

Hello,

 

1. Could you please help using API, how to fetch request details per project.

 

https://veridiancu.my.workfront.com/attask/api/v18.0/proj/5b4f47cc0..............&sessionID=535fc8de1ed.........

 

2. Under request blog I have many issue how to get issue ID under one dsahboard ID, 

 

https://veridiancu.my.workfront.com/attask/api/v18.0/ptltab/search?id=5f3f22b50092a............&sessionID=535fc8de1eda405....................&fields=*,

 

3. Under request we have PMO Request Form, how to access to that information using API.

 

Thanks,

Divya Anand.

 

 

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 lgaertner

Hello,

 

1. request details per project

 

Here you have two possibilities:

 

a) as API v18 does not provide a possibility to fetch requests using the PROJ endpoint, you need to use the endpoint OPTASK, which is the one for issues / requests.

https://instance.my.workfront.com/attask/api/v18.0/optask/search?projectID=<projectID>&fields=*


b) alternatively you can use the (unsupported) internal api, which allows using the endpoint PROJ:

 

https://instance.my.workfront.com/attask/api-internal/proj/<projectID>?fields=issues:*

 

 

Concerning 2 you need to be a bit more specific.

 

It is best if you familiarise yourself a little with the API Explorer.

 

 

 

3. Getting custom form field values

 

Field values from custom forms are stored in the collection parameterValues.


https://instance.my.workfront.com/attask/api/v18.0/optask/search?projectID=<projectID>&fields=parameterValues:*

 

 

Regards

Lars

1 reply

lgaertner
lgaertnerAccepted solution
Level 9
June 11, 2024

Hello,

 

1. request details per project

 

Here you have two possibilities:

 

a) as API v18 does not provide a possibility to fetch requests using the PROJ endpoint, you need to use the endpoint OPTASK, which is the one for issues / requests.

https://instance.my.workfront.com/attask/api/v18.0/optask/search?projectID=<projectID>&fields=*


b) alternatively you can use the (unsupported) internal api, which allows using the endpoint PROJ:

 

https://instance.my.workfront.com/attask/api-internal/proj/<projectID>?fields=issues:*

 

 

Concerning 2 you need to be a bit more specific.

 

It is best if you familiarise yourself a little with the API Explorer.

 

 

 

3. Getting custom form field values

 

Field values from custom forms are stored in the collection parameterValues.


https://instance.my.workfront.com/attask/api/v18.0/optask/search?projectID=<projectID>&fields=parameterValues:*

 

 

Regards

Lars

Rafal_Bainie
Community Advisor
Community Advisor
June 11, 2024

@lgaertner 

why do you think PROJ is no longer supported in API v18?

 

lgaertner
Level 9
June 11, 2024

Hello Rafal,

 

No, that wasn't what I was trying to say. Sometimes it's not easy for me to express myself in English.
I just meant that you can't query issues / requests via the PROJ endpoint, at least I don't know of a way.
So my suggestion was that you either use the unsupported-api for this endpoint, or make the query via the OPTASK endpoint.

 

Regards

Lars