ByRecordDocs
byrecord.com›

Vendor connector

What ByRecord needs from your API to show customers their service and to suspend and restore it.

The vendor connector is the one place the platform talks to your systems about service: which locations and devices a customer has, whether each location is in service, and how to suspend and restore one. Everything else in the platform talks in the connector's terms, so connecting a vendor is a matter of implementing it against your API.

What the connector does

OperationPurpose
List a customer's devicesShow the customer their devices, their status and their uptime
List a customer's locationsKnow which locations exist, and whether each is in service. This is also how a reversal on your side is noticed
Suspend a locationStop service at one location, with the reason passed on for your records
Restore a locationPut a suspended location back in service
Get usage for a periodRead usage figures for a customer and a period, such as hours recorded. "No figure yet" is never read as zero
Read a status notificationAccept device status changes your systems push, instead of waiting for the next sync

What we need from your API

Identifiers. A stable id for each customer, each location and each device. Devices and locations are matched on your ids.

Locations, with service state. For each location, its id, name, and whether it is in service: active or suspended. Anything else is read as unknown, and an unknown state is never taken as a reversal of a suspension.

Devices. For each device: id, name, and where available serial, model, type, status (online, offline, degraded, pending or unknown), firmware, the location it belongs to, and when it was last seen.

Suspend and restore, per location. A call that changes one location's service and says what the state is afterwards, with your reference for the change if you have one. A refusal is an answer, not an error: the platform records every attempt and its answer.

Usage, optional. For a customer and a period, figures such as hours recorded and events, or nothing when there is no figure yet.

Status push, optional. A signed notification when a device's status changes, with the device id, the new status and when it changed. Late, out-of-order or repeated notifications change nothing; only a status newer than anything already known is applied.

How the platform uses it

  • A regular sync lists every active customer's devices and locations (every 15 minutes by default). Devices are never deleted: one you stop reporting is marked offline, so history survives. Each run is recorded with its errors, so a broken integration is visible.
  • Uptime is measured, not claimed: time sampled up over time sampled. A gap in the samples, because a sync failed, counts neither up nor down, so a customer's uptime does not fall because the integration did.
  • Offline alerts tell the customer when a device has been offline for 30 minutes and when it is back. Alerts are information only: they never touch billing or standing.
  • Suspend and restore run one location at a time under a lock on the account. Only what we suspended is ours to restore; a location you suspended for your own reasons is left alone.
  • Unclear answers are checked, not guessed. A timeout or server error may mean the change was made, so the platform reads the location's state back from you before deciding.
  • Installation dates can be proposed from your devices: when a waiting contract's first device comes online, the platform proposes that date as the installation date for a person to confirm.

The mock connector

A mock connector stands in for your API in the sandbox and in development. It returns realistic customers, locations and devices, and records suspensions and restores without calling anyone.

A production deployment never acts through the mock. If the real connector is not configured, every suspension is recorded as failed with "not connected", nothing changes at the vendor, and the platform's health page says so.

Reporting to you

Every suspension and restore is reported to your team the same minute (by email, and Slack if you want it), with the account, the locations, the reason, who decided, and when; and to your systems as a webhook.

© 2026 ByRecord · byrecord.com · Status