{"id":16046,"date":"2025-06-30T08:24:12","date_gmt":"2025-06-30T05:24:12","guid":{"rendered":"https:\/\/www.fmsdocumentation.com\/api-%d0%b7%d0%b0-%d1%83%d0%bf%d1%80%d0%b0%d0%b2%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bd%d0%b0-%d0%b4%d1%80%d0%b0%d0%b9%d0%b2%d0%b5%d1%80%d0%b8\/"},"modified":"2025-06-30T08:34:42","modified_gmt":"2025-06-30T05:34:42","slug":"api-%d0%b7%d0%b0-%d1%83%d0%bf%d1%80%d0%b0%d0%b2%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bd%d0%b0-%d0%b4%d1%80%d0%b0%d0%b9%d0%b2%d0%b5%d1%80%d0%b8","status":"publish","type":"page","link":"https:\/\/www.fmsdocumentation.com\/bg\/api\/api-%d0%b7%d0%b0-%d1%83%d0%bf%d1%80%d0%b0%d0%b2%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bd%d0%b0-%d0%b4%d1%80%d0%b0%d0%b9%d0%b2%d0%b5%d1%80%d0%b8\/","title":{"rendered":"API \u0437\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438"},"content":{"rendered":"&#13;\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u0442\u0430 \u0446\u0435\u043b \u043d\u0430 API \u0437\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438 \u0435 \u0434\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0432\u0430 (\u0441\u044a\u0437\u0434\u0430\u0432\u0430, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430, \u0438\u0437\u0442\u0440\u0438\u0432\u0430) \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438.<\/p>&#13;\n&#13;\n<h4 class=\"wp-block-heading\">\u0421\u044a\u0437\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438<\/h4>&#13;\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;translatedWithWPMLTM&quot;:&quot;1&quot;,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\">POST \/management\/driver?version=1&amp;api_key=&lt;...&gt;\r\nHOST: api.fm-track.com\r\nContent-Type: application\/json;charset=UTF-8<br\/>\r\n \r\n \r\nBODY:\r\n    {\r\n    \"first_name\": \"Driver\",\r\n    \"last_name\": \"McDriver\",\r\n    \"address\": \"Lithuania, Vilnius\",\r\n    \"phone\": \"+3700000000\",\r\n    \"identifiers\": [\r\n        {\r\n            \"identifier\": \"343234323432342\",\r\n            \"type\": \"DLT\"\r\n        },\r\n        {\r\n            \"identifier\": \"0123456789\",\r\n            \"type\": \"TACHOGRAPH\"\r\n        },\r\n        {\r\n            \"identifier\": \"3AC64785D2FF\",\r\n            \"type\": \"WIRELESS\"\r\n        },\r\n        {\r\n            \"identifier\": \"123456789\",\r\n            \"type\": \"IBUTTON\"\r\n        }\r\n    ]\r\n}<\/pre>\r\n<\/div>\r\n&#13;\n<p>\u0422\u0430\u0437\u0438 \u0437\u0430\u044f\u0432\u043a\u0430 \u0438\u043c\u0430 \u0441\u043b\u0435\u0434\u043d\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438:<\/p>&#13;\n&#13;\n\n<table id=\"tablepress-163\" class=\"tablepress tablepress-id-163\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Parameter<\/th><th class=\"column-2\">Type<\/th><th class=\"column-3\">Array<\/th><th class=\"column-4\">Description<\/th><th class=\"column-5\">Required<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">version<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Version of the API<\/td><td class=\"column-5\">Yes<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">api_key<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">User identification key<\/td><td class=\"column-5\">Yes<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">first_name<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver\u2019s first name<br \/>\nMaximum length: 250<\/td><td class=\"column-5\">Yes<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">last_name<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver\u2019s last name<br \/>\nMaximum length: 250<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">address<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver's address<br \/>\nMaximum length: 250<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">phone<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver's telephone number<br \/>\nMaximum length: 30<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">identifiers<\/td><td class=\"column-2\">Array<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Container for identification codes<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">identifier<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">identifiers<\/td><td class=\"column-4\">Identification code<br \/>\nLength (TACHOGRAPH): 10-16<br \/>\nLength (DLT): 15-18<br \/>\nMaximum length (WIRELESS, IBUTTON): 20<br \/>\n<br \/>\nAll codes must be unique among all of the user's existing drivers.<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">type<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">identifiers<\/td><td class=\"column-4\">\tIdentification code type<br \/>\nPossible values:<br \/>\nDLT<br \/>\nTACHOGRAPH<br \/>\nWIRELESS<br \/>\nIBUTTON<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-163 from cache -->&#13;\n&#13;\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430 \u043e\u0442\u0433\u043e\u0432\u043e\u0440 \u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043f\u043e-\u0434\u043e\u043b\u0443:<\/p>&#13;\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\"> {\r\n    \"id\": \"ABC123\",\r\n    \"first_name\": \"Driver\",\r\n    \"last_name\": \"McDriver\",\r\n    \"address\": \"Lithuania, Vilnius\",\r\n    \"phone\": \"+3700000000\",\r\n    \"identifiers\": [\r\n        {\r\n            \"identifier\": \"343234323432342\",\r\n            \"type\": \"DLT\"\r\n        },\r\n        {\r\n            \"identifier\": \"0123456789\",\r\n            \"type\": \"TACHOGRAPH\"\r\n        },\r\n        {\r\n            \"identifier\": \"3AC64785D2FF\",\r\n            \"type\": \"WIRELESS\"\r\n        },\r\n        {\r\n            \"identifier\": \"123456789\",\r\n            \"type\": \"IBUTTON\"\r\n        }\r\n    ]\r\n}<\/pre>\r\n<\/div>\r\n<p><p class=\"note\">\u0417\u0430\u0431\u0435\u043b\u0435\u0436\u043a\u0430<br \/>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u0431\u0435\u0437 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0438 \u0449\u0435 \u0431\u044a\u0434\u0430\u0442 \u043e\u0441\u0442\u0430\u0432\u0435\u043d\u0438 \u043f\u0440\u0430\u0437\u043d\u0438.<\/p>\n&#13;\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0430 \u0441\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438 \u0432 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430:<\/p>&#13;\n\n<table id=\"tablepress-160\" class=\"tablepress tablepress-id-160\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Parameter<\/th><th class=\"column-2\">Type<\/th><th class=\"column-3\">Array<\/th><th class=\"column-4\">Description<\/th><th class=\"column-5\">Units<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">id<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Driver identifier<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">first_name<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver\u2019s first name<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">last_name<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver\u2019s last name<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">address<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver's address<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">phone<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver's telephone number<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">identifiers<\/td><td class=\"column-2\">Array<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Container for identification codes<\/td><td class=\"column-5\"><\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">identifier<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">identifiers<\/td><td class=\"column-4\">Identification code<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">type<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">identifiers<\/td><td class=\"column-4\">Identification code type<br \/>\nPossible values:<br \/>\nDLT<br \/>\nTACHOGRAPH<br \/>\nWIRELESS<br \/>\nIBUTTON<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-160 from cache -->\n&#13;\n<p>\u041f\u043e-\u0434\u043e\u043b\u0443 \u0441\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0438 \u0437\u0430 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0438 \u043d\u0430 \u043d\u0435\u043a\u043e\u0440\u0435\u043a\u0442\u043d\u0438 \u0437\u0430\u044f\u0432\u043a\u0438:<\/p>&#13;\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\">{\r\n    \"code\": 409,\r\n    \"message\": \"Another driver with identifier [123456789] already exists.\"\r\n}<\/pre>\r\n<\/div>\r\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\">{\r\n    \"code\": 422,\r\n    \"message\": \"Validation failed, see 'fieldValidationErrors' for more details\",\r\n    \"field_validation_errors\": [\r\n        {\r\n            \"field\": \"phone\",\r\n            \"reason\": \"size must be between 0 and 30\",\r\n            \"rejected_value\": \"13245678903216549870123456789032123212321\"\r\n        },\r\n        {\r\n            \"field\": \"identifiers\",\r\n            \"reason\": \"length for IBUTTON must be between 1 and 20\",\r\n            \"rejected_value\": \"[identifier: 1351465465413241324134135135135135413.2132463521321525555, type: IBUTTON]\"\r\n        },\r\n        {\r\n            \"field\": \"firstName\",\r\n            \"reason\": \"must not be empty\",\r\n            \"rejected_value\": \"&lt;null value&gt;\"\r\n        }\r\n    ]\r\n}<\/pre>\r\n<\/div>\r\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\">{\r\n    \"code\": 422,\r\n    \"message\": \"Validation failed, see 'fieldValidationErrors' for more details\",\r\n    \"field_validation_errors\": [\r\n        {\r\n            \"field\": \"identifiers\",\r\n            \"reason\": \"There can only be one entry for each identifier type.\",\r\n            \"rejected_value\": \"[{ identifier: abc, type: IBUTTON }, { identifier: fgs, type: IBUTTON }, { identifier: 1234567A, type: IBUTTON }, { identifier: 1234567A1234567A, type: TACHOGRAPH }, { identifier: 1234567A1234F, type: TACHOGRAPH }]\"\r\n        }\r\n    ]\r\n}<\/pre>\r\n<\/div>\r\n&#13;\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u0433\u0440\u0435\u0448\u043a\u0438\u0442\u0435 \u0441\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438 \u0432 \u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430:<\/p>&#13;\n&#13;\n\n<table id=\"tablepress-164\" class=\"tablepress tablepress-id-164\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Parameter<\/th><th class=\"column-2\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">code<\/td><td class=\"column-2\">Validation error code<br \/>\nPossible values:<br \/>\n409 - another driver with the same identifier already exists<br \/>\n422 - the value is invalid<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">message<\/td><td class=\"column-2\">Error message:<br \/>\nPossible values:<br \/>\nAnother driver with identifier [<identifier>] already exists (error code 409)<br \/>\nValidation failed, see 'fieldValidationErrors' for more details (error code 422)<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">field_validation_errors<\/td><td class=\"column-2\">Array for validation errors<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">field<\/td><td class=\"column-2\">The field with invalid value(s)<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">reason<\/td><td class=\"column-2\">Why the value is invalid. Refer to the parameter description for accepted parameter value ranges.<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">rejected_value<\/td><td class=\"column-2\">The rejected value(s)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-164 from cache -->&#13;\n&#13;\n<h4 class=\"wp-block-heading\">\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438<\/h4>&#13;\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\">PUT \/management\/driver\/{driverId}?version=1&amp;api_key=&lt;...&gt;\r\nHOST: api.fm-track.com\r\nContent-Type: application\/json;charset=UTF-8\r\n \r\n \r\nBODY:\r\n    {\r\n    \"first_name\": \"Driver\",\r\n    \"last_name\": \"McDriver\",\r\n    \"address\": \"Lithuania, Vilnius\",\r\n    \"phone\": \"+3700000000\",\r\n   \t\"identifiers\": [\r\n        {\r\n            \"identifier\": \"343234323432342\",\r\n            \"type\": \"DLT\"\r\n        },\r\n        {\r\n            \"identifier\": \"0123456789\",\r\n            \"type\": \"TACHOGRAPH\"\r\n        },\r\n        {\r\n            \"identifier\": \"3AC64785D2FF\",\r\n            \"type\": \"WIRELESS\"\r\n        },\r\n        {\r\n            \"identifier\": \"123456789\",\r\n            \"type\": \"IBUTTON\"\r\n        }\r\n    ]\r\n}<\/pre>\r\n<\/div>\r\n&#13;\n<p>\u0422\u0430\u0437\u0438 \u0437\u0430\u044f\u0432\u043a\u0430 \u0438\u043c\u0430 \u0441\u043b\u0435\u0434\u043d\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438:<\/p>&#13;\n&#13;\n\n<table id=\"tablepress-165\" class=\"tablepress tablepress-id-165\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Parameter<\/th><th class=\"column-2\">Type<\/th><th class=\"column-3\">Array<\/th><th class=\"column-4\">Description<\/th><th class=\"column-5\">Required<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">driverId<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Driver identifier<\/td><td class=\"column-5\">Yes<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">version<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Version of the API<\/td><td class=\"column-5\">Yes<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">api_key<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">User identification key<\/td><td class=\"column-5\">Yes<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">first_name<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver\u2019s first name<br \/>\nMaximum length: 250<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">last_name<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver\u2019s last name<br \/>\nMaximum length: 250<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">address<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver's address<br \/>\nMaximum length: 250<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">phone<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver's telephone number<br \/>\nMaximum length: 30<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">identifiers<\/td><td class=\"column-2\">Array<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Container for identification codes<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">identifier<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">identifiers<\/td><td class=\"column-4\">\tIdentification code<br \/>\nLength (TACHOGRAPH): 10-16<br \/>\nLength (DLT): 15-18<br \/>\nMaximum length (WIRELESS, IBUTTON): 20<br \/>\n<br \/>\nAll codes must be unique among all of the user's existing drivers.<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<tr class=\"row-11\">\n\t<td class=\"column-1\">type<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">identifiers<\/td><td class=\"column-4\">Identification code type<br \/>\nPossible values:<br \/>\nDLT<br \/>\nTACHOGRAPH<br \/>\nWIRELESS<br \/>\nIBUTTON<\/td><td class=\"column-5\">No<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-165 from cache -->&#13;\n<p><p class=\"note\">\u0417\u0430\u0431\u0435\u043b\u0435\u0436\u043a\u0430<br \/>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u0431\u0435\u0437 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0438 \u0449\u0435 \u0431\u044a\u0434\u0430\u0442 \u043e\u0441\u0442\u0430\u0432\u0435\u043d\u0438 \u043f\u0440\u0430\u0437\u043d\u0438.<\/p>\n&#13;\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430 \u043e\u0442\u0433\u043e\u0432\u043e\u0440 \u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043f\u043e-\u0434\u043e\u043b\u0443:<\/p>&#13;\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\"> {\r\n    \"id\": \"ABC123\",\r\n    \"first_name\": \"Driver\",\r\n    \"last_name\": \"McDriver\",\r\n    \"address\": \"Lithuania, Vilnius\",\r\n    \"phone\": \"+3700000000\",\r\n    \"identifiers\": [\r\n        {\r\n            \"identifier\": \"343234323432342\",\r\n            \"type\": \"DLT\"\r\n        },\r\n        {\r\n            \"identifier\": \"0123456789\",\r\n            \"type\": \"TACHOGRAPH\"\r\n        },\r\n        {\r\n            \"identifier\": \"3AC64785D2FF\",\r\n            \"type\": \"WIRELESS\"\r\n        },\r\n        {\r\n            \"identifier\": \"123456789\",\r\n            \"type\": \"IBUTTON\"\r\n        }\r\n    ]\r\n}<\/pre>\r\n<\/div>\r\n&#13;\n\n<table id=\"tablepress-160-no-2\" class=\"tablepress tablepress-id-160\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Parameter<\/th><th class=\"column-2\">Type<\/th><th class=\"column-3\">Array<\/th><th class=\"column-4\">Description<\/th><th class=\"column-5\">Units<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">id<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Driver identifier<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">first_name<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver\u2019s first name<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">last_name<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver\u2019s last name<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">address<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver's address<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">phone<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">The driver's telephone number<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">identifiers<\/td><td class=\"column-2\">Array<\/td><td class=\"column-3\"><\/td><td class=\"column-4\">Container for identification codes<\/td><td class=\"column-5\"><\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">identifier<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">identifiers<\/td><td class=\"column-4\">Identification code<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">type<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">identifiers<\/td><td class=\"column-4\">Identification code type<br \/>\nPossible values:<br \/>\nDLT<br \/>\nTACHOGRAPH<br \/>\nWIRELESS<br \/>\nIBUTTON<\/td><td class=\"column-5\">Text<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-160-no-2 from cache -->&#13;\n&#13;\n<p>\u041f\u043e-\u0434\u043e\u043b\u0443 \u0441\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0438 \u0437\u0430 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0438 \u043d\u0430 \u043d\u0435\u043a\u043e\u0440\u0435\u043a\u0442\u043d\u0438 \u0437\u0430\u044f\u0432\u043a\u0438:<\/p>&#13;\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\">{\r\n    \"code\": 409,\r\n    \"message\": \"Another driver with identifier [123456789] already exists.\"\r\n}<\/pre>\r\n<\/div>\r\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\">{\r\n    \"code\": 422,\r\n    \"message\": \"Validation failed, see 'fieldValidationErrors' for more details\",\r\n    \"field_validation_errors\": [\r\n        {\r\n            \"field\": \"phone\",\r\n            \"reason\": \"size must be between 0 and 30\",\r\n            \"rejected_value\": \"13245678903216549870123456789032123212321\"\r\n        },\r\n        {\r\n            \"field\": \"identifiers\",\r\n            \"reason\": \"length for IBUTTON must be between 1 and 20\",\r\n            \"rejected_value\": \"[identifier: 1351465465413241324134135135135135413.2132463521321525555, type: IBUTTON]\"\r\n        },\r\n        {\r\n            \"field\": \"firstName\",\r\n            \"reason\": \"must not be empty\",\r\n            \"rejected_value\": \"&lt;null value&gt;\"\r\n        }\r\n    ]\r\n}<\/pre>\r\n<\/div>\r\n\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JSON&quot;,&quot;modeName&quot;:&quot;json&quot;}\">{\r\n    \"code\": 422,\r\n    \"message\": \"Validation failed, see 'fieldValidationErrors' for more details\",\r\n    \"field_validation_errors\": [\r\n        {\r\n            \"field\": \"identifiers\",\r\n            \"reason\": \"There can only be one entry for each identifier type.\",\r\n            \"rejected_value\": \"[{ identifier: abc, type: IBUTTON }, { identifier: fgs, type: IBUTTON }, { identifier: 1234567A, type: IBUTTON }, { identifier: 1234567A1234567A, type: TACHOGRAPH }, { identifier: 1234567A1234F, type: TACHOGRAPH }]\"\r\n        }\r\n    ]\r\n}<\/pre>\r\n<\/div>\r\n&#13;\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u0433\u0440\u0435\u0448\u043a\u0438\u0442\u0435 \u0441\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438 \u0432 \u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430:<\/p>&#13;\n&#13;\n\n<table id=\"tablepress-164-no-2\" class=\"tablepress tablepress-id-164\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Parameter<\/th><th class=\"column-2\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">code<\/td><td class=\"column-2\">Validation error code<br \/>\nPossible values:<br \/>\n409 - another driver with the same identifier already exists<br \/>\n422 - the value is invalid<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">message<\/td><td class=\"column-2\">Error message:<br \/>\nPossible values:<br \/>\nAnother driver with identifier [<identifier>] already exists (error code 409)<br \/>\nValidation failed, see 'fieldValidationErrors' for more details (error code 422)<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">field_validation_errors<\/td><td class=\"column-2\">Array for validation errors<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">field<\/td><td class=\"column-2\">The field with invalid value(s)<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">reason<\/td><td class=\"column-2\">Why the value is invalid. Refer to the parameter description for accepted parameter value ranges.<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">rejected_value<\/td><td class=\"column-2\">The rejected value(s)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-164-no-2 from cache -->&#13;\n&#13;\n<h4 class=\"wp-block-heading\">\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435 \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438<\/h4>&#13;\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">&#13;\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application\/json&quot;,&quot;theme&quot;:&quot;dracula&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">DELETE \/management\/driver\/{driverId}?version=1&amp;api_key=&lt;...&gt;&#13;\nHOST: api.fm-track.com&#13;\nContent-Type: application\/json;charset=UTF-8&#13;\n    &#13;\nBODY:        &#13;\n{&#13;\n\"id\": \"abc123\"&#13;\n}<\/pre>&#13;\n<\/div>&#13;\n<p>The following parameters are mandatory for this request:<\/p>&#13;\n&#13;\n\n<table id=\"tablepress-159\" class=\"tablepress tablepress-id-159\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Parameter<\/th><th class=\"column-2\">Type<\/th><th class=\"column-3\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">driverId<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">Driver identifier<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">version<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">Version of the API<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">api_key<\/td><td class=\"column-2\">String<\/td><td class=\"column-3\">User identification key<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\"><\/td><td class=\"column-2\"><\/td><td class=\"column-3\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-159 from cache -->&#13;\n<hr class=\"wp-block-separator\" \/>&#13;\n<p><div class=\"alignleft\"><a href=\"https:\/\/www.fmsdocumentation.com\/bg\/api\/api-%d0%bd%d0%b0-%d0%b4%d1%80%d0%b0%d0%b9%d0%b2%d0%b5%d1%80%d0%b0-v2\/\" title=\"API \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 v2\"><span class=\"arrow\">\u2039 &nbsp <\/span> API \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 v2 <\/a><\/div><div class=\"alignright\"><a href=\"https:\/\/www.fmsdocumentation.com\/bg\/api\/api-%d0%b7%d0%b0-%d0%b8%d1%81%d1%82%d0%be%d1%80%d0%b8%d1%8f-%d0%bd%d0%b0-%d1%81%d1%8a%d0%b1%d0%b8%d1%82%d0%b8%d1%8f%d1%82%d0%b0\/\" title=\"API \u0437\u0430 \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043d\u0430 \u0441\u044a\u0431\u0438\u0442\u0438\u044f\u0442\u0430\">API \u0437\u0430 \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043d\u0430 \u0441\u044a\u0431\u0438\u0442\u0438\u044f\u0442\u0430 <span class=\"arrow\"> &nbsp\u203a <\/span> <\/a><\/div><\/p>&#13;\n","protected":false},"excerpt":{"rendered":"<p>&#13; \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u0442\u0430 \u0446\u0435\u043b \u043d\u0430 API \u0437\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438 \u0435 \u0434\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0432\u0430 (\u0441\u044a\u0437\u0434\u0430\u0432\u0430, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430, \u0438\u0437\u0442\u0440\u0438\u0432\u0430) \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438. &#13; &#13; \u0421\u044a\u0437\u0434\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438 &#13; &#13; \u0422\u0430\u0437\u0438 \u0437\u0430\u044f\u0432\u043a\u0430 \u0438\u043c\u0430 \u0441\u043b\u0435\u0434\u043d\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438: &#13; &#13; &#13; &#13; \u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430 \u043e\u0442\u0433\u043e\u0432\u043e\u0440 \u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043f\u043e-\u0434\u043e\u043b\u0443: &#13; &#13; \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u043e\u0442\u0433\u043e\u0432\u043e\u0440\u0430 \u0441\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438 \u0432 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430: &#13; &#13; \u041f\u043e-\u0434\u043e\u043b\u0443 \u0441\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0438 \u0437\u0430 &hellip; <a href=\"https:\/\/www.fmsdocumentation.com\/bg\/api\/api-%d0%b7%d0%b0-%d1%83%d0%bf%d1%80%d0%b0%d0%b2%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bd%d0%b0-%d0%b4%d1%80%d0%b0%d0%b9%d0%b2%d0%b5%d1%80%d0%b8\/\" class=\"more-link\">\u041d\u0430\u0442\u0430\u0442\u044a\u043a <span class=\"screen-reader-text\">API \u0437\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0438<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"parent":17348,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-16046","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/pages\/16046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/comments?post=16046"}],"version-history":[{"count":1,"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/pages\/16046\/revisions"}],"predecessor-version":[{"id":16067,"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/pages\/16046\/revisions\/16067"}],"up":[{"embeddable":true,"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/pages\/17348"}],"wp:attachment":[{"href":"https:\/\/www.fmsdocumentation.com\/bg\/wp-json\/wp\/v2\/media?parent=16046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}