Trip Interface Description 1.2.2 Help

Trailer API

A question of type trailer_api allows the user to select a trailer from a list of trailers.
The list of trailers is fetched from FleetControl and the local database.

{ "id": 0, "required": true, "type": "vehicle_api", "key": "vehicle_api", "label": "vehicle_api", "description": null, "answers": [ { "id": 0, "nextQuestionId": 1, "options": { "saveId": false } } ] }

Answer Options

This chapter describes the option possibilities for an answer.

Name

Type

Description

Required

Default

saveId

bool

If set to true, the internal database ID of the entity is saved

false

false

defaultValue

string

The default value

false

If saveId is set to true, this is the database ID of the selected trailer. If set to false, this is the name of the selected trailer.

Examples

Trailer API example

An example image for question_employee_api
{ "id": 0, "required": true, "type": "vehicle_api", "key": "vehicle_api", "label": "vehicle_api", "description": null, "answers": [ { "id": 0, "nextQuestionId": 1, "options": { "saveId": false } } ] }
Last modified: 04 June 2025