What is the best way to extract raw Form data from a Task using the API?

Hi - Our workflow begins with stakeholders submitting a Wrike Form. The result is a ticket that gets generated in a specific folder. Each task has a block of text that is essentially all the output from the form. This is where most of the relevant information about a ticket exists that I would like to extract for further analysis and integration with another internal system.

I am able to list all tasks within a given folder, but the JSON response only includes high level metadata about a ticket (dates, title, permalink, etc). Is there a way to access this form data by Task using the API?

Note, I do have control over the process/workflow that stakeholders use.

Thanks!

0
5 comentários
Spot On Innovative Approach Stellar Advice
Avatar

Hi Yaseen, welcome to the Community 🙂

Thank you for reaching out, I can see that you've already discussed this with our Support team.

Just in case anyone else is wondering about this: in order to see the description of the task of your API call you'll need to add the fields parameter to your GET tasks call to make sure the description is present in the API call response.

 

Lisa Community Team at Wrike Become a Wrike expert with Wrike Discover

0
Ações de comentário Permalink
Spot On Innovative Approach Stellar Advice
Avatar

I have a similar question. Can you provide an example of JSON construction using "fields" parameter?

0
Ações de comentário Permalink
Spot On Innovative Approach Stellar Advice
Avatar
Hugh

Hi Doug!

You use the parameter "fields" when you wish to add fields to a return result. For example, when you retrieve a task you do not automatically get the full description by default. The way to get this is to add fields=[description] to your request. You can find a full list of field options in this API documentation.

If you have any questions let me know! 😄

0
Ações de comentário Permalink
Spot On Innovative Approach Stellar Advice
Avatar

I understand that, but can you provide an example of properly constructed JSON request that accomplishes this for tasks?

0
Ações de comentário Permalink
Spot On Innovative Approach Stellar Advice
Avatar
Hugh

Hey Doug,

You can request this through the REST API, not through JSON. An example for this would be https://www.wrike.com/api/v4/tasks?fields=[description,parentIds]. This would allow you to get all tasks including their descriptions and parent ID's.

Hope this helps! If you have any other questions let me know! 😊

0
Ações de comentário Permalink

Folllowing List for Post: What is the best way to extract raw Form data from a Task using the API?
[this list is visible for admins and agents only]

Didn’t find what you were looking for? Write new post