HTTP Api Reports

Can I somehow retrieve the Main/Standard reports under the accounts section through http api? 
Actually I want to develop an android app which will show the reports from live erpnext.
I can show other data like events and employee information through in my android app through Http Api, but reports is not a doctype. So how can I do it?
If not possible with api, then can you please suggest any other way to achieve this? 



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1cb79e79-4b0f-4e01-bed5-2c4bd40622c6%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Shishir,

Most main reports are query / script reports. You should call "/api/method/frappe.widgets.query_report.run" method via the api, passing the relevant arguments. This should be a good starting point: https://github.com/frappe/frappe/blob/develop/frappe/public/js/frappe/views/query_report.js#L247


Thanks,
Anand Doshi.



On Mon, Aug 4, 2014 at 10:31 AM, Shishir Chakraborty <sh…@gmail.com> wrote:

Can I somehow retrieve the Main/Standard reports under the accounts section through http api?
Actually I want to develop an android app which will show the reports from live erpnext.

I can show other data like events and employee information through in my android app through Http Api, but reports is not a doctype. So how can I do it?

If not possible with api, then can you please suggest any other way to achieve this?



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1cb79e79-4b0f-4e01-bed5-2c4bd40622c6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF1DqCojYgC9rc2qPRhBGpu%2BHibg2tsmqnfu6BASe-JM4Q%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.