Fields parameter

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

Fields

The field[s] to include in the response, use comma to separate multiple fields

Input

Fields = string, field[s]

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" },


Gerelateerde artikelen