Fetching all Orders using SDK

In the terminal app, using the Poynt SDK, how would I accomplish the equivalent of this CloudAPI call:
GET /businesses/{businessId}/orders.
I need to fetch all orders for a business for a specified time span.

Follow up question: how to fetch all orders for a specific employee for a specific timespan? Thanks!

Hi Eugene,

Can you tell me which data elements you need to get back?

Also, one thing to keep in mind is that we only synch last 7 days of data to the device.

I am trying to find out whether a certain employee has any “open” orders within a particular time span. The timespan would always be at most 24 hours, with the upper bound always being the current time.

Hi Eugene,

Did you get any solution for this? I think we need to get it from content provider but which content URI I should use?

Best
Sandeep

Hi Sandeep, use the following content URI: OrdersColumns.CONTENT_URI_WITH_NETTOTAL_TRXN_STATUS