我正在尝试从 erpnext 自定义站点获取数据并过滤数据。当我获取 doctype 的字段时,我使用 url:-https://runga.rungamatteegroup.com/api/resource/Tea%20Invoice?fields=["name","grade","status","invpr","invsuf","estatename","dop"]
我得到的数据非常好。当我通过过滤获取数据时,使用 url:-https://runga.rungamatteegroup.com/api/resource/Tea%20Invoice/?filters=[["Tea%20Invoice",%20"status",%20"=",%20"Sold%20&%20Delivered"]]
我得到的数据非常好。
当我尝试合并字段并在 url 中过滤为 querystring 时,我无法将它们放在一起。网址是:-
https://runga.rungamatteegroup.com/api/resource/Tea%20Invoice/?fields=["status","name","dop"]?filters=[["Tea%20Invoice",%20"status",%20"=",%20"Sold%20&%20Delivered"]]
我正在尝试仅获取过滤数据的字段。因为获取所有数据然后过滤将非常忙碌。