How to get dasboard from Jira?

I have used get dasboard activity inside jira application scope with proper credentials and as get dashboard needs dashboard id, i have provided 10000(default dashboard id) as string.
There are no compilation errors. But,
When i run it, the error shows “cant parse json value in the id field”.
Kindly help me.