SDK Reference
Reports and Digital Forms Scheduled report lifecycle methods and digital form answer retrieval.
Reports and digital form endpoints are dashboard-derived. Use the typed payloads
for common fields and preserve any tenant-specific fields returned by Linxio.
Input Object parameter. Expand to see child parameters.
Show child parameters Number of reports to request.
Page number to request.
Default: 1
formatLinxioFileFormat
optional Optional file format filter when Linxio accepts it.
Possible enum values
csvComma-separated values export.
xlsxExcel workbook export.
startDate / params.endDateISODateString
optional Optional date range filters when supported by the report endpoint.
Returns Scheduled reports for the requested page.
Show child fields formatLinxioFileFormat
optional Report output format.
Possible enum values
csvComma-separated values export.
xlsxExcel workbook export.
Scheduled report identifier.
Scheduled report display name.
statusactive | disabled | string
optional Pagination metadata.
Show child fields Total matching record count.
Typed SDK error when reports cannot be loaded.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
const reports = await linxio.reports. scheduled ({
limit: 50 ,
page: 1 ,
});
if (reports.error) {
throw reports.error;
} {
"data" : [
{
"format" : "json" ,
"id" : 64553 ,
"name" : "Example" ,
"status" : "online" ,
"type" : "Truck"
}
] ,
"meta" : {
"limit" : 100 ,
"page" : 1 ,
"total" : 2
} ,
"error" : null
}
Input scheduledTemplate() does not take parameters.
Returns dataLinxioRecord | null
optional Dashboard template metadata. Shape can vary by tenant and enabled report types.
Typed SDK error when the template cannot be loaded.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
Input Scheduled report identifier.
Returns Scheduled report record.
Show child fields formatLinxioFileFormat
optional Report output format.
Possible enum values
csvComma-separated values export.
xlsxExcel workbook export.
Scheduled report identifier.
Scheduled report display name.
statusactive | disabled | string
optional Typed SDK error when the report cannot be loaded.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
const report = await linxio.reports. getScheduled (reportId);
if (report.error) {
throw report.error;
} {
"data" : {
"format" : "json" ,
"id" : 64553 ,
"name" : "Example" ,
"status" : "online" ,
"type" : "Truck"
} ,
"error" : null
}
Input Object parameter. Expand to see child parameters.
Show child parameters Scheduled report display name.
Report type accepted by Linxio.
formatLinxioFileFormat
required Output format.
Possible enum values
csvComma-separated values export.
xlsxExcel workbook export.
paramsRecord<string, unknown>
optional Report-specific parameters such as recipients, schedule, date range, vehicle IDs, or filters.
Returns Created scheduled report.
Show child fields formatLinxioFileFormat
optional Report output format.
Possible enum values
csvComma-separated values export.
xlsxExcel workbook export.
Scheduled report identifier.
Scheduled report display name.
statusactive | disabled | string
optional Typed SDK error when creation fails.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
const created = await linxio.reports. createScheduled ({
name: "Weekly Fleet Summary" ,
type: "fleet-summary" ,
format: "pdf" ,
params: {
timezone: "Australia/Perth" ,
},
});
if (created.error) {
throw created.error;
} {
"data" : {
"format" : "json" ,
"id" : 64553 ,
"name" : "Example" ,
"status" : "online" ,
"type" : "Truck"
} ,
"error" : null
}
Input Scheduled report identifier.
Partial scheduled-report payload containing fields to change.
Show child parameters formatLinxioFileFormat
required Report output format.
Possible enum values
csvComma-separated values export.
xlsxExcel workbook export.
Scheduled report display name.
paramsRecord<string, unknown>
optional Report-specific parameter object.
Returns Updated scheduled report.
Show child fields formatLinxioFileFormat
optional Report output format.
Possible enum values
csvComma-separated values export.
xlsxExcel workbook export.
Scheduled report identifier.
Scheduled report display name.
statusactive | disabled | string
optional Typed SDK error when update fails.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
const updated = await linxio.reports. updateScheduled (reportId, {
name: "Updated Weekly Fleet Summary" ,
});
if (updated.error) {
throw updated.error;
} {
"data" : {
"format" : "json" ,
"id" : 64553 ,
"name" : "Example" ,
"status" : "online" ,
"type" : "Truck"
} ,
"error" : null
}
Input Scheduled report identifier.
Returns Typed SDK error when delete fails.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
const deleted = await linxio.reports. deleteScheduled (reportId);
if (deleted.error) {
throw deleted.error;
} {
"error" : null
}
Input Scheduled report identifier.
Returns Typed SDK error when restore fails.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
const restored = await linxio.reports. restoreScheduled (reportId);
if (restored.error) {
throw restored.error;
} {
"error" : null
}
Input list() does not take parameters.
Returns Digital form records.
Show child fields Digital form display name.
Typed SDK error when forms cannot be loaded.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
Returns Digital form record.
Show child fields Digital form display name.
Typed SDK error when the form cannot be loaded.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
Input Digital form answer identifier.
Returns dataLinxioRecord | null
optional Digital form answer payload. Shape varies by form schema.
Typed SDK error when the answer cannot be loaded.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
Input Digital form answer identifier.
Returns Typed SDK error when the PDF cannot be downloaded.
Show child fields Original cause when available.
HTTP method when the error came from a request.
API path when the error came from a request.
Request identifier from X-Request-Id when supplied.
Fuel transaction records, summaries, vehicle fuel rows, cards, fuel types, and transaction assignment.
Routes, Sensors, and Cameras
Vehicle route history, temperature/humidity reports, sensor inventory, and camera event helpers.