Back to All

Mileage under PC or YM

Hello,

I'm successfully pulling up all daily logs through the https://api.samsara.com/fleet/hos/logs endpoint, going through them and separating the ones with Personal Conveyance and Yard Move duty statuses on them.

However, I can't find a way to pull mileage for each trip made under PC or YM since the response doesn't provide it.

Any idea how I can get the mileage driven during a PC or YM duty status?

Thank you!