What can we help you with?

e.g. Gantt chart, Creating tasks, Sharing folders

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

5 comments

  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Lisa

    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 ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to get started

    Is this helpful? 0
    Comment actions Permalink
  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Doug Allinger

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

    Is this helpful? 0
    Comment actions 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!ย ๐Ÿ˜„

    Hugh Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to get started

    Is this helpful? 0
    Comment actions Permalink
  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Doug Allinger

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

    Is this helpful? 0
    Comment actions 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! ๐Ÿ˜Š

    Hugh Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to get started

    Is this helpful? 0
    Comment actions Permalink

Please sign in to leave a comment.

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]

Community

Welcome ๐Ÿ––

Hi there! ๐Ÿ™‚ Want to become a black belt Wrike Ninja? Here's how to earn a Wrike badge

Welcome ๐Ÿ–– Have you checked out this week's Release Notes yet?

Hey! ๐Ÿ‘‹ Curious about something? Visit How To to search and ask the Community for answers.

Welcome! ๐Ÿ‘‹ Figured out a good tip or trick? Share it in Best Practices.

Want to connect your existing software to Wrike? Learn and ask how in the API section.