Vehicles

List of vehicles

Returns the Vehicles associated with the Fleet.

get/fleets/{fid}/vehicles

Request

Path parameters

fidstring required

Resource is related to this fleet ID only.

Query parameters

pageSizeinteger

The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60]

pageTokenstring

Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server).

localestring

Locale is used for rendering text according to language and country for. It should match the REGEX \w(-\w)?. For more details about possible standard values, please refer to locals list.

extensionstring[]

Additional data set that will be included in embedded field(the number of elements in this array must be between 1 and 2).

[
  "pictures"
]
vinPrefixstring

Allows filtering on VINs that start with the same prefix.

Response

OK

totalinteger required
totalPageinteger required
currentPageinteger required

Example response

{
  "_links": {
    "self": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "first": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "next": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "prev": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    },
    "last": {
      "href": "http://example.com",
      "deprecation": "http://example.com"
    }
  },
  "_embedded": {
    "vehicles": [
      {
        "_links": {
          "self": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "fleet": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "lastPosition": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "trips": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "maintenance": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "alerts": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "status": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "telemetry": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "monitors": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "remotes": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "callbacks": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          },
          "collisions": {
            "href": "http://example.com",
            "deprecation": "http://example.com"
          }
        },
        "id": "01234a91598cf0c57e856bb88003fd2a7f2c27f458faab8bbd34356235695902ffb6c4c5360d6714415ab92b07c8e33b5",
        "vin": "VF3ABCDE0FG123456",
        "motorization": "Thermic",
        "brand": "Peugeot",
        "pictures": [
          "https://visuel3d-secure.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP5C5ZNKAB0A0B0&color=0MM00N9V&trim=0PDB0RFX&OPT1=D180&OPT2=D190&OPT3=DD50&OPT4=DLZ0&OPT5=DVB1&view=001",
          "https://visuel3d-secure.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP5C5ZNKAB0A0B0&color=0MM00N9V&trim=0PDB0RFX&OPT1=D180&OPT2=D190&OPT3=DD50&OPT4=DLZ0&OPT5=DVB1&view=002"
        ],
        "_embedded": {
          "extension": {
            "branding": {
              "brand": "Peugeot"
            },
            "pictures": [
              "https://visuel3d-secure.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP5C5ZNKAB0A0B0&color=0MM00N9V&trim=0PDB0RFX&OPT1=D180&OPT2=D190&OPT3=DD50&OPT4=DLZ0&OPT5=DVB1&view=001",
              "https://visuel3d-secure.peugeot.com/V3DImage.ashx?client=miseco&format=png&back=0&version=1PP5C5ZNKAB0A0B0&color=0MM00N9V&trim=0PDB0RFX&OPT1=D180&OPT2=D190&OPT3=DD50&OPT4=DLZ0&OPT5=DVB1&view=002"
            ]
          }
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.