Saltar al contenido principal
GET
WrenchMode per-technician analytics

Autorizaciones

X-API-KEY
string
header
requerido
OW-KEY
string
header
requerido

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Parámetros de ruta

fromDate
string
requerido

Window start, yyyy-MM-dd. The rollup starts at the beginning of this day, in the timezone zone or UTC when timezone is omitted.

toDate
string
requerido

Window end, yyyy-MM-dd, inclusive of the whole day in the timezone zone or UTC when timezone is omitted. At most 1 month after fromDate; the cap is checked on the dates as given.

Parámetros de consulta

supervisorEmail
string

Optional: restrict the rollup to technicians under this supervisor

timezone
string

Optional IANA time zone name, such as America/Chicago or UTC, that fromDate and toDate are read in. fromDate starts at the beginning of that day in the zone, and toDate includes that whole day in the zone. The zone's real day boundaries apply, so a daylight saving change day is 23 or 25 hours long. When omitted, dates are UTC days. Names are case-sensitive. Fixed offsets (-05:00, GMT-5, Z, Etc/GMT+5), abbreviations (CST), and unknown names are rejected with 400.

Ejemplo:

"America/Chicago"

Respuesta

Successful response

type
string
requerido

Entity type label, e.g. "WrenchHubUserAnalytics". Endpoints that derive it via Scala reflection (most generic list/get endpoints) may return the fully qualified server class name instead (e.g. "models.workorder.WorkOrder"); treat this field as informational.

data
object[]
requerido
count
integer<int64>
requerido

Total number of matching records (across all pages)

status
enum<string>
requerido

"ok" on success

Opciones disponibles:
ok