{"info":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"31401198","collectionId":"8513d881-5325-4704-83a8-eb55a5d0b32b","publishedId":"2sB34eJN9Q","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-07-09T11:13:33.000Z"},"item":[{"name":"Register","id":"9760b28b-0624-4fd3-a3b6-73da23e6e34b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"register\",\r\n  \"name\": \"Jane Doe\",\r\n  \"email\": \"janpode@example.com\",\r\n  \"password\": \"yourSecurePassword123\",\r\n  \"phone\": \"0712345678\",\r\n  \"county\": \"Nairobi\",\r\n  \"isAdmin\": \"True\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/user/","urlObject":{"path":["user",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9760b28b-0624-4fd3-a3b6-73da23e6e34b"},{"name":"Login","id":"d932e28e-14e5-4fff-b4bf-0ecd60227a31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"action\": \"login\",\r\n  \"email\": \"januue@example.com\",\r\n  \"password\": \"yourSecurePassword123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/user/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["user",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d932e28e-14e5-4fff-b4bf-0ecd60227a31"},{"name":"Fetch Inventories","id":"784099dd-6320-4cdc-bea9-fd620c1a6b6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/inventory?page=1&limit=10","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["api","inventory"],"host":["localhost"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"784099dd-6320-4cdc-bea9-fd620c1a6b6a"},{"name":"Add Inventory","id":"910a8b81-4b45-4cf0-bfcc-9ce0a4eb8183","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"pname\": \"HP 12\",\r\n  \"serialno\": \"HP-\",\r\n  \"model\": \"EliteBook\",\r\n  \"category\": \"Laptops\",         // or a category ID, e.g., 2\r\n  \"county\": \"Nairobi\"            // must already exist in counties\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/inventory/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["inventory",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"910a8b81-4b45-4cf0-bfcc-9ce0a4eb8183"},{"name":"New Model","id":"6e3ba339-c416-486a-955f-3d25f75f441e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"model_name\": \"EliteBook\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/model","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["model"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e3ba339-c416-486a-955f-3d25f75f441e"},{"name":"Get User Profile","id":"612328f7-03f9-4df4-b26c-90b040bd62f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["user"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"612328f7-03f9-4df4-b26c-90b040bd62f7"},{"name":"Update User  Profile","id":"8aa328aa-a3e2-4f97-a4e4-1ca6e1588a0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"isAdmin\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["user"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8aa328aa-a3e2-4f97-a4e4-1ca6e1588a0a"},{"name":"Delete Account","id":"ac364142-dca2-412a-ae55-efdbd075210f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:3000/api/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["user"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac364142-dca2-412a-ae55-efdbd075210f"},{"name":"Get Inventory Details","id":"b87dc844-835a-4086-9daf-83b74d677302","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:3000/api/inventory/?id=2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["inventory",""],"host":["http://localhost:3000/api"],"query":[{"key":"id","value":"2"}],"variable":[]}},"response":[],"_postman_id":"b87dc844-835a-4086-9daf-83b74d677302"},{"name":"Update Inventory","id":"a855b76f-fbd8-4abe-807f-36521387a9df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 5,\r\n  \"pname\": \"HP EliteBook G9\",\r\n  \"serialno\": \"HP-EB-2025-001\",\r\n  \"model\": \"EliteBook 840 G9\",\r\n  \"category\": 2,                 // or a category name, e.g., \"Laptops\"\r\n  \"county\": \"Nairobi\"            // must already exist in counties\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/inventory/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["inventory",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a855b76f-fbd8-4abe-807f-36521387a9df"},{"name":"Delete Inventory","id":"c8f445e5-a286-4dbf-abc7-e302078ceb19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/inventory/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["inventory",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8f445e5-a286-4dbf-abc7-e302078ceb19"},{"name":"Create Category","id":"43c2058f-e97d-4120-827c-6facc2465b17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"category_name\": \"Laptops\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/category","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["category"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"43c2058f-e97d-4120-827c-6facc2465b17"},{"name":"Fetch Categories","id":"461d411d-07e2-474e-909d-10b5cbf78aab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/category?page=1&limit=10","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["category"],"host":["http://localhost:3000/api"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"461d411d-07e2-474e-909d-10b5cbf78aab"},{"name":"Fetch Category","id":"8da06c8d-fdd5-4283-957c-c92ec3e5349c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/category?id=2&page=1&limit=10","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["category"],"host":["http://localhost:3000/api"],"query":[{"key":"id","value":"2"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"8da06c8d-fdd5-4283-957c-c92ec3e5349c"},{"name":"Delete Category","id":"b0b15ece-e611-4053-baa9-b7d422fc09b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/category?id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["category"],"host":["http://localhost:3000/api"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"b0b15ece-e611-4053-baa9-b7d422fc09b5"},{"name":"Create County","id":"0556488b-292b-4d5c-89e1-8ce20bb9d07d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"county_name\": \"Nairobi\",\r\n  \"county_number\": 47\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/county","urlObject":{"path":["county"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0556488b-292b-4d5c-89e1-8ce20bb9d07d"},{"name":"Update County","id":"244ecbc7-3631-4bfb-882c-66dcca095847","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 1,\r\n  \"county_name\": \"Kiambu\",\r\n  \"county_number\": 22\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/county","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["county"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"244ecbc7-3631-4bfb-882c-66dcca095847"},{"name":"Delete County","id":"7b327409-b7a0-4f01-9494-ff4fdbf975bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/county/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["county",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b327409-b7a0-4f01-9494-ff4fdbf975bb"},{"name":"Get County List","id":"38f00ac3-d969-4dcf-bcb7-7ed42ffe5521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/county?page=1&limit=10","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["county"],"host":["http://localhost:3000/api"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"38f00ac3-d969-4dcf-bcb7-7ed42ffe5521"},{"name":"Get County Details","id":"0cea2a33-c2b8-4e63-bc64-7d3feac1ed80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/county?id=1&page=1&limit=10","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["county"],"host":["http://localhost:3000/api"],"query":[{"key":"id","value":"1"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"0cea2a33-c2b8-4e63-bc64-7d3feac1ed80"},{"name":"Update Model","id":"d2dfc460-75ef-49d3-a9b2-41c84756299d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 1,\r\n  \"model_name\": \"EliteBook 840 G10\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/model","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["model"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2dfc460-75ef-49d3-a9b2-41c84756299d"},{"name":"Delete Model","id":"56060736-5ac7-4272-83cd-15ab7da8a57a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/model","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["model"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"56060736-5ac7-4272-83cd-15ab7da8a57a"},{"name":"Fetch Models List","id":"8b4b02d0-ce64-4dbf-beae-1c7e0508609e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/model?page=1&limit=10","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["model"],"host":["http://localhost:3000/api"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"8b4b02d0-ce64-4dbf-beae-1c7e0508609e"},{"name":"Fetch Model Details","id":"d4c34f87-1cfd-4ad3-af11-f401c2dfa83b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/model?id=1&page=1&limit=10","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["model"],"host":["http://localhost:3000/api"],"query":[{"key":"id","value":"1"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"d4c34f87-1cfd-4ad3-af11-f401c2dfa83b"},{"name":"Create Department","id":"b4a470a0-8a40-4436-b219-b63205e66ad6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"  {\r\n    \"Dep_ID\": 101,\r\n    \"Dep_name\": \"Engineering\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/department","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["department"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4a470a0-8a40-4436-b219-b63205e66ad6"},{"name":"Create Allocation","id":"a444520b-b1ff-4d67-a165-fa27c41e25dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": 1,\r\n  \"itemId\": 1,\r\n  \"message\": \"Issued for project work\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/allocation/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["allocation",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a444520b-b1ff-4d67-a165-fa27c41e25dd"},{"name":"Update Allocation","id":"4de455b6-b1be-4413-921c-6c15b8374008","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 1,\r\n  \"message\": \"Returned to IT department\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/allocation/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["allocation",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4de455b6-b1be-4413-921c-6c15b8374008"},{"name":"Fetch All Allocations","id":"e717f253-85e2-4dad-82bb-9f6ecfa4218c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/allocation/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["allocation",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e717f253-85e2-4dad-82bb-9f6ecfa4218c"},{"name":"Fetch Single Allocation","id":"a5cf55e4-fb43-4556-bda0-5924317804b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/allocation/?id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["allocation",""],"host":["http://localhost:3000/api"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"a5cf55e4-fb43-4556-bda0-5924317804b6"},{"name":"Delete Allocation","id":"8f294afc-ff76-428e-b9b9-9a3ab470068b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/allocation/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"8513d881-5325-4704-83a8-eb55a5d0b32b","id":"8513d881-5325-4704-83a8-eb55a5d0b32b","name":"INVENTORY","type":"collection"}},"urlObject":{"path":["allocation",""],"host":["http://localhost:3000/api"],"query":[{"disabled":true,"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"8f294afc-ff76-428e-b9b9-9a3ab470068b"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"60a0e10f-82eb-4432-b1ed-da19d6b63d75","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"b06206b5-d937-4b00-9cf2-d0d9d78e6785","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"url","value":"http://localhost:3000/","type":"string"},{"key":"token","value":"","type":"default"}]}