{"info":{"_postman_id":"83399335-9cde-46a9-b3ed-a4d9acb6afc1","name":"Auto Helper Bot","description":"<html><head></head><body><p>REST API по обмену данными между Auto Helper Bot и пользователем</p>\n<p>REST API for data exchange between Auto Helper Bot and user</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5733376","collectionId":"83399335-9cde-46a9-b3ed-a4d9acb6afc1","publishedId":"T1Dv7uU8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-31T19:27:07.000Z"},"item":[{"name":"Reports","item":[{"name":"checkAutocheckReport","id":"c0b765b0-174a-4442-8053-38fa29fe3143","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://autohelperbot.com/api/check-autocheck/WAUGFAFCXGN007486","description":"<p>Проверка существования Autocheck по VIN коду</p>\n<p>Checking the existence of Autocheck by VIN code</p>\n","urlObject":{"protocol":"https","path":["api","check-autocheck","WAUGFAFCXGN007486"],"host":["autohelperbot","com"],"query":[],"variable":[]}},"response":[{"id":"85bb078d-7399-495c-9f0c-472a85c511c2","name":"get autocheck report","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://autohelperbot.com/api/check-autocheck/WAUGFAFCXGN007486"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 31 Jul 2020 10:05:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"phpdebugbar-id","value":"X71cb1b0c35701aa57baa27c5e5243ccd"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"0445ee76510000823baa21f200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5bb68036ef32823b-KBP"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Autocheck report found\",\n    \"status\": \"success\"\n}"}],"_postman_id":"c0b765b0-174a-4442-8053-38fa29fe3143"},{"name":"checkCarfaxReport","id":"57a947b7-c954-489a-be23-3f1a55430630","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"8d0be6af0047f92896991219abdea7a50b870597847a524e75e25b5997bcf001"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://autohelperbot.com/api/check-carfax/2T3BFREV8GW498776","description":"<p>Проверка существования Carfax по VIN коду</p>\n<p>Checking the existence of Carfax by VIN code</p>\n","urlObject":{"protocol":"https","path":["api","check-carfax","2T3BFREV8GW498776"],"host":["autohelperbot","com"],"query":[],"variable":[]}},"response":[{"id":"cca59999-3057-417b-8a6b-3e92a1e598d6","name":"checkCarfaxReport","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://autohelperbot.com/api/check-carfax/2T3BFREV8GW498776"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 31 Jul 2020 10:05:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"phpdebugbar-id","value":"X02669cedc22eae1cd6291f2d43775c46"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"0445ee3df40000823baa165200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5bb67fdcb998823b-KBP"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Carfax report found\",\n    \"status\": \"success\"\n}"}],"_postman_id":"57a947b7-c954-489a-be23-3f1a55430630"},{"name":"getAutocheckReport","id":"bb2b5b14-b4a7-41ea-bf3d-903e676ba2c2","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://autohelperbot.com/api/get-autocheck/JTEBU5JR4F5220501","description":"<p>Получение Autocheck по VIN коду</p>\n<p><strong>Отчет приходит на callback url</strong></p>\n<p>Getting Autocheck by VIN code<br /><strong>Report comes to callback url</strong></p>\n","urlObject":{"protocol":"https","path":["api","get-autocheck","JTEBU5JR4F5220501"],"host":["autohelperbot","com"],"query":[],"variable":[]}},"response":[{"id":"3e2045fa-9498-4dfc-9318-c95d0f42909b","name":"getAutocheckReport","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://autohelperbot.com/api/get-autocheck/JTEBU5JR4F5220501"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 31 Jul 2020 15:33:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"phpdebugbar-id","value":"Xc73bbfe111b460c250ffd25274cb9125"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"04471b310700003270ba9e3200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5bb86161a9b43270-KBP"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"pending\",\n    \"report\": \"autocheck\",\n    \"balance\": 10,\n    \"vin_code\": \"JTEBU5JR4F5220501\",\n    \"order_token\": \"1b14270c6753bd914374b46da72de805\"\n}"}],"_postman_id":"bb2b5b14-b4a7-41ea-bf3d-903e676ba2c2"},{"name":"getCarfaxReport","id":"06723461-0db8-4fe2-8036-d5953b70658a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://autohelperbot.com/api/get-carfax/WAUA4AF46KA115284","description":"<p>Получение Carfax по VIN коду</p>\n<p><strong>Отчет приходит на callback url</strong></p>\n<p>Getting Carfax by VIN code<br /><strong>Report comes to callback url</strong></p>\n","urlObject":{"protocol":"https","path":["api","get-carfax","WAUA4AF46KA115284"],"host":["autohelperbot","com"],"query":[],"variable":[]}},"response":[{"id":"3b5de588-edbd-47ba-b753-8eaceb0087b5","name":"getCarfaxReport","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://autohelperbot.com/api/get-carfax/WAUA4AF46KA115284"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 31 Jul 2020 15:36:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"phpdebugbar-id","value":"X2f6ebad5d92c9922b25c101b48ad7562"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"04471dc24900003270ba993200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5bb8657d4de83270-KBP"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"pending\",\n    \"report\": \"carfax\",\n    \"balance\": 9,\n    \"vin_code\": \"WAUA4AF46KA115284\",\n    \"order_token\": \"5206f403412100ce75028369f6f8927f\"\n}"}],"_postman_id":"06723461-0db8-4fe2-8036-d5953b70658a"},{"name":"callback_url","id":"d0089287-f8a4-44db-bd5a-f779a9b24251","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"callback_url","description":"<p>Пример пакета данных отправленного пользователю на callback_url PDF или HTML отчета который находится в поле data и закодирован в base64.</p>\n<p>An example of a data packet sent to the user on the callback_url PDF or HTML report that is in the data field and encoded in base64.</p>\n","urlObject":{"host":["callback_url"],"query":[],"variable":[]}},"response":[{"id":"9bdb16cf-1b2b-4dd6-a91b-fac11a714a0a","name":"sendReport","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"callback_url"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\":\"success\",\n    \"report\":\"carfax\",\n    \"balance\":10,\n    \"vin_code\":\"WAUA4AF46KA115284\",\n    \"order_token\":\"62859775975e429db9d6486ddafb4e37\",\n    \"data\":\"JVBERi0xLjcKCjQgMCBvYmoKPDwKL0JpdHNQZXJDb21wb25lbnQgOAovQ29sb3JTcGFjZSAvRGV2aWNlUkdCCi9GaWx0ZXIgL0RDVERlY29kZQovSGVpZ2h0IDIzNQovTGVuZ3RoIDgxMzMKL1N1YnR5cGUgL0ltYWdlCi9UeXBlIC9YT2JqZWN0Ci9XaWR0aCAyNTkKPj4Kc3RyZWFtCv\\/Y\\/+AAEEpGSUYAAQEBAGAAYAAA\\/9sAQwANCQoLCggNCwsLDw4NEBQhFRQSEhQoHR4YITAqMjEvKi4tNDtLQDQ4RzktLkJZQkdOUFRVVDM\\/XWNcUmJLU1RR\\/9sAQwEODw8UERQnFRUnUTYuNlFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVF......\",\n    \"type\":\"pdf\"\n}"}],"_postman_id":"d0089287-f8a4-44db-bd5a-f779a9b24251"}],"id":"a5a5ebc1-9b77-4a5f-a136-446b5d88d20c","description":"<p>Описание взаимодействия для получению отчетов Carfax и Autocheck</p>\n<p>VIN номер для тестирования отчетов - <strong>7FARW2H56JE022576</strong></p>\n<p>Description of interaction for receiving Carfax and Autocheck reports</p>\n<p>VIN number for testing reports - <strong>7FARW2H56JE022576</strong></p>\n","_postman_id":"a5a5ebc1-9b77-4a5f-a136-446b5d88d20c"},{"name":"getBalance","id":"236dbd7e-3f4e-497f-b510-72f3a1354412","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://autohelperbot.com/api/balance","description":"<p>Получение баланса пользователя</p>\n<p>Getting a user's balance</p>\n","urlObject":{"protocol":"https","path":["api","balance"],"host":["autohelperbot","com"],"query":[],"variable":[]}},"response":[{"id":"4c154b9d-e798-4c29-ab28-17e6d7993689","name":"getBalance","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"https://autohelperbot.com/api/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 31 Jul 2020 13:04:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"phpdebugbar-id","value":"Xc7b50f34bced07781231a05a7fa336a0"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"0446927ed60000822fc3834200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5bb786aafc3b822f-KBP"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"balance\": 14.5,\n    \"status\": \"success\"\n}"}],"_postman_id":"236dbd7e-3f4e-497f-b510-72f3a1354412"}],"variable":[{"key":"bot_token","value":"8d0be6af0047f92896991219abdea7a50b870597847a524e75e25b5997bcf001"}]}