{"info":{"_postman_id":"e34e655b-3ed8-41df-9c3e-558d4b9af2d7","name":"Final Project - Motor","description":"<html><head></head><body><h2 id=\"overview\">Overview</h2>\n<p>Motor is a comprehensive AI-powered car management system that helps users maintain and manage their vehicles intelligently. The platform leverages advanced technologies including Artificial Intelligence, Retrieval-Augmented Generation (RAG), and modern APIs to provide personalized car assistance and maintenance management.</p>\n<h3 id=\"key-features\">Key Features</h3>\n<ul>\n<li><p><strong>AI-Powered Car Assistance</strong>: Ask questions about your car using uploaded manuals</p>\n</li>\n<li><p><strong>Smart Maintenance Management</strong>: AI-generated maintenance schedules and reminders</p>\n</li>\n<li><p><strong>Document Management</strong>: Upload and manage car documents (registration, insurance, manuals)</p>\n</li>\n<li><p><strong>Vehicle Transfer System</strong>: Complete ownership transfer with service history</p>\n</li>\n<li><p><strong>Subscription-Based Access</strong>: Premium AI features with Pro/Enterprise plans</p>\n</li>\n<li><p><strong>Multi-Channel Notifications</strong>: WhatsApp and Email reminders</p>\n</li>\n</ul>\n<hr>\n<h2 id=\"نظرة-عامة\">نظرة عامة</h2>\n<p>موتر هو نظام شامل لإدارة السيارات مدعوم بالذكاء الاصطناعي يساعد المستخدمين في صيانة وإدارة مركباتهم بذكاء. تستفيد المنصة من التقنيات المتقدمة بما في ذلك الذكاء الاصطناعي، وتقنية RAG، وواجهات برمجة التطبيقات الحديثة لتقديم مساعدة شخصية للسيارات وإدارة الصيانة.</p>\n<h3 id=\"الميزات-الرئيسية\">الميزات الرئيسية</h3>\n<ul>\n<li><p><strong>مساعدة السيارة بالذكاء الاصطناعي</strong>: اطرح أسئلة حول سيارتك باستخدام الأدلة المرفوعة</p>\n</li>\n<li><p><strong>إدارة الصيانة الذكية</strong>: جداول صيانة وتذكيرات مُولدة بالذكاء الاصطناعي</p>\n</li>\n<li><p><strong>إدارة المستندات</strong>: رفع وإدارة مستندات السيارة (التسجيل، التأمين، الأدلة)</p>\n</li>\n<li><p><strong>نظام نقل المركبة</strong>: نقل ملكية كامل مع تاريخ الخدمة</p>\n</li>\n<li><p><strong>الوصول القائم على الاشتراك</strong>: ميزات ذكاء اصطناعي متميزة مع خطط Pro/Enterprise</p>\n</li>\n<li><p><strong>إشعارات متعددة القنوات</strong>: تذكيرات واتساب والبريد الإلكتروني</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"48075154","collectionId":"e34e655b-3ed8-41df-9c3e-558d4b9af2d7","publishedId":"2sB3HnJywW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-09T03:26:27.000Z"},"item":[{"name":"User","item":[{"name":"CRUD","item":[{"name":"Get All Users","id":"3bb0dd10-0260-4b63-8868-5293c7294c17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/users/get","description":"<p>Retrieves all users in the system.</p>\n","urlObject":{"path":["users","get"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3bb0dd10-0260-4b63-8868-5293c7294c17"},{"name":"Add User","id":"5a4ee0a5-1331-4038-90c0-b430b118bf2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phone\": \"+966535347890\",\r\n    \"name\": \"Faisal\",\r\n    \"email\": \"afisal01994@gmail.com\",\r\n    \"password\": \"1234\",\r\n    \"city\": \"Riyadh\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/users/register","description":"<p>This endpoint is to register a user</p>\n","urlObject":{"path":["users","register"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a4ee0a5-1331-4038-90c0-b430b118bf2f"},{"name":"Update User","id":"60ee95b8-77d6-400f-9686-6387b415e226","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phone\": \"+966535347890\",\r\n    \"name\": \"Ahmad\",\r\n    \"email\": \"faisal@example.com\",\r\n    \"password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/users/update/1","description":"<p>This endpoint is to edit the user's details</p>\n","urlObject":{"path":["users","update","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"60ee95b8-77d6-400f-9686-6387b415e226"},{"name":"Delete User","id":"fcbecac1-33a7-45fd-a87f-5b92b2501481","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/users/delete/1","description":"<p>This endpoint is to delete a user</p>\n","urlObject":{"path":["users","delete","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcbecac1-33a7-45fd-a87f-5b92b2501481"}],"id":"2e3bcc23-916d-493c-be96-53b120214c67","_postman_id":"2e3bcc23-916d-493c-be96-53b120214c67","description":""},{"name":"Extra Endpoints","item":[{"name":"[F} Upload Licesnse","id":"8d3b5f5b-0ddd-44c9-9185-6a62767476cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"02ce050c-34b5-43af-a835-268ea175c09b","src":"postman-cloud:///1f08b299-8080-4db0-b5d0-8f1a95247b1d"},{"key":"licenseExpiry","value":"2030-01-01","type":"text","uuid":"b40f0a9a-5f69-435e-b879-3b509853d7dc"}]},"url":"{{base_url}}/users/upload-license/1","description":"<p>This endpoint is to upload the user's licesense</p>\n","urlObject":{"path":["users","upload-license","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d3b5f5b-0ddd-44c9-9185-6a62767476cb"},{"name":"[F] Download License","id":"9a490e02-c2dc-4f63-acd8-18031f67290f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/users/download-license/1","description":"<p>This endpoint is to download the user's license</p>\n","urlObject":{"path":["users","download-license","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a490e02-c2dc-4f63-acd8-18031f67290f"},{"name":"[F] Delete License","id":"43953c84-b58b-4ff8-83e7-7c26edf2d5ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{base_url}}/users/delete-license/1","description":"<p>This endpoint is to delete the user's license</p>\n","urlObject":{"path":["users","delete-license","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43953c84-b58b-4ff8-83e7-7c26edf2d5ea"},{"name":"[A] Get user cars","id":"42c6b592-9879-40e9-b29d-e5953279a475","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{base_url}}/cars/get/user","description":"<p>This endpoint is to retrive all of the user's cars</p>\n","urlObject":{"path":["cars","get","user"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d86f7775-37c2-4ee7-a7bb-59a34babace2","name":"successfully / 200","originalRequest":{"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/cars/get/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 05 Sep 2025 20:15:49 GMT"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"id\": 1,\n  \"make\": \"Toyota\",\n  \"model\": \"Camry\",\n  \"year\": 2020,\n  \"nickname\": \"MyCamry\",\n  \"mileage\": 45000,\n  \"vin\": \"1HGCM82633A123456\",\n  \"purchaseDate\": \"2022-05-10\",\n  \"registrationFileUrl\": null,\n  \"registrationExpiry\": null,\n  \"insuranceFileUrl\": null,\n  \"insuranceEndDate\": null,\n  \"maintenances\": [\n   {\n    \"id\": 2,\n    \"recordType\": \"MAINTENANCE\",\n    \"serviceType\": \"Oil Change\",\n    \"serviceDate\": \"2025-09-01\",\n    \"mileage\": 120000,\n    \"notes\": \"Changed oil + filter\",\n    \"invoiceFileUrl\": \"https://example.com/invoice123.pdf\",\n    \"invoiceAmount\": 149.99,\n    \"createdAt\": \"2025-09-05T23:12:52.693623\",\n    \"updatedAt\": \"2025-09-05T23:12:52.693652\"\n   }\n  ],\n  \"reminders\": [],\n  \"createdAt\": \"2025-09-05T22:04:32.272334\",\n  \"updatedAt\": \"2025-09-05T22:04:32.272381\"\n },\n {\n  \"id\": 3,\n  \"make\": \"Toyota\",\n  \"model\": \"Camry\",\n  \"year\": 2020,\n  \"nickname\": \"MyCamry\",\n  \"mileage\": 45000,\n  \"vin\": \"1HGCM82633A223456\",\n  \"purchaseDate\": \"2022-05-10\",\n  \"registrationFileUrl\": null,\n  \"registrationExpiry\": null,\n  \"insuranceFileUrl\": null,\n  \"insuranceEndDate\": null,\n  \"maintenances\": [],\n  \"reminders\": [],\n  \"createdAt\": \"2025-09-05T23:15:17.633208\",\n  \"updatedAt\": \"2025-09-05T23:15:17.633233\"\n }\n]"}],"_postman_id":"42c6b592-9879-40e9-b29d-e5953279a475"},{"name":"[A] Get Subscription type","id":"7aa5c159-2aa8-4ff2-adf9-e0b400b3bb5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/users/1/subscription","description":"<p>This endpoint is to retrive the user's subscription type</p>\n","urlObject":{"path":["users","1","subscription"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7aa5c159-2aa8-4ff2-adf9-e0b400b3bb5d"}],"id":"ef7da016-1f01-4af6-be26-6120106223e9","_postman_id":"ef7da016-1f01-4af6-be26-6120106223e9","description":""}],"id":"6702340b-e003-4864-a2a4-97eb621990eb","description":"<p>All endpoints related to the user</p>\n","_postman_id":"6702340b-e003-4864-a2a4-97eb621990eb"},{"name":"Car","item":[{"name":"CRUD","item":[{"name":"Get All Cars","id":"94ffdfc7-7b15-441e-af9f-03ab6b2b2828","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/cars/get","description":"<p>This endpoint is to retrive all cars</p>\n","urlObject":{"path":["cars","get"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"94ffdfc7-7b15-441e-af9f-03ab6b2b2828"},{"name":"Add Car","id":"2740d31e-fabe-4990-b2d1-d55ce2737a5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"make\": \"Nissan\",\r\n    \"model\": \"Altima\",\r\n    \"year\": 2022,\r\n    \"nickname\": \"Faisal's Car\",\r\n    \"mileage\": 2500,\r\n    \"vin\": \"L2F3J5H4K55H6M26M\",\r\n    \"purchaseDate\": \"2025-07-21\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/cars/add","description":"<p>This endpoint is to register a new car</p>\n","urlObject":{"path":["cars","add"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2740d31e-fabe-4990-b2d1-d55ce2737a5b"},{"name":"Update Car","id":"55e0747a-cf3f-4daa-8f3b-7bcfaf6dbea6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"make\": \"Nissan\",\r\n    \"model\": \"Altima\",\r\n    \"year\": 2022,\r\n    \"nickname\": \"Abdulaziz's Car\",\r\n    \"mileage\": 2500,\r\n    \"vin\": \"L2F3J5H4K55H6M26M\",\r\n    \"purchaseDate\": \"2025-07-21\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/cars/update/1","description":"<p>This endpoint is to edit a car's details</p>\n","urlObject":{"path":["cars","update","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"55e0747a-cf3f-4daa-8f3b-7bcfaf6dbea6"},{"name":"Delete Car","id":"043f8b42-7920-4e21-bba7-d43de030f8d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/cars/delete/1","description":"<p>This endpoint is to delete a car</p>\n","urlObject":{"path":["cars","delete","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"043f8b42-7920-4e21-bba7-d43de030f8d8"}],"id":"5f7c64c3-b900-4a78-888e-0d47af82f162","_postman_id":"5f7c64c3-b900-4a78-888e-0d47af82f162","description":""},{"name":"Extra Endpoints","item":[{"name":"[F] Upload Registration","id":"d022583f-f42f-4367-bdd7-6c6f98836580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"54af80cd-14c0-46de-b8ee-4598da30d505","src":"postman-cloud:///1f08b29e-9271-4ce0-ad4e-35fd89362a2a"},{"key":"registrationExpiry","value":"2030-01-01","type":"text","uuid":"f78a1782-bf4b-4779-9f99-cd313be1f143"}]},"url":"{{base_url}}/cars/upload-registration/1","description":"<p>This endpoint is to upload a registration</p>\n","urlObject":{"path":["cars","upload-registration","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d022583f-f42f-4367-bdd7-6c6f98836580"},{"name":"[F] Download Registration","id":"8b2dbd2e-1f1e-4ad8-897f-12b60468ca03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/cars/download-registration/1","description":"<p>This endpoint is to download the user's</p>\n","urlObject":{"path":["cars","download-registration","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b2dbd2e-1f1e-4ad8-897f-12b60468ca03"},{"name":"[F] Delete Registration","id":"8053eed3-ce6f-444b-8c75-3ff79811148d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/cars/delete-registration/1","description":"<p>This endpoint is to delete a user's registration</p>\n","urlObject":{"path":["cars","delete-registration","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8053eed3-ce6f-444b-8c75-3ff79811148d"},{"name":"[F] Upload Insurance","id":"a0ffed25-f7a4-4c4c-94d0-13f04acc1dcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"4e1a7dd8-c9dd-484e-b367-28887f027487","src":"postman-cloud:///1f08b2d1-14e0-43c0-a6fa-7d362d89867c"},{"key":"insuranceEndDate","value":"2030-01-01","type":"text","uuid":"647385c1-e82f-471c-bbd1-7831550f5009"}]},"url":"{{base_url}}/cars/upload-insurance/1","description":"<p>This endpoint is to upload the user's insurance</p>\n","urlObject":{"path":["cars","upload-insurance","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0ffed25-f7a4-4c4c-94d0-13f04acc1dcb"},{"name":"[F] Download Insurance","id":"216188b2-0c79-4227-b7b1-01d0e3c0c646","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/cars/download-insurance/1","description":"<p>This endpoint is to download the user's insurance</p>\n","urlObject":{"path":["cars","download-insurance","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"216188b2-0c79-4227-b7b1-01d0e3c0c646"},{"name":"[F] Delete Insurance","id":"12c915a3-8ddc-4b2e-a2d6-8d4739b815f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{base_url}}/cars/delete-insurance/1","description":"<p>This endpoint is to delete the user's insurance</p>\n","urlObject":{"path":["cars","delete-insurance","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12c915a3-8ddc-4b2e-a2d6-8d4739b815f5"},{"name":"[M] Update Car Mileage","id":"77a55e74-425e-438a-9b17-c9856f604e26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"mileage\": 80000\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/cars/update/{{carId}}/mileage","description":"<p>Updates car mileage.</p>\n","urlObject":{"path":["cars","update","{{carId}}","mileage"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"77a55e74-425e-438a-9b17-c9856f604e26"},{"name":"[A] Get Cars number","id":"24274dbc-d620-4859-9b10-6fb372c9fd92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/cars/numbers/1","description":"<p>Gets the number of cars owned by a user.</p>\n","urlObject":{"path":["cars","numbers","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"24274dbc-d620-4859-9b10-6fb372c9fd92"},{"name":"[A] Get avg maintenance cost","id":"3c74f591-6fd4-4279-b0d4-7f6032b88a34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/cars/maintenance-cost/Toyota/Camry/yearly?minMileage=20000&maxMileage=80000","description":"<p>Retrieves average yearly maintenance cost for a specific car make/model within mileage range.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","cars","maintenance-cost","Toyota","Camry","yearly"],"host":["localhost"],"query":[{"key":"minMileage","value":"20000"},{"key":"maxMileage","value":"80000"}],"variable":[]}},"response":[],"_postman_id":"3c74f591-6fd4-4279-b0d4-7f6032b88a34"},{"name":"[A] Get Typical mileage","id":"0b5eb06c-2ab0-4a6e-948a-0c8377718448","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/cars/typical-mileage/Nissan/Altima","description":"<p>Gets typical mileage for a specific car make/model.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","cars","typical-mileage","Nissan","Altima"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b5eb06c-2ab0-4a6e-948a-0c8377718448"},{"name":"[A] Get visit frequency","id":"b29af241-08da-4345-a076-23215a6cbb83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/cars/visit-frequency/Nissan/Altima?minAge=3&maxAge=10","description":"<p>Gets maintenance visit frequency for a specific car make/model within age range.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","cars","visit-frequency","Nissan","Altima"],"host":["localhost"],"query":[{"key":"minAge","value":"3"},{"key":"maxAge","value":"10"}],"variable":[]}},"response":[],"_postman_id":"b29af241-08da-4345-a076-23215a6cbb83"},{"name":"[A] Delete user card","id":"75811d71-ee81-4e16-9dbc-6aa76bcfa15a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/users/1/card","description":"<p>Removes User's card</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","1","card"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"75811d71-ee81-4e16-9dbc-6aa76bcfa15a"}],"id":"b2647c95-68e2-4440-8dfb-62f12f702f8d","_postman_id":"b2647c95-68e2-4440-8dfb-62f12f702f8d","description":""}],"id":"068d921a-d03c-4fce-9b11-1d0725057bd7","description":"<p>This folder is related to the cars endpoints</p>\n","_postman_id":"068d921a-d03c-4fce-9b11-1d0725057bd7"},{"name":"Maintenance","item":[{"name":"CRUD","item":[{"name":"Get All Maintenances","id":"bb927efb-3db6-4f95-a02a-abaccfcea0bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{base_url}}/maintenances/get","description":"<p>Retrieves all maintenance records.</p>\n","urlObject":{"path":["maintenances","get"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"42dd0d09-fc3b-4821-b6ae-f4387227bd6b","name":"successfully / 200","originalRequest":{"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/maintenances/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 05 Sep 2025 20:16:17 GMT"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"id\": 2,\n  \"recordType\": \"MAINTENANCE\",\n  \"serviceType\": \"Oil Change\",\n  \"serviceDate\": \"2025-09-01\",\n  \"mileage\": 120000,\n  \"notes\": \"Changed oil + filter\",\n  \"invoiceFileUrl\": \"https://example.com/invoice123.pdf\",\n  \"invoiceAmount\": 149.99,\n  \"createdAt\": \"2025-09-05T23:12:52.693623\",\n  \"updatedAt\": \"2025-09-05T23:12:52.693652\"\n },\n {\n  \"id\": 3,\n  \"recordType\": \"MAINTENANCE\",\n  \"serviceType\": \"Oil Change\",\n  \"serviceDate\": \"2025-09-01\",\n  \"mileage\": 120000,\n  \"notes\": \"Changed oil + filter\",\n  \"invoiceFileUrl\": \"https://example.com/invoice123.pdf\",\n  \"invoiceAmount\": 149.99,\n  \"createdAt\": \"2025-09-05T23:16:10.801979\",\n  \"updatedAt\": \"2025-09-05T23:16:10.801995\"\n }\n]"}],"_postman_id":"bb927efb-3db6-4f95-a02a-abaccfcea0bf"},{"name":"Add Maintenance","id":"2007fd27-ebda-44e7-a4a7-8ecd410f731f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"recordType\": \"MAINTENANCE\",\r\n  \"serviceType\": \"Oil Change\",\r\n  \"serviceDate\": \"2025-09-06\",\r\n  \"mileage\": 12000,\r\n  \"notes\": \"Changed engine oil and oil filter\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/maintenances/add/1","description":"<p>Adds a new maintenance record for a specific car.</p>\n","urlObject":{"path":["maintenances","add","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2007fd27-ebda-44e7-a4a7-8ecd410f731f"},{"name":"Update Maintenance","id":"aaedcf50-6401-403d-ac7d-f9070b2286c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{base_url}}/maintenances/update/1","description":"<p>Updates a maintenance record.</p>\n","urlObject":{"path":["maintenances","update","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ca01a724-5897-4460-bd2e-417a72234612","name":"successfully / 200","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/maintenances/update/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 05 Sep 2025 19:05:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"Maintenance updated successfully\"\n}"}],"_postman_id":"aaedcf50-6401-403d-ac7d-f9070b2286c7"},{"name":"Delete Maintenance","id":"c8b1218d-8bf4-4cd0-b86e-b9a08ddec01e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/maintenances/delete/1","description":"<p>Deletes a maintenance record.</p>\n","urlObject":{"path":["api","v1","maintenances","delete","1"],"host":["{{baseURL1}}"],"query":[],"variable":[]}},"response":[{"id":"1272fc19-0917-4834-8c76-1f7b2db05673","name":"no-content / 204","originalRequest":{"method":"DELETE","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/maintenances/delete/1"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Sep 2025 19:05:39 GMT"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c8b1218d-8bf4-4cd0-b86e-b9a08ddec01e"}],"id":"6f74b10b-6597-4d06-976a-e396c3c872a1","_postman_id":"6f74b10b-6597-4d06-976a-e396c3c872a1","description":""},{"name":"Extra Endpoints","item":[{"name":"[F] Upload Invoice","id":"2730255e-1de8-4528-9fcc-d4934d7feda5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"83d71735-03b0-41e2-934c-8ca7ad3710d9","src":"postman-cloud:///1f08b323-9886-40b0-be27-a8941d894168"},{"key":"invoiceAmount","value":"210","type":"text","uuid":"4d5081f1-d198-4d4d-8eed-7b9e36d93365"}]},"url":"{{base_url}}/maintenances/upload-invoice/1","description":"<p>Uploads maintenance invoice.</p>\n","urlObject":{"path":["maintenances","upload-invoice","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2730255e-1de8-4528-9fcc-d4934d7feda5"},{"name":"[F] Download Invoice","id":"0bf81830-1d29-4b53-8f23-78fa70b96561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/maintenances/download-invoice/1","description":"<p>Downloads maintenance invoice.</p>\n","urlObject":{"path":["maintenances","download-invoice","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bf81830-1d29-4b53-8f23-78fa70b96561"},{"name":"[F] Delete Invoice","id":"5bed67c2-ef2a-4a71-b052-9058b9c8fcfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{base_url}}/maintenances/delete-invoice/1","description":"<p>Deletes maintenance invoice.</p>\n","urlObject":{"path":["maintenances","delete-invoice","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5bed67c2-ef2a-4a71-b052-9058b9c8fcfd"},{"name":"[A] Get car mintenances","id":"805ff783-f78b-4b0e-b413-35a1a9814643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{base_url}}/maintenances/get/1","description":"<p>Retrieves all maintenance records for a specific car.</p>\n","urlObject":{"path":["maintenances","get","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3e101a3d-0896-4915-9878-59e1a10382f3","name":"successfully / 200","originalRequest":{"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/maintenances/get/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 05 Sep 2025 20:31:00 GMT"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"id\": 3,\n  \"recordType\": \"MAINTENANCE\",\n  \"serviceType\": \"Oil Change\",\n  \"serviceDate\": \"2025-09-01\",\n  \"mileage\": 120000,\n  \"notes\": \"Changed oil + filter\",\n  \"invoiceFileUrl\": \"https://example.com/invoice123.pdf\",\n  \"invoiceAmount\": 149.99,\n  \"createdAt\": \"2025-09-05T23:16:10.801979\",\n  \"updatedAt\": \"2025-09-05T23:16:10.801995\"\n }\n]"}],"_postman_id":"805ff783-f78b-4b0e-b413-35a1a9814643"}],"id":"4373db6f-8ce7-4b01-89d3-9604cd922b62","_postman_id":"4373db6f-8ce7-4b01-89d3-9604cd922b62","description":""}],"id":"ac89e3e3-8d5a-47d4-bfcf-a3986525fcc9","_postman_id":"ac89e3e3-8d5a-47d4-bfcf-a3986525fcc9","description":""},{"name":"Reminders","item":[{"name":"CRUD","item":[{"name":"Get All Reminder","id":"8a8ba1a3-f6b4-455f-9be5-e8ca2a4e881c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{base_url}}/reminders/get","description":"<p>Retrieves all reminders.</p>\n","urlObject":{"path":["reminders","get"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"dd51022d-65a7-45e2-9c8a-9cf5a5f193d5","name":"successfully / 200","originalRequest":{"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/reminders/get"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 05 Sep 2025 20:29:25 GMT"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"8a8ba1a3-f6b4-455f-9be5-e8ca2a4e881c"},{"name":"Add Reminder","id":"4ed77044-3f1e-48d2-9a85-37ba663ddc17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"insomnia/11.5.0"}],"body":{"mode":"raw","raw":"{\r\n    \"type\": \"maintenance\",\r\n    \"dueDate\": \"2025-09-10\",\r\n    \"message\": \"Change the oil!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/reminders/add/1","description":"<p>Adds a new custom reminder for a specific car.</p>\n","urlObject":{"path":["reminders","add","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a9cc6483-5238-41bb-979a-fca98abc8ed2","name":"created / 201","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/reminders/add/3"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 05 Sep 2025 20:30:54 GMT"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"Reminder added successfully\"\n}"}],"_postman_id":"4ed77044-3f1e-48d2-9a85-37ba663ddc17"},{"name":"Update Reminder","id":"bb7ecdc6-674d-49c5-97d2-6c2c33aed45c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{base_url}}/reminders/update/1","description":"<p>Updates a reminder.</p>\n","urlObject":{"path":["reminders","update","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7d9f92fb-c6fc-433e-9aa1-44e5f33abb8b","name":"successfully / 200","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/reminders/update/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 05 Sep 2025 19:13:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"Reminder updated successfully\"\n}"}],"_postman_id":"bb7ecdc6-674d-49c5-97d2-6c2c33aed45c"},{"name":"Delete Reminder","id":"3ea02710-adad-4463-b732-271672b3a72a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{base_url}}/reminders/delete/1","description":"<p>Deletes a reminder.</p>\n","urlObject":{"path":["reminders","delete","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"eef3736c-1ae5-4525-833d-7d2cd0033c5f","name":"no-content / 204","originalRequest":{"method":"DELETE","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/reminders/delete/1"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Sep 2025 19:14:05 GMT"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3ea02710-adad-4463-b732-271672b3a72a"}],"id":"4f53e8c2-37d2-4c1a-b91e-1411358ac8e5","_postman_id":"4f53e8c2-37d2-4c1a-b91e-1411358ac8e5","description":""},{"name":"Extra Endpoints","item":[{"name":"[F] Generate Reminders","id":"4fde7ac9-c7b3-4e2f-8f5b-068bbaf75e2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/reminders/generate-maintenance/1","description":"<p>Generates AI-powered maintenance reminders for a specific car.</p>\n","urlObject":{"path":["reminders","generate-maintenance","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fde7ac9-c7b3-4e2f-8f5b-068bbaf75e2c"},{"name":"[A] Get car reminders","id":"8ea8ad4e-fae5-4325-9036-49195589fbd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{base_url}}/reminders/get/1","description":"<p>Retrieves all reminders for a specific car.</p>\n","urlObject":{"path":["reminders","get","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ae7f1eeb-50f4-467d-9101-e4e510e64196","name":"successfully / 200","originalRequest":{"method":"GET","header":[{"key":"User-Agent","value":"insomnia/11.5.0"}],"url":"{{baseURL1}}/api/v1/reminders/get/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 05 Sep 2025 20:31:05 GMT"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"id\": 3,\n  \"type\": \"insurance_expiry\",\n  \"dueDate\": \"2025-12-01\",\n  \"message\": \"Renew insurance before due date\",\n  \"isSent\": false,\n  \"createdAt\": \"2025-09-05T23:30:50.407596\",\n  \"updatedAt\": \"2025-09-05T23:30:50.407616\"\n },\n {\n  \"id\": 4,\n  \"type\": \"insurance_expiry\",\n  \"dueDate\": \"2025-12-01\",\n  \"message\": \"Renew insurance before due date\",\n  \"isSent\": false,\n  \"createdAt\": \"2025-09-05T23:30:54.633549\",\n  \"updatedAt\": \"2025-09-05T23:30:54.633587\"\n }\n]"}],"_postman_id":"8ea8ad4e-fae5-4325-9036-49195589fbd6"}],"id":"a040c5eb-5be9-4134-b169-fe4987abfb00","_postman_id":"a040c5eb-5be9-4134-b169-fe4987abfb00","description":""}],"id":"e68b3d3e-613c-4e62-9026-3502a330e1b6","_postman_id":"e68b3d3e-613c-4e62-9026-3502a330e1b6","description":""},{"name":"Marketing","item":[{"name":"CRUD","item":[{"name":"Get All Marketing","id":"d2fb214b-00df-4f25-8584-ef6dfcac775c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/marketing/get","description":"<p>Retrieves all marketing offers.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","marketing","get"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2fb214b-00df-4f25-8584-ef6dfcac775c"},{"name":"Add Marketing","id":"b0d85f29-7e04-402a-ae6a-1ec867121e13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Summer Discount on Car Accessories\",\r\n  \"offerType\": \"accessories\",\r\n  \"description\": \"Get 30% off on all car accessories during the summer season.\",\r\n  \"posterUrl\": \"https://example.com/posters/summer-accessories.png\",\r\n  \"startDate\": \"2025-06-01T00:00:00\",\r\n  \"endDate\": \"2025-09-01T23:59:59\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/marketing/add","description":"<p>Creates a new marketing offer.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","marketing","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0d85f29-7e04-402a-ae6a-1ec867121e13"},{"name":"Update Marketing","id":"295459bb-0486-4965-b83d-28fbc2b751da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Free Car Insurance Checkup\",\r\n  \"offerType\": \"insurance\",\r\n  \"description\": \"Get a free car insurance checkup with our new service package.\",\r\n  \"posterUrl\": \"https://example.com/posters/free-insurance-checkup.png\",\r\n  \"startDate\": \"2025-07-01T09:00:00\",\r\n  \"endDate\": \"2025-07-31T23:59:59\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/marketing/update/{{id}}","description":"<p>Updates a marketing offer.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","marketing","update","{{id}}"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"295459bb-0486-4965-b83d-28fbc2b751da"},{"name":"Delete Marketing","id":"ae140089-fb80-4e52-ab08-6c1157951718","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/marketing/delete/{{id}}","description":"<p>Deletes a marketing offer.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","marketing","delete","{{id}}"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ae140089-fb80-4e52-ab08-6c1157951718"}],"id":"6f850b44-0f06-4281-81e0-f07146493e1c","_postman_id":"6f850b44-0f06-4281-81e0-f07146493e1c","description":""},{"name":"Extra Endpoints","item":[],"id":"fffdac17-b9a1-4c2e-bd9a-5632fd556a22","_postman_id":"fffdac17-b9a1-4c2e-bd9a-5632fd556a22","description":""}],"id":"54d814a5-f462-4d8e-9aa7-3e297a72c754","_postman_id":"54d814a5-f462-4d8e-9aa7-3e297a72c754","description":""},{"name":"Payment","item":[{"name":"[F] Subscribe","id":"89e7b8d6-3794-4d7c-a90e-1094b01175f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"John Doe\",\r\n    \"number\": \"4201320111111010\",\r\n    \"cvc\": \"123\",\r\n    \"month\": \"01\",\r\n    \"year\": \"25\",\r\n    \"currency\": \"SAR\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/payments/subscription/user/1/plan/pro/billing/monthly","description":"<p>Creates a subscription payment for a user.</p>\n","urlObject":{"path":["payments","subscription","user","1","plan","pro","billing","monthly"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89e7b8d6-3794-4d7c-a90e-1094b01175f6"},{"name":"[M] Payment Status","id":"dc03c6f1-9019-4bb5-910f-216639ee1d99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/payments/payment/1","description":"<p>Retrieves payment status by ID.</p>\n","urlObject":{"path":["payments","payment","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc03c6f1-9019-4bb5-910f-216639ee1d99"},{"name":"[F] Payment By Id","id":"8dadbb5d-6f15-4f2b-ad36-77370217ae34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/payments/payment/1","description":"<p>Retrieves payment by ID.</p>\n","urlObject":{"path":["payments","payment","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8dadbb5d-6f15-4f2b-ad36-77370217ae34"},{"name":"[F] Cancel Subscription","id":"90e5bef0-fedb-43ba-a696-455d95a89b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/payments/subscription/1/cancel","description":"<p>Cancels a user's subscription.</p>\n","urlObject":{"path":["payments","subscription","1","cancel"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"90e5bef0-fedb-43ba-a696-455d95a89b4f"},{"name":"[F] Subscription Status","id":"b3a5d214-9a08-4230-b097-75199f38d368","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/payments/subscription/1/status","description":"<p>Retrieves subscription status for a user.</p>\n","urlObject":{"path":["payments","subscription","1","status"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3a5d214-9a08-4230-b097-75199f38d368"},{"name":"[F] Expiring Subscriptions","id":"2b9d63b0-5d0b-44be-8667-8fe02cb3487c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/payments/subscription/expiring","description":"<p>Retrieves subscriptions that are expiring soon.</p>\n","urlObject":{"path":["payments","subscription","expiring"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b9d63b0-5d0b-44be-8667-8fe02cb3487c"}],"id":"9c57179d-c96e-4fb2-ba38-f4a51788c909","_postman_id":"9c57179d-c96e-4fb2-ba38-f4a51788c909","description":""},{"name":"S3","item":[{"name":"[F] Upload","id":"18e90634-079b-4862-a625-264908a62aa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"8a9e55c8-64a0-4924-a2e2-57a6436618a3","src":"postman-cloud:///1f08a676-5502-40a0-bdf5-0ba3522a3e1d"}]},"url":"{{base_url}}/s3/upload","description":"<p>Uploads a file to S3 storage.</p>\n","urlObject":{"path":["s3","upload"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"18e90634-079b-4862-a625-264908a62aa9"},{"name":"[F] Download","id":"7564000d-79bf-4ef9-b88a-eaa3679aadca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/s3/download/wheel.png","description":"<p>Downloads a file from S3 storage.</p>\n","urlObject":{"path":["s3","download","wheel.png"],"host":["{{base_url}}"],"query":[{"disabled":true,"key":"filename","value":"wheel.png"}],"variable":[]}},"response":[],"_postman_id":"7564000d-79bf-4ef9-b88a-eaa3679aadca"}],"id":"96c328d0-e93a-4097-908e-f991c2975853","_postman_id":"96c328d0-e93a-4097-908e-f991c2975853","description":""},{"name":"CarTransferRequest","item":[{"name":"[M] Create a direct transfer request (email + mobile)","id":"7697122b-67cf-4d28-9037-cbb33b7909ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/transfer-requests/direct/{{carId}}/{{toEmail}}/{{toPhone}}","description":"<p>Creates a transfer request using email and phone.</p>\n","urlObject":{"path":["transfer-requests","direct","{{carId}}","{{toEmail}}","{{toPhone}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7697122b-67cf-4d28-9037-cbb33b7909ce"},{"name":"[M] Accept transfer request","id":"b15acc89-4a1b-4794-a3d7-790ac7fb317d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/transfer-requests/{{id}}/accept","description":"<p>Accepts a transfer request.</p>\n","urlObject":{"path":["transfer-requests","{{id}}","accept"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b15acc89-4a1b-4794-a3d7-790ac7fb317d"},{"name":"[M] Transfer request rejected","id":"60134843-3e6b-4c03-8544-e6e7a4e4955e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/transfer-requests/{{id}}/reject","description":"<p>Rejects a transfer request.</p>\n","urlObject":{"path":["transfer-requests","{{id}}","reject"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"60134843-3e6b-4c03-8544-e6e7a4e4955e"},{"name":"[M] Cancel transfer request","id":"2f5e5093-893a-4fb7-ba92-3a2a8269d6d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/transfer-requests/{{id}}/cancel","description":"<p>Cancels a transfer request.</p>\n","urlObject":{"path":["transfer-requests","{{id}}","cancel"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f5e5093-893a-4fb7-ba92-3a2a8269d6d6"},{"name":"[M] Fetch one request","id":"76b6bb96-bc01-4ae6-9d91-dab32ebe86f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/transfer-requests/{{id}}","description":"<p>Retrieves details of a specific transfer request.</p>\n","urlObject":{"path":["transfer-requests","{{id}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76b6bb96-bc01-4ae6-9d91-dab32ebe86f9"},{"name":"[M] Requests incoming by the user","id":"3b9f72ce-2100-4ba6-841e-0c0771556d2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/transfer-requests/incoming","description":"<p>Retrieves incoming transfer requests for the user.</p>\n","urlObject":{"path":["transfer-requests","incoming"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b9f72ce-2100-4ba6-841e-0c0771556d2c"},{"name":"[M] Outgoing requests to the user","id":"564f95b0-9b7e-4a21-af75-a0af50cdb5ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/transfer-requests/outgoing","description":"<p>Retrieves outgoing transfer requests from the user.</p>\n","urlObject":{"path":["transfer-requests","outgoing"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"564f95b0-9b7e-4a21-af75-a0af50cdb5ee"},{"name":"[M] For requests by car","id":"33b0e4e2-9bf7-470f-89d6-8195c31ba74b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/transfer-requests/by-car/{{carId}}","description":"<p>Retrieves transfer requests for a specific car.</p>\n","urlObject":{"path":["transfer-requests","by-car","{{carId}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33b0e4e2-9bf7-470f-89d6-8195c31ba74b"},{"name":"[M] Requests by status","id":"7821b486-a6dd-4641-9fe3-b269f6ea6950","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/transfer-requests/by-status/{{status}}","description":"<p>Retrieves transfer requests by status.</p>\n","urlObject":{"path":["transfer-requests","by-status","{{status}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7821b486-a6dd-4641-9fe3-b269f6ea6950"}],"id":"cc16b273-5b52-4b19-b818-e98cf09d5880","_postman_id":"cc16b273-5b52-4b19-b818-e98cf09d5880","description":""},{"name":"Ask Catalog (RAG)","item":[{"name":"[F] Add your catalog","id":"4085e2ce-6805-4d61-a55b-54f17ec3ced3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"405e5173-462a-45d0-9b71-13a4f3c8b4d1","src":"postman-cloud:///1f08a661-7984-4dc0-9758-71227b420d19"}]},"url":"{{base_url}}/car-ai/upload-manual/1","description":"<p>Uploads car manual -if user's car doesn't have one on the system- for AI processing (Subscription required).</p>\n","urlObject":{"path":["car-ai","upload-manual","1"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4085e2ce-6805-4d61-a55b-54f17ec3ced3"},{"name":"[F] car info","id":"2767beb1-78d9-410e-bbd9-b2a0c1a88ab6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/car-ai/car/1/info","description":"<p>Ask AI questions about your car using uploaded manuals (Subscription required).</p>\n","urlObject":{"path":["car-ai","car","1","info"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2767beb1-78d9-410e-bbd9-b2a0c1a88ab6"},{"name":"[F] Ask your catalog","id":"f80dd463-2496-404f-9bcb-9cb8fd37e456","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/car-ai/ask/1?question=how  many liters are the fuel tank","description":"<p>Retrieves AI-processed car information (Subscription required).</p>\n","urlObject":{"path":["car-ai","ask","1"],"host":["{{base_url}}"],"query":[{"key":"question","value":"how  many liters are the fuel tank"}],"variable":[]}},"response":[],"_postman_id":"f80dd463-2496-404f-9bcb-9cb8fd37e456"},{"name":"[F] Get All Manuals","id":"a00ea77e-adae-4eee-95ad-8fa8486fb2ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/car-ai/admin/documents","description":"<p>Retrieves all uploaded manuals (Admin only).</p>\n","urlObject":{"path":["car-ai","admin","documents"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a00ea77e-adae-4eee-95ad-8fa8486fb2ad"},{"name":"[F] Search Manuals","id":"ab00e225-26eb-43d9-befa-9a94b17e7ca5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/car-ai/admin/search","description":"<p>Searches through uploaded manuals (Admin only).</p>\n","urlObject":{"path":["car-ai","admin","search"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab00e225-26eb-43d9-befa-9a94b17e7ca5"},{"name":"[F] Check if manual exist","id":"cf815327-9bfc-4670-8384-d8feb33b4899","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/car-ai/admin/check-document-exists?documentName=2025 Nissan Sentra owner-manual","description":"<p>Checks if a specific manual exists in the system.</p>\n","urlObject":{"path":["car-ai","admin","check-document-exists"],"host":["{{base_url}}"],"query":[{"key":"documentName","value":"2025 Nissan Sentra owner-manual"}],"variable":[]}},"response":[],"_postman_id":"cf815327-9bfc-4670-8384-d8feb33b4899"}],"id":"7bda7128-f457-4fb8-815e-ef2b3b986a74","_postman_id":"7bda7128-f457-4fb8-815e-ef2b3b986a74","description":""}]}