{"id":2368,"date":"2020-10-22T14:00:55","date_gmt":"2020-10-22T12:00:55","guid":{"rendered":"https:\/\/www.trans.eu\/api\/?p=2368"},"modified":"2025-12-29T11:01:43","modified_gmt":"2025-12-29T10:01:43","slug":"get-details-of-single-vehicle","status":"publish","type":"post","link":"https:\/\/www.trans.eu\/api\/fleet\/getting-lists-fleet\/get-details-of-single-vehicle\/","title":{"rendered":"Get details of single vehicle"},"content":{"rendered":"\n<p>Get details of sin\u00adgle exist\u00ading vehi\u00adcle.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Authorization and access<\/h2>\n\n\n\n<p>Autho\u00adriza\u00adtion process is described <a href=\"https:\/\/www.trans.eu\/api\/general-information\/authorization-process\/\" target=\"_blank\" rel=\"noopener\" title>here<\/a>. Each API request must also con\u00adsist of unique Api-key obtained dur\u00ading appli\u00adca\u00adtion reg\u00adis\u00adtra\u00adtion togeth\u00ader with client_id and client_secret.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Url parameters and connection settings<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>URL: <\/strong>https:\/\/api.platform.trans.eu<\/li>\n\n\n\n<li><strong>End\u00adpoint: <\/strong>\/ext\/fleet-api\/v1\/vehicles\/{id} (id eg. \u201c207fcf0e-3afc-4d6f-b4d2-bbe772e82199\u201d)<\/li>\n\n\n\n<li><strong>Http Method:<\/strong> GET<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Headers<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Accept: application\/json<\/li>\n\n\n\n<li>Con\u00adtent-type: application\/json<\/li>\n\n\n\n<li>Autho\u00adriza\u00adtion: Bear\u00ader {access_token}<\/li>\n\n\n\n<li>Api-key: {unique_ap\u00adp_api-key}<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Example response<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n    \"country\": \"pl\",\n    \"id\": 45101,\n    \"kind\": \"lorry\",\n    \"manufacturer\": \"VOLVO\",\n    \"model\": \"F10\",\n    \"name\": null,\n    \"registration_plate_number\": \"D0000000\",\n    \"specifications\": {\n        \"adr_classes\": [\n            \"adr_1\",\n            \"adr_1_2\"\n        ],\n        \"axle_amount\": 4,\n        \"cargo_space_capacity\": 24,\n        \"cargo_space_height\": 2.05,\n        \"cargo_space_length\": 5,\n        \"cargo_space_volume\": 21,\n        \"cargo_space_width\": 2.05,\n        \"combustion_level\": 25,\n        \"combustion_norm\": \"EURO 6\",\n        \"date_of_first_registration\": null,\n        \"engine_capacity\": 1900,\n        \"equipments\": [\n            \"gps\",\n            \"lift\",\n            \"adr\"\n        ],\n        \"fuel_type\": null,\n        \"pallets\": {\n            \"amount\": 5,\n            \"type\": \"europalette\"\n        },\n        \"permissible_axle_load\": 5,\n        \"permissible_total_weight\": 20,\n        \"permissible_trailer_weight\": 15,\n        \"vehicle_height\": 3,\n        \"vehicle_length\": 6,\n        \"vehicle_width\": 4,\n        \"ways_of_loading\": [\n            \"top\",\n            \"side\"\n        ],\n        \"year_of_production\": 2018\n    },\n    \"status\": \"ACTIVE\",\n    \"subtype\": \"food-tanker\",\n    \"type\": \"tanker\",\n    \"vehicle_id\": \"207fcf0e-3afc-4d6f-b4d2-bbe772e82199\",\n    \"vin\": \"123456789101112\"\n}<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"dont-break-out\">Get details of sin\u00adgle exist\u00ading vehi\u00adcle.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"wp_typography_post_enhancements_disabled":false,"footnotes":""},"categories":[118],"tags":[],"class_list":["post-2368","post","type-post","status-publish","format-standard","hentry","category-getting-lists-fleet"],"acf":[],"aioseo_notices":[],"lang":"en","translations":{"en":2368},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/2368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/comments?post=2368"}],"version-history":[{"count":3,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/2368\/revisions"}],"predecessor-version":[{"id":5529,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/2368\/revisions\/5529"}],"wp:attachment":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/media?parent=2368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/categories?post=2368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/tags?post=2368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}