question

rafiq avatar image
rafiq asked sakere answered

Not getting employee clock in time and clock out time

Hi,

Not getting employee clock in time and clock out time. I was calling this http://apisandbox.dev.clover.com/v3/merchants/XXX/shifts and getting the response

{"elements":[{"href":
"https://sandbox.dev.clover.com/v3/merchants/XXX/shifts/YYYY"
"id":
"NYWS6W4JR1BAW"
"employee":{"href":
"https://sandbox.dev.clover.com/v3/merchants/XXX/employees/YYYY"
"id":
"ZZZZ"
"orders":{"href":
"https://sandbox.dev.clover.com/v3/merchants/XXX/employees/YYYY/orders"
}}}]"href":
"http://sandbox.dev.clover.com/v3/merchants/XXX/shifts"
}

But according to https://docs.clover.com/reference#merchantgetallshifts-1 I need to get the clock in time and out time.


Thanks

Employees
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

Have the employees in question clocked in/out from the shifts app on the device? I just tested this endpoint and the clock in/out time is properly returned if a clock in/out action has occurred.

4 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rafiq avatar image rafiq commented ·

Hello again,

Thanks again. Basically still it's in the developer end so no device with us. We are just trying to do the following stuff:

1. Will pull employee time (clock in and clock out) from the Clover using REST API http://apisandbox.dev.clover.com/v3/merchants/XXX/shifts
2. Will store in our local server (Such as abcxyz.com)
3. After certain time will push this in the execupay.com

Please assist how we can proceed.

Thanks

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ rafiq commented ·

Clock in and clock out times will not be available if the employee hasn't clocked in or clocked out. If an employee has clockec in/out that data will be available.

0 Likes 0 ·
rafiq avatar image rafiq David Marginian ♦♦ commented ·

ok got it. How I can develop this stuff in the development stage? please suggest.

2nd thing... which kind of apps I will ask client to use this then I can get data?

Please assist

0 Likes 0 ·
Show more comments
sakere avatar image
sakere answered

Mastering the time and flow needed to get through each level is what makes it hard. The game stays fun and interesting by adding new geometry dash subzero features with each level.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community