Can someone show me an example to allow batched,automated,data retrieval from a client program? Thanks!