Autoflex
Was dit behulpzaam?

Fields parameter

How does the fields parameter work? How to get result from this item?

Fields

The fields to include in the response, use comma to separate multiple fields

Input

Fields = string, fields

The fields for this parameter must exist is the corresponding model

Output

Json

with root = data:

Per object = field: value, …

Samples

# Sample: a single field
model
Result:
{
  "data": [
    {
      "model": "MITO",
      "vehicle_id": "0086EC4F-B7E9-4021-90D0-DDEC53B2E559"
    },

# Sample: two fields
model,brand
Result:
{
  "data": [
    {
      "model": "MITO",
      "brand": "ALFA ROMEO",
      "vehicle_id": "0086EC4F-B7E9-4021-90D0-DDEC53B2E559"
    },