{"info":{"_postman_id":"76a1f07b-fd66-4304-bba0-59104b3f9bc8","name":"Mario's Towing Group Postman API","description":"<html><head></head><body><p>This API provides comprehensive backend services for managing users, data resources, and application functionality. It follows RESTful principles with JSON request/response format and implements standard HTTP status codes for clear communication. The API supports CRUD operations across multiple resource types with robust authentication and error handling mechanisms.</p>\n<p><strong>Key Features:</strong></p>\n<ul>\n<li><p>User authentication and authorization</p>\n</li>\n<li><p>Resource management with full CRUD operations</p>\n</li>\n<li><p>Paginated responses for large datasets</p>\n</li>\n<li><p>Comprehensive error handling with descriptive messages</p>\n</li>\n<li><p>Rate limiting for API protection</p>\n</li>\n<li><p>Request/response logging for debugging</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"44174648","collectionId":"76a1f07b-fd66-4304-bba0-59104b3f9bc8","publishedId":"2sB3QQHT4G","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"039BE5"},"publishDate":"2025-10-17T13:08:16.000Z"},"item":[{"name":"Login","event":[{"listen":"test","script":{"id":"76ff0a9b-6f9f-4872-b524-50858e514790","exec":["const response = pm.response.json();","","// Save dynamic fields as environment variables","pm.environment.set(\"Authorization\", response.data.token);","pm.environment.set(\"loginCode\", response.data.loginCode); // Adjust this path based on your actual JSON structure","","console.log(\"Token and userId saved to environment variables.\", response);"],"type":"text/javascript","packages":{}}}],"id":"6dfc1560-9ebc-46a0-9ab8-ef9dc415a902","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"john@example.com\",\n    \"password\": \"123456789\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-login/login","description":"<p>The API implements token-based authentication. Upon successful login, the system returns an access token and login code that must be included in subsequent API requests for authorization.</p>\n","urlObject":{"path":["customer-login","login"],"host":["https://sandbox.fleetcents.ca/api"],"query":[],"variable":[]}},"response":[{"id":"5791775e-3632-48fd-acfd-53b9d0c530cd","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"john@example.com\",\n    \"password\": \"123456789\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-login/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"loginCode=aARF; Path=/"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"321"},{"key":"ETag","value":"W/\"141-eUEVYCKdjXqQWFtY29o4FaxSm/M\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 27 May 2025 07:52:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"token\": \"{{vault:json-web-token}}\",\n        \"loginCode\": \"aARF\"\n    },\n    \"message\": \"Logged in successfully\",\n    \"messageCode\": \"1001\"\n}"},{"id":"3358d09e-2d0f-47d5-897f-faa59577c9c7","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"john@example.com\",\n    \"password\": \"123456789\"\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-login/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Mon, 16 Jun 2025 07:18:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"321"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"loginCode=0xrO; Path=/"},{"key":"ETag","value":"W/\"141-vg7xn1wkwsIWl+vUblY195J3Vd8\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"token\": \"{{vault:json-web-token}}\",\n        \"loginCode\": \"0xrO\"\n    },\n    \"message\": \"Logged in successfully\",\n    \"messageCode\": \"1001\"\n}"}],"_postman_id":"6dfc1560-9ebc-46a0-9ab8-ef9dc415a902"},{"name":"Save Service Request","id":"d89502e6-29d4-48f2-9ba2-55d52efe5977","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{    \n    \"zone\": \"684ae6cfbb32a8db13933c23\",\n    \"caller\": {\n        \"name\": \"Jonah Parker\",\n        \"phoneNumber\": \"0000000000\"\n    },\n    \"vehicle\": [{\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    }],\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-create","description":"<p>Initiates a new service request by capturing customer contact details and vehicle information. This endpoint enables customers to submit requests by providing their personal and vehicle data.  </p>\n<p>The inclusion of a <strong>Zone</strong> is mandatory. Valid territories can be retrieved using the <strong>User Profile</strong> API.</p>\n","urlObject":{"path":["customer-api","sr-create"],"host":["https://sandbox.fleetcents.ca/api"],"query":[],"variable":[]}},"response":[{"id":"a403794c-927d-439e-ad6f-98545c64871a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"loginCode","value":"•••••••","type":"text"},{"key":"Authorization","value":"•••••••","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"caller\": {\n        \"name\": \"Jonah Parker\",\n        \"phoneNumber\": \"0000000000\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"140"},{"key":"ETag","value":"W/\"8c-WUBDT1UrZSoX7MsRSHQNH/PSj5Y\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 27 May 2025 09:12:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"data\": {\n        \"autoNumber\": 8213,\n        \"_id\": \"683581e6a8ae783438c25faa\"\n    },\n    \"message\": \"Service request has been created\",\n    \"messageCode\": \"1023\"\n}"},{"id":"7db7c7f1-134c-46d8-a5d2-523e9cc0d807","name":"Error","originalRequest":{"method":"POST","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"caller\": {\n        \"name\": \"Abhishek\",\n        \"phoneNumber\": \"9999999999\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-create"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"102"},{"key":"ETag","value":"W/\"66-yjYGYwgUQ7Azy/ja5Z6tAkhhJgY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 27 May 2025 09:08:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageCode\": \"1679\",\n    \"status\": 500,\n    \"expose\": false,\n    \"message\": \"serviceRequestServiceObj is not defined\"\n}"},{"id":"5b953976-0c70-4511-b567-d764e833360a","name":"Save Service Request","originalRequest":{"method":"POST","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{    \n    \"zone\": \"671f98fad65cade7b6ade29b\",\n    \"caller\": {\n        \"name\": \"Jonah Haris\",\n        \"phoneNumber\": \"0000000000\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Mon, 16 Jun 2025 07:58:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"89-dXl6SxnmGlF3O6AeucFfZSpv1io\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"data\": {\n        \"autoNumber\": 8,\n        \"_id\": \"684fceb959ee562719934663\"\n    },\n    \"message\": \"Service request has been created\",\n    \"messageCode\": \"1023\"\n}"},{"id":"b9b1ae2e-42cf-4c8d-b1ae-dd9fe454ce26","name":"Save Service Request","originalRequest":{"method":"POST","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{    \n    \"zone\": \"671f98fad65cade7b6ade29b\",\n    \"caller\": {\n        \"name\": \"Jonah Haris\",\n        \"phoneNumber\": \"0000000000\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Mon, 16 Jun 2025 07:58:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"89-dXl6SxnmGlF3O6AeucFfZSpv1io\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"data\": {\n        \"autoNumber\": 8,\n        \"_id\": \"684fceb959ee562719934663\"\n    },\n    \"message\": \"Service request has been created\",\n    \"messageCode\": \"1023\"\n}"},{"id":"1a480f7b-5a27-4e2c-8c5c-65131d643a28","name":"Save Service Request","originalRequest":{"method":"POST","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{    \n    \"zone\": \"684ae6cfbb32a8db13933c23\",\n    \"caller\": {\n        \"name\": \"Jonah Parker\",\n        \"phoneNumber\": \"0000000000\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Mon, 16 Jun 2025 10:49:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"89-dLcFG4x6ja4SLcs+h/+SH1ujGfk\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"data\": {\n        \"autoNumber\": 7,\n        \"_id\": \"684ff6c259ee5627199359d7\"\n    },\n    \"message\": \"Service request has been created\",\n    \"messageCode\": \"1023\"\n}"},{"id":"7f0267df-9677-40a7-8152-212703b67988","name":"Save Service Request","originalRequest":{"method":"POST","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{    \n    \"zone\": \"684ae6cfbb32a8db13933c23\",\n    \"caller\": {\n        \"name\": \"Jonah Parker\",\n        \"phoneNumber\": \"0000000000\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"Hope BC, Canada\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Mon, 16 Jun 2025 10:49:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"89-dLcFG4x6ja4SLcs+h/+SH1ujGfk\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"data\": {\n        \"autoNumber\": 7,\n        \"_id\": \"684ff6c259ee5627199359d7\"\n    },\n    \"message\": \"Service request has been created\",\n    \"messageCode\": \"1023\"\n}"}],"_postman_id":"d89502e6-29d4-48f2-9ba2-55d52efe5977"},{"name":"Update Service Request","id":"ef08cfa8-66b9-472c-bd8e-9f8cd170d574","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zone\": \"684ae6cfbb32a8db13933c23\",\n    \"caller\": {\n        \"name\": \"James\",\n        \"phoneNumber\": \"2112111111\"\n    },\n    \"vehicle\": [{\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    }],\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-update/68f216dd49e046b8c7eb4996","description":"<p>Updates an existing service request by modifying customer contact information and vehicle details. This endpoint allows customers to edit their previously submitted service requests using the unique service request ID in the URL path.</p>\n","urlObject":{"path":["customer-api","sr-update","68f216dd49e046b8c7eb4996"],"host":["https://sandbox.fleetcents.ca/api"],"query":[],"variable":[]}},"response":[{"id":"cf694352-1632-4dcb-a4c6-117b84833142","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"caller\": {\n        \"name\": \"James\",\n        \"phoneNumber\": \"2112111111\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-update/684ae722bb32a8db13933c45"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"90"},{"key":"ETag","value":"W/\"5a-n0Amf7Qc07fi+8YxR58qPWWtZg8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 27 May 2025 09:15:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 202,\n    \"data\": {},\n    \"message\": \"Service request has been updated\",\n    \"messageCode\": \"1135\"\n}"},{"id":"20ea44dc-0bc1-49ad-9d55-df7b25c347a8","name":"Error","originalRequest":{"method":"PUT","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"caller\": {\n        \"name\": \"Abhishek\",\n        \"phoneNumber\": \"9999999999\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-update/68358299a8ae783438c2dd25"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"80"},{"key":"ETag","value":"W/\"50-s0iL5i/GNMnO23VGAOs0mpxt5YY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 27 May 2025 09:16:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Service request detail not found\",\n    \"messageCode\": \"1026\"\n}"},{"id":"d027b51d-b528-4bfd-8d06-f803c8682f95","name":"Update Service Request","originalRequest":{"method":"PUT","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zone\": \"684ae722bb32a8db13933c45\",\n    \"caller\": {\n        \"name\": \"James\",\n        \"phoneNumber\": \"2112111111\"\n    },\n    \"vehicle\": {\n        \"type\": \"passenger-vehicle\",\n        \"year\": \"2025\",\n        \"make\": \"Aston Martin\",\n        \"model\": \"Valhalla\",\n        \"color\": \"white\",\n        \"province\": \"British Columbia\",\n        \"makeId\": \"44\",\n        \"modelId\": \"5083\"\n    },\n    \"locations\": {\n        \"site\": {\n            \"type\": \"location\",\n            \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n            \"addressLine\": \"58 \",\n            \"city\": null,\n            \"state\": \"Hà Nội\",\n            \"zipcode\": \"10000\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    105.8038732,\n                    21.0383905\n                ]\n            },\n            \"note\": null,\n            \"yard\": null\n        },\n        \"to\": {\n            \"type\": \"location\",\n            \"yard\": null,\n            \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n            \"addressLine\": \"54 Manhattan\",\n            \"city\": \"New York\",\n            \"state\": \"New York\",\n            \"zipcode\": \"10012\",\n            \"geo\": {\n                \"type\": \"Point\",\n                \"coordinates\": [\n                    -73.99241789999999,\n                    40.7259475\n                ]\n            },\n            \"note\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-update/684ff6c259ee5627199359d7"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Mon, 16 Jun 2025 11:38:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"5a-n0Amf7Qc07fi+8YxR58qPWWtZg8\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 202,\n    \"data\": {},\n    \"message\": \"Service request has been updated\",\n    \"messageCode\": \"1135\"\n}"}],"_postman_id":"ef08cfa8-66b9-472c-bd8e-9f8cd170d574"},{"name":"Service Request List","id":"b9e36a72-0cf0-4a68-bda3-6e812f35311f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"start\": 0,\n\t\"length\": 30,\n\t\"search\": {\n\t\t\"searchField\": \"\",\n\t\t\"status\": [],\n\t\t\"territories\": null,\n\t\t\"invoiceStatus\": [\n\t\t\t\"\"\n\t\t],\n\t\t\"make\": \"\",\n\t\t\"model\": \"\",\n\t\t\"vin\": \"\",\n\t\t\"poNo\": \"\",\n\t\t\"type\": null,\n\t\t\"category\": null\n\t},\n\t\"sort\": {\n\t\t\"active\": \"serviceRequestNumber\",\n\t\t\"dir\": \"desc\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-list","description":"<p>Retrieves a paginated list of service requests based on specified search criteria and filters. This endpoint allows users to fetch multiple service requests with customizable pagination parameters and search functionality.</p>\n","urlObject":{"path":["customer-api","sr-list"],"host":["https://sandbox.fleetcents.ca/api"],"query":[],"variable":[]}},"response":[{"id":"8f087ffa-52a7-4c42-9219-6f853e605358","name":"Success","originalRequest":{"method":"POST","header":[{"key":"loginCode","value":"•••••••","type":"text"},{"key":"Authorization","value":"•••••••","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"start\": 0,\n\t\"length\": 30,\n\t\"search\": {\n\t\t\"searchField\": \"\",\n\t\t\"status\": [],\n\t\t\"territories\": null,\n\t\t\"invoiceStatus\": [\n\t\t\t\"\"\n\t\t],\n\t\t\"make\": \"\",\n\t\t\"model\": \"\",\n\t\t\"vin\": \"\",\n\t\t\"poNo\": \"\",\n\t\t\"type\": null,\n\t\t\"category\": null\n\t},\n\t\"sort\": {\n\t\t\"active\": \"serviceRequestNumber\",\n\t\t\"dir\": \"desc\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Mon, 16 Jun 2025 12:24:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"104"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"68-qWmFRj4oyLTIAPH8/+BABy3/qfE\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"list\": [],\n        \"recordsTotal\": 6,\n        \"recordsFiltered\": 0\n    },\n    \"message\": \"Service Requests List\"\n}"},{"id":"dd8763f5-ef56-4196-98ba-d01e460605f5","name":"Error","originalRequest":{"method":"POST","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"start\": 0,\n\t\"length\": 30,\n\t\"search\": {\n\t\t\"searchField\": \"\",\n\t\t\"status\": [],\n\t\t\"territorys\": null,\n\t\t\"invoiceStatus\": [\n\t\t\t\"\"\n\t\t],\n\t\t\"make\": \"\",\n\t\t\"model\": \"\",\n\t\t\"vin\": \"\",\n\t\t\"poNo\": \"\",\n\t\t\"type\": null,\n\t\t\"category\": null\n\t},\n\t\"sort\": {\n\t\t\"active\": \"serviceRequestNumber\",\n\t\t\"dir\": \"desc\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-list"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"86"},{"key":"ETag","value":"W/\"56-NBogj9x0DDt5iB2i6PmAIcq/LSE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 27 May 2025 09:22:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageCode\": \"1741\",\n    \"status\": 500,\n    \"expose\": false,\n    \"message\": \"commonFn is not defined\"\n}"}],"_postman_id":"b9e36a72-0cf0-4a68-bda3-6e812f35311f"},{"name":"Service Request Details","id":"4bc5900b-efb7-4693-992e-1bb272782d31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-detail/684ff6c259ee5627199359d7","description":"<p>Retrieves detailed information for a specific service request using its unique identifier. This endpoint provides comprehensive data about a single service request including customer details, location information, and request status.</p>\n","urlObject":{"path":["customer-api","sr-detail","684ff6c259ee5627199359d7"],"host":["https://sandbox.fleetcents.ca/api"],"query":[],"variable":[]}},"response":[{"id":"db7e4a12-8af4-426e-be58-89ad5b3bc575","name":"Success","originalRequest":{"method":"GET","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-detail/684ff6c259ee5627199359d7"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Mon, 16 Jun 2025 12:09:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"1940-b5UYVq3crfldsklDu5e73lyYCkM\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"_id\": \"684ff6c259ee5627199359d7\",\n        \"locations\": {\n            \"to\": {\n                \"type\": \"location\",\n                \"yard\": null,\n                \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n                \"addressLine\": \"54 Manhattan\",\n                \"city\": \"New York\",\n                \"state\": \"New York\",\n                \"zipcode\": \"10012\",\n                \"geo\": {\n                    \"type\": \"Point\",\n                    \"coordinates\": [\n                        -73.99241789999999,\n                        40.7259475\n                    ]\n                },\n                \"note\": null\n            },\n            \"site\": {\n                \"type\": \"location\",\n                \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n                \"addressLine\": \"58 \",\n                \"city\": null,\n                \"state\": \"Hà Nội\",\n                \"zipcode\": \"10000\",\n                \"geo\": {\n                    \"type\": \"Point\",\n                    \"coordinates\": [\n                        105.8038732,\n                        21.0383905\n                    ]\n                },\n                \"note\": null,\n                \"yard\": null\n            }\n        },\n        \"billing\": {\n            \"address\": {\n                \"fullAddress\": \"\"\n            }\n        },\n        \"isFutureService\": false,\n        \"futureServiceDate\": null,\n        \"isForcefullyConverted\": false,\n        \"currentSubRequest\": \"684ff6c259ee5627199359d8\",\n        \"primaryTerritory\": {\n            \"_id\": \"684ae722bb32a8db13933c45\",\n            \"name\": \"Kamploops\",\n            \"code\": \"KAM\",\n            \"color\": \"#9f27d5\",\n            \"squareLocationId\": \"LDDQ8HX4HBD7E\",\n            \"squareDeviceCodeList\": []\n        },\n        \"territorys\": [\n            {\n                \"_id\": \"684ae722bb32a8db13933c45\",\n                \"name\": \"Kamploops\",\n                \"code\": \"KAM\",\n                \"color\": \"#9f27d5\",\n                \"squareLocationId\": \"LDDQ8HX4HBD7E\",\n                \"squareDeviceCodeList\": []\n            }\n        ],\n        \"subRequest\": [\n            {\n                \"locations\": {\n                    \"to\": {\n                        \"type\": \"location\",\n                        \"yard\": null,\n                        \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n                        \"addressLine\": \"54 Manhattan\",\n                        \"city\": \"New York\",\n                        \"state\": \"New York\",\n                        \"zipcode\": \"10012\",\n                        \"geo\": {\n                            \"type\": \"Point\",\n                            \"coordinates\": [\n                                -73.99241789999999,\n                                40.7259475\n                            ]\n                        },\n                        \"note\": null\n                    },\n                    \"site\": {\n                        \"type\": \"location\",\n                        \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n                        \"addressLine\": \"58 \",\n                        \"city\": null,\n                        \"state\": \"Hà Nội\",\n                        \"zipcode\": \"10000\",\n                        \"geo\": {\n                            \"type\": \"Point\",\n                            \"coordinates\": [\n                                105.8038732,\n                                21.0383905\n                            ]\n                        },\n                        \"note\": null,\n                        \"yard\": null\n                    }\n                },\n                \"zone\": {\n                    \"_id\": \"684ae722bb32a8db13933c45\",\n                    \"name\": \"Kamploops\",\n                    \"code\": \"KAM\",\n                    \"color\": \"#9f27d5\",\n                    \"squareLocationId\": \"LDDQ8HX4HBD7E\",\n                    \"squareDeviceCodeList\": []\n                },\n                \"type\": \"location-to-location\",\n                \"status\": \"dispatch-waiting\",\n                \"date\": {\n                    \"request\": \"2025-06-16T10:49:38.892Z\"\n                },\n                \"statusChanges\": [\n                    {\n                        \"from\": \"new\",\n                        \"to\": \"dispatch-waiting\",\n                        \"date\": \"2025-06-16T10:49:38.921Z\",\n                        \"changedBy\": {\n                            \"_id\": \"684972b7b99080b299768940\",\n                            \"fullName\": \"John Doe\",\n                            \"email\": \"john@example.com\"\n                        },\n                        \"byAdmin\": true,\n                        \"_id\": \"684ff6c259ee5627199359e9\"\n                    }\n                ],\n                \"autoNumber\": 1,\n                \"_id\": \"684ff6c259ee5627199359d8\",\n                \"driverCommissions\": []\n            }\n        ],\n        \"customer\": [],\n        \"yardAllocationDetails\": null,\n        \"serviceVehicleDetail\": null,\n        \"zone\": {\n            \"_id\": \"684ae722bb32a8db13933c45\",\n            \"name\": \"Kamploops\",\n            \"code\": \"KAM\",\n            \"color\": \"#9f27d5\",\n            \"squareLocationId\": \"LDDQ8HX4HBD7E\",\n            \"squareDeviceCodeList\": []\n        },\n        \"service\": null,\n        \"invoiceDetails\": [],\n        \"suspense\": {\n            \"isSuspend\": false,\n            \"isRequested\": false,\n            \"isApproved\": false\n        },\n        \"inspection\": {\n            \"damages\": [],\n            \"previousDamagers\": [],\n            \"dropOffDamages\": []\n        },\n        \"inspectionAttachment\": null,\n        \"preReviewRequired\": false,\n        \"isUrgent\": false,\n        \"isYardRequest\": false,\n        \"yardClearRequestGenerated\": true,\n        \"rejectInfo\": [],\n        \"notes\": [],\n        \"driver\": null,\n        \"serviceVehicle\": null,\n        \"createdOn\": \"2025-06-16T10:49:38.915Z\",\n        \"updatedOn\": \"2025-06-16T11:41:15.687Z\",\n        \"attachments\": [],\n        \"insurance\": null,\n        \"status\": \"dispatch-waiting\",\n        \"vehicle\": {\n            \"type\": \"passenger-vehicle\",\n            \"year\": 2025,\n            \"make\": \"Aston Martin\",\n            \"model\": \"Valhalla\",\n            \"color\": \"white\",\n            \"province\": \"British Columbia\",\n            \"makeId\": \"44\",\n            \"modelId\": \"5083\"\n        },\n        \"caller\": {\n            \"name\": \"James\",\n            \"phoneNumber\": \"2112111111\"\n        },\n        \"driverInfo\": null,\n        \"receipt\": null,\n        \"date\": {\n            \"request\": \"2025-06-16T10:49:38.892Z\"\n        },\n        \"callNo\": null,\n        \"poNo\": null,\n        \"claimNo\": null,\n        \"receiptNo\": null,\n        \"clubCall\": null,\n        \"memberNo\": null,\n        \"appointment\": null,\n        \"autoNumber\": 7,\n        \"driverCommission\": [],\n        \"notifyToCustomer\": false,\n        \"notifyToCustomerChangedOn\": null,\n        \"questionAnswers\": [],\n        \"changes\": [\n            {\n                \"date\": \"2025-06-16T11:33:33.852Z\",\n                \"by\": {\n                    \"_id\": \"684972b7b99080b299768940\",\n                    \"fullName\": \"John Doe\",\n                    \"email\": \"john@example.com\",\n                    \"access\": \"admin_admin\"\n                },\n                \"fields\": [\n                    {\n                        \"label\": \"Caller Name\",\n                        \"path\": \"caller.name\",\n                        \"oldValue\": \"Jonah Parker\",\n                        \"newValue\": \"Chirag\",\n                        \"_id\": \"6850010d59ee56271993690a\"\n                    },\n                    {\n                        \"label\": \"Caller Phone number\",\n                        \"path\": \"caller.phoneNumber\",\n                        \"oldValue\": \"0000000000\",\n                        \"newValue\": \"9999999999\",\n                        \"_id\": \"6850010d59ee56271993690b\"\n                    },\n                    {\n                        \"label\": \"Service Zone\",\n                        \"path\": \"zone\",\n                        \"oldValue\": \"684ae6cfbb32a8db13933c23\",\n                        \"newValue\": \"66fa7c1877a81c5cd5dddeae\",\n                        \"_id\": \"6850010d59ee56271993690c\"\n                    },\n                    {\n                        \"label\": \"site location fullAddress\",\n                        \"path\": \"locations.site.fullAddress\",\n                        \"oldValue\": \"Hope BC, Canada\",\n                        \"newValue\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n                        \"_id\": \"6850010d59ee56271993690d\"\n                    },\n                    {\n                        \"label\": \"to location fullAddress\",\n                        \"path\": \"locations.to.fullAddress\",\n                        \"oldValue\": \"Hope BC, Canada\",\n                        \"newValue\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n                        \"_id\": \"6850010d59ee56271993690e\"\n                    }\n                ],\n                \"_id\": \"6850010d59ee562719936909\"\n            },\n            {\n                \"date\": \"2025-06-16T11:38:22.135Z\",\n                \"by\": {\n                    \"_id\": \"684972b7b99080b299768940\",\n                    \"fullName\": \"John Doe\",\n                    \"email\": \"john@example.com\",\n                    \"access\": \"admin_admin\"\n                },\n                \"fields\": [\n                    {\n                        \"label\": \"Caller Name\",\n                        \"path\": \"caller.name\",\n                        \"oldValue\": \"Chirag\",\n                        \"newValue\": \"James\",\n                        \"_id\": \"6850022e59ee562719936cec\"\n                    },\n                    {\n                        \"label\": \"Caller Phone number\",\n                        \"path\": \"caller.phoneNumber\",\n                        \"oldValue\": \"9999999999\",\n                        \"newValue\": \"2112111111\",\n                        \"_id\": \"6850022e59ee562719936ced\"\n                    },\n                    {\n                        \"label\": \"Service Zone\",\n                        \"path\": \"zone\",\n                        \"oldValue\": \"66fa7c1877a81c5cd5dddeae\",\n                        \"newValue\": \"684ae722bb32a8db13933c45\",\n                        \"_id\": \"6850022e59ee562719936cee\"\n                    }\n                ],\n                \"_id\": \"6850022e59ee562719936ceb\"\n            }\n        ],\n        \"isDriverRejected\": false,\n        \"isValidPermit\": true,\n        \"permit\": {\n            \"type\": []\n        },\n        \"selectedSuspenseUsersList\": [],\n        \"futureServiceReminderDate\": null,\n        \"isFutureServiceReminderSet\": false,\n        \"isFutureServiceReminderSended\": false,\n        \"prepaymentTransactions\": [],\n        \"totalPrepaymentAmount\": 0,\n        \"currentPrepaymentAmount\": 0,\n        \"capturedPrepaymentTotalAmount\": 0,\n        \"currentPrepaymentCapturedAmount\": 0,\n        \"currentPrepaymentRefundedAmount\": 0,\n        \"callRecording\": [],\n        \"isAskPhotos\": false,\n        \"customerVehicle\": null,\n        \"isSelectedPickUpLocationCheck\": false,\n        \"paymentType\": null,\n        \"authProfileId\": null,\n        \"cardNumber\": null,\n        \"charges\": {\n            \"serviceCharges\": [],\n            \"customCharges\": [],\n            \"subContractorCharges\": [],\n            \"yardCharges\": [],\n            \"miscellaneousCharges\": []\n        },\n        \"priceGroup\": \"666cbb8e72cfe8f1a0e7a479\",\n        \"priceGroupCategory\": \"665e0e7c7d60b864d9a25274\",\n        \"isNewSr\": true,\n        \"serviceType\": \"location-to-location\",\n        \"isAskLocation\": false,\n        \"customerDriverName\": null,\n        \"customerDriverPhone\": null,\n        \"vehicleHolds\": {\n            \"endDate\": null\n        },\n        \"vehicleHoldsDetails\": null,\n        \"isVehicleHolds\": null,\n        \"paymentGateway\": \"square\",\n        \"isInvoiceEnteredIntoPortal\": null,\n        \"isInvoicePrinted\": null,\n        \"intiateMessageId\": [],\n        \"yardKey\": false,\n        \"vehicleGvw\": null,\n        \"createdByPublicUser\": false,\n        \"isRunning\": true,\n        \"isInspection\": false,\n        \"shipDate\": null,\n        \"deliveryDate\": null,\n        \"isInvoicePaidOrPartialPaid\": false,\n        \"isNonVoidInvoiceExists\": false,\n        \"detailsOfInvoices\": []\n    },\n    \"message\": \"Service Request Detail\"\n}"},{"id":"1b474ed6-8c81-465e-b406-52a9edaea782","name":"Not-Found","originalRequest":{"method":"GET","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-detail/67d15571a65c018ecf807578"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"80"},{"key":"ETag","value":"W/\"50-s0iL5i/GNMnO23VGAOs0mpxt5YY\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Tue, 27 May 2025 09:46:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Service request detail not found\",\n    \"messageCode\": \"1026\"\n}"},{"id":"85aba22f-b08b-4e52-a6ba-66747147cef4","name":"Service Request Details","originalRequest":{"method":"GET","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-detail/684ff6c259ee5627199359d7"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Fri, 17 Oct 2025 11:21:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"1c07-0OTf+uktPgJoqKvj55Iab2hY5Dw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"_id\": \"684ff6c259ee5627199359d7\",\n        \"locations\": {\n            \"to\": {\n                \"type\": \"location\",\n                \"yard\": null,\n                \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n                \"addressLine\": \"54 Manhattan\",\n                \"city\": \"New York\",\n                \"state\": \"New York\",\n                \"zipcode\": \"10012\",\n                \"geo\": {\n                    \"type\": \"Point\",\n                    \"coordinates\": [\n                        -73.99241789999999,\n                        40.7259475\n                    ]\n                },\n                \"note\": null\n            },\n            \"site\": {\n                \"type\": \"location\",\n                \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n                \"addressLine\": \"58 \",\n                \"city\": null,\n                \"state\": \"Hà Nội\",\n                \"zipcode\": \"10000\",\n                \"geo\": {\n                    \"type\": \"Point\",\n                    \"coordinates\": [\n                        105.8038732,\n                        21.0383905\n                    ]\n                },\n                \"note\": null,\n                \"yard\": null\n            }\n        },\n        \"billing\": {\n            \"address\": {\n                \"fullAddress\": \"\"\n            }\n        },\n        \"isFutureService\": false,\n        \"futureServiceDate\": null,\n        \"isForcefullyConverted\": false,\n        \"currentSubRequest\": \"684ff6c259ee5627199359d8\",\n        \"primaryTerritory\": {\n            \"_id\": \"684ae722bb32a8db13933c45\",\n            \"name\": \"Kamploops\",\n            \"code\": \"KAM\",\n            \"color\": \"#9f27d5\",\n            \"settings\": {\n                \"driverCommissions\": 30\n            },\n            \"squareLocationId\": \"LDDQ8HX4HBD7E\",\n            \"squareDeviceCodeList\": [],\n            \"fontColor\": \"#ffffff\"\n        },\n        \"territorys\": [\n            {\n                \"_id\": \"684ae722bb32a8db13933c45\",\n                \"name\": \"Kamploops\",\n                \"code\": \"KAM\",\n                \"color\": \"#9f27d5\",\n                \"squareLocationId\": \"LDDQ8HX4HBD7E\",\n                \"squareDeviceCodeList\": [],\n                \"fontColor\": \"#ffffff\"\n            }\n        ],\n        \"subRequest\": [\n            {\n                \"locations\": {\n                    \"to\": {\n                        \"type\": \"location\",\n                        \"yard\": null,\n                        \"fullAddress\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n                        \"addressLine\": \"54 Manhattan\",\n                        \"city\": \"New York\",\n                        \"state\": \"New York\",\n                        \"zipcode\": \"10012\",\n                        \"geo\": {\n                            \"type\": \"Point\",\n                            \"coordinates\": [\n                                -73.99241789999999,\n                                40.7259475\n                            ]\n                        },\n                        \"note\": null\n                    },\n                    \"site\": {\n                        \"type\": \"location\",\n                        \"fullAddress\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n                        \"addressLine\": \"58 \",\n                        \"city\": null,\n                        \"state\": \"Hà Nội\",\n                        \"zipcode\": \"10000\",\n                        \"geo\": {\n                            \"type\": \"Point\",\n                            \"coordinates\": [\n                                105.8038732,\n                                21.0383905\n                            ]\n                        },\n                        \"note\": null,\n                        \"yard\": null\n                    }\n                },\n                \"drivers\": [],\n                \"serviceVehicles\": [],\n                \"zone\": {\n                    \"_id\": \"684ae722bb32a8db13933c45\",\n                    \"name\": \"Kamploops\",\n                    \"code\": \"KAM\",\n                    \"color\": \"#9f27d5\",\n                    \"squareLocationId\": \"LDDQ8HX4HBD7E\",\n                    \"squareDeviceCodeList\": [],\n                    \"fontColor\": \"#ffffff\"\n                },\n                \"type\": \"location-to-location\",\n                \"status\": \"dispatch-waiting\",\n                \"date\": {\n                    \"request\": \"2025-06-16T10:49:38.892Z\"\n                },\n                \"statusChanges\": [\n                    {\n                        \"from\": \"new\",\n                        \"to\": \"dispatch-waiting\",\n                        \"date\": \"2025-06-16T10:49:38.921Z\",\n                        \"changedBy\": {\n                            \"_id\": \"684972b7b99080b299768940\",\n                            \"fullName\": \"John Doe\",\n                            \"email\": \"john@example.com\"\n                        },\n                        \"byAdmin\": true,\n                        \"_id\": \"684ff6c259ee5627199359e9\"\n                    }\n                ],\n                \"autoNumber\": 1,\n                \"_id\": \"684ff6c259ee5627199359d8\",\n                \"driverCommissions\": []\n            }\n        ],\n        \"customer\": [],\n        \"yardAllocationDetails\": [],\n        \"serviceVehicleDetail\": [],\n        \"zone\": {\n            \"_id\": \"684ae722bb32a8db13933c45\",\n            \"name\": \"Kamploops\",\n            \"code\": \"KAM\",\n            \"color\": \"#9f27d5\",\n            \"squareLocationId\": \"LDDQ8HX4HBD7E\",\n            \"squareDeviceCodeList\": [],\n            \"fontColor\": \"#ffffff\"\n        },\n        \"service\": null,\n        \"invoiceDetails\": [],\n        \"suspense\": {\n            \"isSuspend\": false,\n            \"isRequested\": false,\n            \"isApproved\": false\n        },\n        \"inspection\": {\n            \"damages\": [],\n            \"previousDamagers\": [],\n            \"dropOffDamages\": []\n        },\n        \"preReviewRequired\": false,\n        \"isUrgent\": false,\n        \"isYardRequest\": false,\n        \"yardClearRequestGenerated\": true,\n        \"rejectInfo\": [],\n        \"notes\": [],\n        \"drivers\": [],\n        \"serviceVehicles\": [],\n        \"createdOn\": \"2025-06-16T10:49:38.915Z\",\n        \"updatedOn\": \"2025-06-16T11:41:15.687Z\",\n        \"insurance\": null,\n        \"status\": \"dispatch-waiting\",\n        \"vehicle\": [\n            {\n                \"type\": \"passenger-vehicle\",\n                \"year\": 2025,\n                \"make\": \"Aston Martin\",\n                \"model\": \"Valhalla\",\n                \"color\": \"white\",\n                \"province\": \"British Columbia\",\n                \"makeId\": \"44\",\n                \"modelId\": \"5083\",\n                \"key\": true,\n                \"_id\": \"68f2155ab8f15d396fd6e6bf\",\n                \"inspection\": {\n                    \"damages\": [],\n                    \"previousDamagers\": [],\n                    \"dropOffDamages\": []\n                },\n                \"vehicleHoldsDetails\": null,\n                \"vehicleHolds\": {\n                    \"endDate\": null\n                },\n                \"yardKey\": false,\n                \"insurance\": {},\n                \"isRunning\": true,\n                \"pickUp\": {\n                    \"owner\": {\n                        \"attachments\": {\n                            \"isDeleted\": false\n                        }\n                    },\n                    \"driver\": {\n                        \"attachments\": {\n                            \"isDeleted\": false\n                        }\n                    }\n                },\n                \"dropOff\": {\n                    \"owner\": {\n                        \"attachments\": {\n                            \"isDeleted\": false\n                        }\n                    },\n                    \"driver\": {\n                        \"attachments\": {\n                            \"isDeleted\": false\n                        }\n                    }\n                }\n            }\n        ],\n        \"caller\": {\n            \"name\": \"James\",\n            \"phoneNumber\": \"2112111111\"\n        },\n        \"driverInfo\": null,\n        \"receipt\": null,\n        \"date\": {\n            \"request\": \"2025-06-16T10:49:38.892Z\"\n        },\n        \"callNo\": null,\n        \"poNo\": null,\n        \"claimNo\": null,\n        \"receiptNo\": null,\n        \"clubCall\": null,\n        \"memberNo\": null,\n        \"appointment\": null,\n        \"autoNumber\": 7,\n        \"driverCommission\": [],\n        \"notifyToCustomer\": false,\n        \"notifyToCustomerChangedOn\": null,\n        \"questionAnswers\": [],\n        \"changes\": [\n            {\n                \"date\": \"2025-06-16T11:33:33.852Z\",\n                \"by\": {\n                    \"_id\": \"684972b7b99080b299768940\",\n                    \"fullName\": \"John Doe\",\n                    \"email\": \"john@example.com\",\n                    \"access\": \"admin_admin\"\n                },\n                \"fields\": [\n                    {\n                        \"label\": \"Caller Name\",\n                        \"path\": \"caller.name\",\n                        \"oldValue\": \"Jonah Parker\",\n                        \"newValue\": \"Chirag\",\n                        \"_id\": \"6850010d59ee56271993690a\"\n                    },\n                    {\n                        \"label\": \"Caller Phone number\",\n                        \"path\": \"caller.phoneNumber\",\n                        \"oldValue\": \"0000000000\",\n                        \"newValue\": \"9999999999\",\n                        \"_id\": \"6850010d59ee56271993690b\"\n                    },\n                    {\n                        \"label\": \"Service Zone\",\n                        \"path\": \"zone\",\n                        \"oldValue\": \"684ae6cfbb32a8db13933c23\",\n                        \"newValue\": \"66fa7c1877a81c5cd5dddeae\",\n                        \"_id\": \"6850010d59ee56271993690c\"\n                    },\n                    {\n                        \"label\": \"site location fullAddress\",\n                        \"path\": \"locations.site.fullAddress\",\n                        \"oldValue\": \"Hope BC, Canada\",\n                        \"newValue\": \"58 Đ. Nguyễn Khánh Toàn, Quan Hoa, Cầu Giấy, Hà Nội 10000, Vietnam\",\n                        \"_id\": \"6850010d59ee56271993690d\"\n                    },\n                    {\n                        \"label\": \"to location fullAddress\",\n                        \"path\": \"locations.to.fullAddress\",\n                        \"oldValue\": \"Hope BC, Canada\",\n                        \"newValue\": \"12 Matcha, 54 Bond St, New York, NY 10012, USA\",\n                        \"_id\": \"6850010d59ee56271993690e\"\n                    }\n                ],\n                \"_id\": \"6850010d59ee562719936909\"\n            },\n            {\n                \"date\": \"2025-06-16T11:38:22.135Z\",\n                \"by\": {\n                    \"_id\": \"684972b7b99080b299768940\",\n                    \"fullName\": \"John Doe\",\n                    \"email\": \"john@example.com\",\n                    \"access\": \"admin_admin\"\n                },\n                \"fields\": [\n                    {\n                        \"label\": \"Caller Name\",\n                        \"path\": \"caller.name\",\n                        \"oldValue\": \"Chirag\",\n                        \"newValue\": \"James\",\n                        \"_id\": \"6850022e59ee562719936cec\"\n                    },\n                    {\n                        \"label\": \"Caller Phone number\",\n                        \"path\": \"caller.phoneNumber\",\n                        \"oldValue\": \"9999999999\",\n                        \"newValue\": \"2112111111\",\n                        \"_id\": \"6850022e59ee562719936ced\"\n                    },\n                    {\n                        \"label\": \"Service Zone\",\n                        \"path\": \"zone\",\n                        \"oldValue\": \"66fa7c1877a81c5cd5dddeae\",\n                        \"newValue\": \"684ae722bb32a8db13933c45\",\n                        \"_id\": \"6850022e59ee562719936cee\"\n                    }\n                ],\n                \"_id\": \"6850022e59ee562719936ceb\"\n            }\n        ],\n        \"isDriverRejected\": false,\n        \"isValidPermit\": true,\n        \"serviceVehiclePermit\": [],\n        \"selectedSuspenseUsersList\": [],\n        \"futureServiceReminderDate\": null,\n        \"isFutureServiceReminderSet\": false,\n        \"isFutureServiceReminderSended\": false,\n        \"prepaymentTransactions\": [],\n        \"allPrePaymentTransactions\": [],\n        \"totalPrepaymentAmount\": 0,\n        \"currentPrepaymentAmount\": 0,\n        \"capturedPrepaymentTotalAmount\": 0,\n        \"currentPrepaymentCapturedAmount\": 0,\n        \"currentPrepaymentRefundedAmount\": 0,\n        \"callRecording\": [],\n        \"isAskPhotos\": false,\n        \"customerVehicle\": null,\n        \"isSelectedPickUpLocationCheck\": false,\n        \"paymentType\": null,\n        \"authProfileId\": null,\n        \"cardNumber\": null,\n        \"charges\": {\n            \"serviceCharges\": [],\n            \"customCharges\": [],\n            \"subContractorCharges\": [],\n            \"yardCharges\": [],\n            \"miscellaneousCharges\": []\n        },\n        \"priceGroup\": \"666cbb8e72cfe8f1a0e7a479\",\n        \"priceGroupCategory\": \"665e0e7c7d60b864d9a25274\",\n        \"isNewSr\": true,\n        \"serviceType\": \"location-to-location\",\n        \"isAskLocation\": false,\n        \"customerDriverName\": null,\n        \"customerDriverPhone\": null,\n        \"vehicleHolds\": {\n            \"endDate\": null\n        },\n        \"vehicleHoldsDetails\": null,\n        \"isVehicleHolds\": null,\n        \"paymentGateway\": \"square\",\n        \"isInvoiceEnteredIntoPortal\": null,\n        \"isInvoicePrinted\": null,\n        \"intiateMessageId\": [],\n        \"yardKey\": false,\n        \"vehicleGvw\": null,\n        \"createdByPublicUser\": false,\n        \"isRunning\": true,\n        \"isInspection\": false,\n        \"shipDate\": null,\n        \"deliveryDate\": null,\n        \"isInTripRequest\": false,\n        \"tripRequests\": [],\n        \"isReviewed\": null,\n        \"validPhoneNumber\": null,\n        \"prePaymentLink\": [],\n        \"accidentAuthorizationAgreementData\": [],\n        \"isInvoicePaidOrPartialPaid\": false,\n        \"isNonVoidInvoiceExists\": false,\n        \"detailsOfInvoices\": []\n    },\n    \"message\": \"Service Request Detail\"\n}"}],"_postman_id":"4bc5900b-efb7-4693-992e-1bb272782d31"},{"name":"User Profile","id":"44460e30-1dba-4782-a6d7-eb5d569ea650","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/user-profile","description":"<p>Retrieves the authenticated user's profile information including personal details, transaction history, and account status. This endpoint provides comprehensive user data for profile management and account overview purposes.</p>\n","urlObject":{"path":["customer-api","user-profile"],"host":["https://sandbox.fleetcents.ca/api"],"query":[],"variable":[]}},"response":[{"id":"40b5be70-990f-4ba6-a624-004d62d6c347","name":"Success","originalRequest":{"method":"GET","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/user-profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Tue, 17 Jun 2025 07:19:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"2023-yIkeQ8qEL7p3xpxzaLU/9XHyljQ\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"itemsPerPageInvoice\": 10,\n        \"itemPerPageWalletTransaction\": 10,\n        \"_id\": \"684972b7b99080b299768940\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"fullName\": \"John Doe\",\n        \"mobile\": \"9999999999\",\n        \"email\": \"john@example.com\",\n        \"isDisabled\": false,\n        \"role\": \"admin\",\n        \"access\": \"admin_admin\",\n        \"allowTimeEntry\": true,\n        \"userTerritories\": [\n            \"684ae690bb32a8db13933bfb\",\n            \"684ae6cfbb32a8db13933c23\",\n            \"684ae722bb32a8db13933c45\"\n        ],\n        \"itemsPerPageServiceRequest\": 10,\n        \"itemPerPageMiscPayment\": 10,\n        \"itemPerPagePaymentTransactions\": 10,\n        \"itemsPerPageTextMessaging\": 10,\n        \"itemsPerPageParkingAgreement\": 10,\n        \"allowedMailTypes\": [],\n        \"changes\": [\n            {\n                \"type\": \"Email\",\n                \"userId\": \"684972b7b99080b299768940\",\n                \"date\": \"2025-06-12T14:42:46.569Z\",\n                \"_id\": \"684ae766bb32a8db13933c95\",\n                \"id\": \"684ae766bb32a8db13933c95\"\n            },\n            {\n                \"type\": \"Mobile\",\n                \"userId\": \"684972b7b99080b299768940\",\n                \"date\": \"2025-06-12T14:42:46.569Z\",\n                \"_id\": \"684ae766bb32a8db13933c96\",\n                \"id\": \"684ae766bb32a8db13933c96\"\n            },\n            {\n                \"type\": \"First Name\",\n                \"userId\": \"684972b7b99080b299768940\",\n                \"date\": \"2025-06-12T14:42:46.569Z\",\n                \"_id\": \"684ae766bb32a8db13933c97\",\n                \"id\": \"684ae766bb32a8db13933c97\"\n            },\n            {\n                \"type\": \"Last Name\",\n                \"userId\": \"684972b7b99080b299768940\",\n                \"date\": \"2025-06-12T14:42:46.569Z\",\n                \"_id\": \"684ae766bb32a8db13933c98\",\n                \"id\": \"684ae766bb32a8db13933c98\"\n            }\n        ],\n        \"id\": \"684972b7b99080b299768940\",\n        \"userTerritoriesStr\": [\n            \"684ae690bb32a8db13933bfb\",\n            \"684ae6cfbb32a8db13933c23\",\n            \"684ae722bb32a8db13933c45\"\n        ],\n        \"moduleAccess\": [\n            \"list_yards\",\n            \"view_yard\",\n            \"yard_wise_allocation_list\",\n            \"add_yard\",\n            \"edit_yard\",\n            \"delete_yard\",\n            \"manage_yard_markfull\",\n            \"yard_wise_allocation_view\",\n            \"list_insurance_providers\",\n            \"view_insurance_provider\",\n            \"get_insurance_provider\",\n            \"insurance_provider_vehicle_insurance_list\",\n            \"add_insurance_provider\",\n            \"edit_insurance_provider\",\n            \"change_insurance_provider_status\",\n            \"list_sms_templates\",\n            \"get_sms_template\",\n            \"add_sms_template\",\n            \"edit_sms_template\",\n            \"delete_sms_template\",\n            \"list_invoice_templates\",\n            \"get_invoice_template\",\n            \"view_invoice_template\",\n            \"add_invoice_template\",\n            \"edit_invoice_template\",\n            \"delete_invoice_template\",\n            \"restore_invoice_template\",\n            \"active_invoice_template\",\n            \"list_mail_templates\",\n            \"view_mail_template\",\n            \"get_mail_template\",\n            \"edit_mail_template\",\n            \"add_mail_template\",\n            \"delete_mail_template\",\n            \"manage_mail_template_mapping\",\n            \"list_price_groups\",\n            \"add_price_group\",\n            \"edit_price_group\",\n            \"delete_price_group\",\n            \"list_zones\",\n            \"get_zone\",\n            \"add_zone\",\n            \"edit_zone\",\n            \"delete_zone\",\n            \"list_roles\",\n            \"get_role\",\n            \"add_role\",\n            \"edit_role\",\n            \"duplicate_role\",\n            \"delete_role\",\n            \"manage_user_types\",\n            \"list_users\",\n            \"get_user\",\n            \"user_detail\",\n            \"add_user\",\n            \"edit_user\",\n            \"delete_user\",\n            \"change_user_status\",\n            \"change_user_password\",\n            \"manage_logged_in_users\",\n            \"clear_user_session\",\n            \"manage_logged_in_history\",\n            \"get_user_logged_in_history_list\",\n            \"manage_configurations\",\n            \"edit_fuel_surcharge\",\n            \"add_driver_skill\",\n            \"delete_driver_skill\",\n            \"edit_driver_skill\",\n            \"get_driver_skill\",\n            \"list_driver_skills\",\n            \"add_driver_skill\",\n            \"add_tax\",\n            \"edit_tax\",\n            \"delete_tax\",\n            \"get_tax\",\n            \"list_tax\",\n            \"add_user_type\",\n            \"edit_user_type\",\n            \"delete_user_type\",\n            \"list_driver_commissions\",\n            \"view_driver_commissions\",\n            \"edit_driver_commissions\",\n            \"approve_driver_commissions\",\n            \"export_driver_commissions_csv\",\n            \"export_driver_commissions_pdf\",\n            \"get_mail_queue\",\n            \"list_mail_queue\",\n            \"view_mail\",\n            \"change_mail_queue_status\",\n            \"resend_mail\",\n            \"app_service_list\",\n            \"app_service_view\",\n            \"add_app_service\",\n            \"edit_app_service\",\n            \"delete_app_service\",\n            \"app_service_charges_list\",\n            \"view_app_service_charge\",\n            \"list_tax\",\n            \"app_service_charge_delete\",\n            \"edit_app_service_charge\",\n            \"add_app_service_charge\",\n            \"list_vehicle_permits\",\n            \"view_vehicle_permit\",\n            \"view_vehicle\",\n            \"add_vehicle_permit\",\n            \"delete_vehicle_permit\",\n            \"edit_vehicle_permit\",\n            \"list_vehicle_insurances\",\n            \"get_vehicle_insurance\",\n            \"view_vehicle_insurance\",\n            \"list_vehicle_insurances_claims\",\n            \"add_vehicle_insurance\",\n            \"edit_vehicle_insurance\",\n            \"delete_vehicle_insurance\",\n            \"delete_vehicle_insurance_claim\",\n            \"edit_vehicle_insurance_claim\",\n            \"add_vehicle_insurance_claim\",\n            \"list_yard_allocation\",\n            \"get_yard_allocation\",\n            \"manage_yard_allocation\",\n            \"clear_yard_allocation\",\n            \"list_vehicles\",\n            \"view_vehicle\",\n            \"get_vehicle\",\n            \"get_vehicle_insurance\",\n            \"vehicle_assign_driver\",\n            \"assign_zone_to_vehicle\",\n            \"list_zones\",\n            \"add_vehicle\",\n            \"edit_vehicle\",\n            \"delete_vehicle\",\n            \"mark_vehicle_service_in_out\",\n            \"change_vehicle_status\",\n            \"upload_vehicle_attachments\",\n            \"remove_vehicle_attachments\",\n            \"list_drivers\",\n            \"get_driver\",\n            \"list_driver_skills\",\n            \"list_drivers_work_logs\",\n            \"view_driver\",\n            \"driver_list_ui\",\n            \"add_driver\",\n            \"change_driver_status\",\n            \"suspend_driver\",\n            \"edit_driver\",\n            \"upload_driver_attachments\",\n            \"remove_driver_attachments\",\n            \"allocate_truck\",\n            \"view_driver_commissions\",\n            \"driver-commissions-pay\",\n            \"list_customers\",\n            \"get_customer\",\n            \"add_customer\",\n            \"edit_customer\",\n            \"change_customer_status\",\n            \"delete_customer\",\n            \"list_price_group_charges\",\n            \"exceeded_customer_list\",\n            \"exceeded_customer_list_header\",\n            \"merge_customer\",\n            \"get_merge_customer_detail\",\n            \"view_report\",\n            \"list_payment_transactions\",\n            \"view_payment_transaction\",\n            \"refund_payment\",\n            \"payment_transaction_report\",\n            \"transaction_failed_success_count\",\n            \"pending_transaction_count\",\n            \"list_invoices\",\n            \"manage_invoice\",\n            \"add_service_request_payment\",\n            \"edit_invoice_payment\",\n            \"invoice_reports\",\n            \"invoice_paid_amount_total\",\n            \"invoice_pending_amount_total\",\n            \"service_request_invoice_total\",\n            \"invoice_total_day_wise\",\n            \"void_invoice\",\n            \"void_paid_invoice\",\n            \"revised_invoice\",\n            \"remove_non_generated_charges\",\n            \"edit_paid_invoice\",\n            \"update_invoice\",\n            \"list_service_requests\",\n            \"app_service_list\",\n            \"list_category\",\n            \"list_price_group_charges\",\n            \"add_service_request\",\n            \"get_customer\",\n            \"edit_service_request\",\n            \"customer_add_service_request\",\n            \"clear_yard_allocation\",\n            \"get_service_request\",\n            \"driver_assign_service_request\",\n            \"assign_driver_to_service\",\n            \"get_price_group_charges\",\n            \"display_on_account_option\",\n            \"convert_into_yard\",\n            \"get_service_request\",\n            \"view_service_request\",\n            \"app_service_charges_list\",\n            \"app_service_list\",\n            \"driver_assign_service_request\",\n            \"assign_driver_to_service\",\n            \"change_service_status\",\n            \"manage_attachments\",\n            \"upload_service_attachments\",\n            \"manage_charges\",\n            \"generate_negative_invoice\",\n            \"manage_notes\",\n            \"view_service_request_activity\",\n            \"manage_suspense_review_request\",\n            \"view_sr_call_recordings\",\n            \"service_req_reports\",\n            \"service_created_counts\",\n            \"service_created_counts_day_wise\",\n            \"service_created_counts_day_and_zone_wise\",\n            \"service_cancelled_counts\",\n            \"service_cancelled_counts_day_wise\",\n            \"archive_unarchive_service_request\",\n            \"clone_service_request\",\n            \"main_dashboard\",\n            \"dashboard_request_map\",\n            \"get_driver\",\n            \"dashboard_vehicle\",\n            \"dashboard_drivers\",\n            \"live_vehicle_tracking\",\n            \"app-report-download\",\n            \"get_sms_queue\",\n            \"list_sms_queue\",\n            \"get_sms_detail\",\n            \"view_sms\",\n            \"change_sms_queue_status\",\n            \"resend_sms\",\n            \"view_report\",\n            \"zone_report\",\n            \"daily_activity\",\n            \"monthly_activity\",\n            \"list_cash_account\",\n            \"allow_cash_collection\",\n            \"time_off_list\",\n            \"time_off_view\",\n            \"add_edit_time_off\",\n            \"add_edit_time_off_others\",\n            \"manage_time_off_actions\",\n            \"time_entry_list\",\n            \"time_entry_manage\",\n            \"time_entries_add\",\n            \"parking_agreements_list\",\n            \"parking_agreements_view\",\n            \"list_sub_contractor\",\n            \"get_sub_contractor\",\n            \"add_sub_contractor\",\n            \"edit_sub_contractor\",\n            \"delete_sub_contractor\",\n            \"get_tax\",\n            \"list_tax\",\n            \"sub_contractor_invoice_list\",\n            \"sub_contractor_invoice_view\",\n            \"revert_subcontractor_charge\",\n            \"driver_tips_view_list\",\n            \"get_user\",\n            \"list_driver_tips\",\n            \"manage_driver_tips\",\n            \"list_driver_tips\",\n            \"update_tip_status\",\n            \"update_tip_amount\",\n            \"get_tip_details\",\n            \"pay_driver_tip\",\n            \"get_payment_pending_tip_total\",\n            \"bulk_approve_driver_tip\",\n            \"add_tip_request\",\n            \"show_vehicle_wifi\",\n            \"show_commercial_vehicle_inspection\",\n            \"manage_call_recordings\",\n            \"assign_sr_to_call\",\n            \"make_call_recording_private\",\n            \"view_private_call_recording\",\n            \"make_call_recording_public\",\n            \"credit_application_view_list\",\n            \"credit_application_management\",\n            \"parking_agreement_application_view_list\",\n            \"parking_agreement_application_management\",\n            \"manage_price_groups\",\n            \"list_billing\",\n            \"list_category\",\n            \"get_price_group_charges\",\n            \"manage_price_group_charges\",\n            \"list_price_group_charges\",\n            \"add_price_group_charges\",\n            \"edit_price_group_charges\",\n            \"clone_price_group\",\n            \"add_billing\",\n            \"edit_billing\",\n            \"get_billing\",\n            \"detail_billing\",\n            \"delete_billing\",\n            \"add_category\",\n            \"edit_category\",\n            \"get_category\",\n            \"delete_category\",\n            \"generate_pdf\",\n            \"driver_commissions_summary\",\n            \"convert_suspense_status_to_in_yard_status\",\n            \"i_stall_agreement_view_list\",\n            \"create_i_stall_agreement\",\n            \"text_messaging\",\n            \"list_price_group_charges\",\n            \"get_price_group_charges\",\n            \"list_category\"\n        ]\n    },\n    \"message\": \"Logged in successfully\",\n    \"messageCode\": \"1001\"\n}"}],"_postman_id":"44460e30-1dba-4782-a6d7-eb5d569ea650"},{"name":"Status Service Request","id":"73ddc6a0-3b4e-4175-8f58-bdaf37d63ed2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"srIds\" : [\"684ff6c259ee5627199359d7\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://sandbox.fleetcents.ca/api/customer-api/sr-status?srIds=[\"684ff6c259ee5627199359d7\"]","description":"<p>This API allows the client to update the status of multiple service requests in a single call. It is particularly useful for batch operations like marking several service requests as completed, accepted, rejected, or any other system-defined status.</p>\n<p>The client must pass an array of <code>srIds</code> (Service Request IDs) in the request body. Each ID should correspond to an existing service request in the system. The API validates the input and returns appropriate success or error messages based on the validity of the request.</p>\n","urlObject":{"path":["customer-api","sr-status"],"host":["https://sandbox.fleetcents.ca/api"],"query":[{"key":"srIds","value":"[\"684ff6c259ee5627199359d7\"]"}],"variable":[]}},"response":[{"id":"7fee8ad1-1cfe-45b0-afe1-fa234ba93731","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"loginCode","value":"{{loginCode}}","type":"text"},{"key":"Authorization","value":"{{Authorization}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"srIds\" : [\"684ff6c259ee5627199359d7\"]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://sandbox.fleetcents.ca/api/customer-api/sr-status?srIds=[\"684ff6c259ee5627199359d7\"]","host":["https://sandbox.fleetcents.ca/api"],"path":["customer-api","sr-status"],"query":[{"key":"srIds","value":"[\"684ff6c259ee5627199359d7\"]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.24.0 (Ubuntu)"},{"key":"Date","value":"Tue, 17 Jun 2025 07:25:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"89-pV6o5TJWOlT5FoyiikE2fwNYSjE\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": [\n        {\n            \"_id\": \"684ff6c259ee5627199359d7\",\n            \"status\": \"dispatch-waiting\",\n            \"autoNumber\": 7\n        }\n    ],\n    \"message\": \"Service Requests status\"\n}"}],"_postman_id":"73ddc6a0-3b4e-4175-8f58-bdaf37d63ed2"}],"event":[{"listen":"prerequest","script":{"id":"0a4cb9a0-9814-449b-8fc2-4964d4d0cea9","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"1208bdd4-1d19-4b9b-9181-eeecca9a2f19","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"id":"003ae89b-2fe3-4c29-8a96-69e68d7bfa69","key":"base_url","value":"https://sandbox.fleetcents.ca/api"}]}