AnsweredAssumed Answered

'Get Task' REST call returns invalid JSON

Question asked by the_quincy on Nov 3, 2010
Latest reply on Nov 3, 2010 by frederikheremans1
Hi together,

I was just playing around with the REST API (with RC1 running) when i found that the 'Get Task' function's response is not a valid JSON.

The function returns:

"id": "1832",
  "name": "Write monthly financial report",
  "description": "Write monthly financial report for publication to shareholders.",
  "priority": 50,
  "assignee": null,
  "executionId": 1830,
  "processInstanceId": null,
  "formResourceKey": null

(I was calling http://localhost:8080/activiti-rest/service/task/1832 )

The leading '{' and the closing '}' are missing which leads to problems in interpreting the JSON.
Please tell me, if the fault is on my side ;)