Back to All

Pairing Together endTime and startTime data attributes

Hey all,

I am trying to get Driver Efficiency data between two dates.

It works fine if I just have a startTime or endTime but when I try to pair them through the URL, I get a 400. Here is my URL:

"https://api.samsara.com/fleet/drivers/efficiency?startTime=2020-08-25T00:00:00Z&endTime=2020-08-25T00:00:00Z

What am I doing wrong?