Read your fleet straight out of ZERION ELD: vehicles, drivers, current duty status and
last known vehicle position. Everything is scoped to your own company — one set of
credentials only ever sees your own data.
Base URL
Every endpoint below is relative to this base. It is always the host you are reading these docs on.
Requests
All endpoints are POST. Filters and paging (id, skip,
limit) go in the query string; only Authentication takes a JSON body.
Authentication
Call Authentication with your API user and company token to get a bearer
token, then send it on every other request. Tokens last 24 hours — cache one and
re-authenticate when it expires rather than logging in per request.
Rate & volume
List endpoints return up to limit records (default 1000). For fleets larger than that,
page with skip. The status endpoints are the ones worth polling; a minute between
polls is plenty, since positions update as devices report in.
Machine-readable spec
An OpenAPI 3.0 document describes everything on this page.
Import it into Postman or Insomnia to get a ready-made collection pointed at this host.
Base URL
http://app.zerioneld.com/api/HosconnectApi
Authorization header
Authorization: Bearer <accessToken>
Duty status codes
DS_OFF off duty
DS_SB sleeper berth
DS_D driving
DS_ON on duty, not driving
Authentication
Get an access token
POST/api/HosconnectApi/AuthenticationPublic
Exchange your API credentials for a bearer token.
The token is a JWT valid for 24 hours. Send it as an Authorization: Bearer header on every other endpoint. Credentials are issued per company — contact support to have an API user created for your account.
Parameters
userstring · bodyrequired
API user login.
passwordstring · bodyrequired
API user password.
companystring · bodyrequired
Your company token. This value scopes every subsequent request — you only ever see your own fleet.
Response
accessTokenstring
JWT bearer token. Expires 24 hours after issue.
Errors
400"Not found this user."
No API user matches the supplied user and password.
Current duty status and remaining hours for every driver, or for one driver.
Omit id (or send 0) for the whole fleet; pass a driver ID for a single driver. The clock fields are seconds remaining; the matching *Text fields are the same values formatted as HH:MM for display, and go negative once a limit is exceeded.
Parameters
idinteger · querydefault 0
Driver ID to filter by. 0 returns all drivers.
skipinteger · querydefault 0
Number of records to skip. Use with limit to page through large fleets.
limitinteger · querydefault 1000
Maximum number of records to return.
Response
CompanyIdstring
Your company token.
DriverIDinteger
Driver ID.
dutyStatusstring
Current duty status: DS_OFF (off duty), DS_SB (sleeper berth), DS_D (driving), DS_ON (on duty, not driving).
Breakinteger
Seconds until the 30-minute break is required.
Driveinteger
Seconds of driving time remaining.
Shiftinteger
Seconds remaining in the shift (14-hour) window.
Cycleinteger
Seconds remaining in the cycle (60/70-hour) window.
Latest known position, speed and odometer for every vehicle, or for one vehicle.
Omit id (or send 0) for the whole fleet; pass a vehicle ID for a single vehicle. Positions come from the last GPS record received from the device, so a vehicle that is parked out of coverage keeps reporting its last known point.
Parameters
idinteger · querydefault 0
Vehicle ID to filter by. 0 returns all vehicles.
skipinteger · querydefault 0
Number of records to skip. Use with limit to page through large fleets.
limitinteger · querydefault 1000
Maximum number of records to return.
Response
CompanyIdstring
Your company token.
vehicleIdstring
Vehicle ID.
lat / lonnumber
Last known coordinates, in decimal degrees.
speedinteger
Speed in mph. Reported as 0 unless the vehicle is moving (code "M").
odometerinteger
Odometer reading in miles.
codestring
"M" when the vehicle is moving (driver in driving status), "S" when stationary.
timestring
Timestamp of the position, "yyyy-MM-dd HH:mm:ss". UTC or the account's local time depending on how your API user is configured.
Errors
401Unauthorized
Missing, malformed, or expired bearer token. Tokens are valid for 24 hours — call Authentication again.
400"Not found api user."
The API user behind the token has since been deleted.