On Sun, Jul 6, 2014 at 11:11 AM, Abu Sayem <sa...@asteriskbd.com> wrote:
> Would anybody tell me how the HTTP REST API Filter method works.
> https://frappe.io/apps/frappe-framework/developers/api/rest_api
> plz show me the request structure.
>
Hi,
It's documented there? What do you want to filter? Maybe we can add
that as an example.
> --
> Note:
>
> If you are posting an issue,
> 1. 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.
> 2. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 3. 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
http://0.0.0.0:8000/api/resource/Attendance?filter=[["employee","=","EMP-0001%22"]]
{"data":[{"name":"ATT-00012"},{"name":"ATT-00011"},{"name":"ATT-00010"},{"name":"ATT-00009"},{"name":"ATT-00008"},{"name":"ATT-00006"},{"name":"ATT-00002"},{"name":"ATT-00005"},{"name":"ATT-00004"},{"name":"ATT-00001"}]}