How does the fields parameter work? How to get result from this item?
Table of Contents |
---|
Fields
The field[s] to include in the response comma separated, 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 Per object = field: value, …
Samples
Code Block | ||
---|---|---|
| ||
# 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
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|