Need clarification on creating Tasks in Asana -


the documentation tasks seems imply post method uses name/value pairs data payload (i'm assuming content type of application/x-www-form-urlencoded). can accept json instead, using same format data returned call tasks?

also, memberships field supposed contain array of projects , sections. there's projects field task - projects need duplicated in list of projects memberships or can sections included?

yep, it's totally possible use json payload (with correct content-type: application/json) - in fact, in number of scenarios - 1 - it's considerably easier.

i don't recall off of top of head right way going form data (if recall, might have outstanding bug filed :) ), json, should fine if specify project in both locations. don't think can away not specifying values in projects (unless specify workspace, might work).

i don't think can specify section. finally, think if specify different project in each location, put both: projects in "no section" area whichever ones in projects property , put in specified sections specified in memberships


Comments