attask - Post an update to a project or task -


i want post update project or task. this, think right object type note, haven't been able successfully.

i'm making request to:

https://companyname.attask-ondemand.com/attask/api/note?notetext=testing&objid=projectid&method=post&sessionid&noteobjcode=proj

but receive following error:

{"error":{"class":"com.attask.common.invalidparameterexception","message":"invalid parameter: objcode value \"proj\"","title":null,"msgkey":"exception.attask","attributes":[""],"code":0}}

am on right track or there else need do?

thanks.

joe

try json encoding post data , see if gets different result. such as:

https://companyname.attask-ondemand.com/attask/api/v4.0/note?updates={notetext=testing&objid=projectid&noteobjcode=proj}&method=post&sessionid=xxxx

fyi: v4.0 in url specifying attask's api version if not have in url default v2.0.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -