linxio-js
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.

reports.scheduled()

GET

List scheduled reports

/scheduled-reportlinxio.reports.scheduled(params)

Loads one page of scheduled reports.

Input

object
optional
Object parameter. Expand to see child parameters.
Show child parameters
number
optional
Number of reports to request.
number
optional
Page number to request.
Default: 1
LinxioFileFormat
optional
Optional file format filter when Linxio accepts it.
Possible enum values
csv

Comma-separated values export.

pdf

PDF export.

xlsx

Excel workbook export.

ISODateString
optional
Optional date range filters when supported by the report endpoint.

Returns

optional
Scheduled reports for the requested page.
Show child fields
LinxioFileFormat
optional
Report output format.
Possible enum values
csv

Comma-separated values export.

pdf

PDF export.

xlsx

Excel workbook export.

LinxioId
required
Scheduled report identifier.
string
optional
Scheduled report display name.
active | disabled | string
optional
Scheduled report status.
string
optional
Scheduled report type.
optional
Pagination metadata.
Show child fields
number
required
Page size.
number
required
Current page number.
number
required
Total matching record count.
optional
Typed SDK error when reports cannot be loaded.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

reports.scheduledTemplate()

GET

Get scheduled report template

/scheduled-report/templatelinxio.reports.scheduledTemplate()

Fetches the scheduled-report template used by the dashboard.

Input

void
optional
scheduledTemplate() does not take parameters.

Returns

LinxioRecord | null
optional
Dashboard template metadata. Shape can vary by tenant and enabled report types.
optional
Typed SDK error when the template cannot be loaded.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

reports.getScheduled()

GET

Get a scheduled report

/scheduled-report/{reportId}linxio.reports.getScheduled(reportId)

Fetches one scheduled report by ID.

Input

LinxioId
required
Scheduled report identifier.

Returns

optional
Scheduled report record.
Show child fields
LinxioFileFormat
optional
Report output format.
Possible enum values
csv

Comma-separated values export.

pdf

PDF export.

xlsx

Excel workbook export.

LinxioId
required
Scheduled report identifier.
string
optional
Scheduled report display name.
active | disabled | string
optional
Scheduled report status.
string
optional
Scheduled report type.
optional
Typed SDK error when the report cannot be loaded.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

reports.createScheduled()

POST

Create a scheduled report

/scheduled-reportlinxio.reports.createScheduled(payload)

Creates a scheduled report.

Input

object
optional
Object parameter. Expand to see child parameters.
Show child parameters
string
required
Scheduled report display name.
string
required
Report type accepted by Linxio.
LinxioFileFormat
required
Output format.
Possible enum values
csv

Comma-separated values export.

pdf

PDF export.

xlsx

Excel workbook export.

Record<string, unknown>
optional
Report-specific parameters such as recipients, schedule, date range, vehicle IDs, or filters.

Returns

optional
Created scheduled report.
Show child fields
LinxioFileFormat
optional
Report output format.
Possible enum values
csv

Comma-separated values export.

pdf

PDF export.

xlsx

Excel workbook export.

LinxioId
required
Scheduled report identifier.
string
optional
Scheduled report display name.
active | disabled | string
optional
Scheduled report status.
string
optional
Scheduled report type.
optional
Typed SDK error when creation fails.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

reports.updateScheduled()

PATCH

Update a scheduled report

/scheduled-report/{reportId}linxio.reports.updateScheduled(reportId, payload)

Updates a scheduled report.

Input

LinxioId
required
Scheduled report identifier.
required
Partial scheduled-report payload containing fields to change.
Show child parameters
LinxioFileFormat
required
Report output format.
Possible enum values
csv

Comma-separated values export.

pdf

PDF export.

xlsx

Excel workbook export.

string
required
Scheduled report display name.
Record<string, unknown>
optional
Report-specific parameter object.
string
required
Scheduled report type.

Returns

optional
Updated scheduled report.
Show child fields
LinxioFileFormat
optional
Report output format.
Possible enum values
csv

Comma-separated values export.

pdf

PDF export.

xlsx

Excel workbook export.

LinxioId
required
Scheduled report identifier.
string
optional
Scheduled report display name.
active | disabled | string
optional
Scheduled report status.
string
optional
Scheduled report type.
optional
Typed SDK error when update fails.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

reports.deleteScheduled()

DELETE

Delete a scheduled report

/scheduled-report/{reportId}linxio.reports.deleteScheduled(reportId)

Deletes a scheduled report.

Input

LinxioId
required
Scheduled report identifier.

Returns

void
optional
Undefined on success.
optional
Typed SDK error when delete fails.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

reports.restoreScheduled()

PATCH

Restore a scheduled report

/scheduled-report/{reportId}/restorelinxio.reports.restoreScheduled(reportId)

Restores a scheduled report when the dashboard-derived restore endpoint is available.

Input

LinxioId
required
Scheduled report identifier.

Returns

void
optional
Undefined on success.
optional
Typed SDK error when restore fails.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

digitalForms.list()

GET

List digital forms

/digital-form/formlinxio.digitalForms.list()

Lists digital forms visible to the authenticated account.

Input

void
optional
list() does not take parameters.

Returns

optional
Digital form records.
Show child fields
LinxioId
required
Digital form identifier.
string
optional
Digital form display name.
string
optional
Digital form status.
optional
Typed SDK error when forms cannot be loaded.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

digitalForms.get()

GET

Get a digital form

/digital-form/form/{formId}linxio.digitalForms.get(formId)

Fetches one digital form by ID.

Input

LinxioId
required
Digital form identifier.

Returns

optional
Digital form record.
Show child fields
LinxioId
required
Digital form identifier.
string
optional
Digital form display name.
string
optional
Digital form status.
optional
Typed SDK error when the form cannot be loaded.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

digitalForms.answer()

GET

Get a form answer

/digital-form/answer/{answerId}linxio.digitalForms.answer(answerId)

Fetches a digital form answer record.

Input

LinxioId
required
Digital form answer identifier.

Returns

LinxioRecord | null
optional
Digital form answer payload. Shape varies by form schema.
optional
Typed SDK error when the answer cannot be loaded.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

digitalForms.answerPdf()

GET

Download a form answer PDF

/digital-form/answer/{answerId}/pdflinxio.digitalForms.answerPdf(answerId)

Downloads a digital form answer as a PDF Blob.

Input

LinxioId
required
Digital form answer identifier.

Returns

Blob | null
optional
PDF binary data.
optional
Typed SDK error when the PDF cannot be downloaded.
Show child fields
string
required
Safe error message.
string
required
SDK error class name.
unknown
optional
Original cause when available.
string
optional
HTTP method when the error came from a request.
string
optional
API path when the error came from a request.
string
optional
Request identifier from X-Request-Id when supplied.

On this page