{"info":{"_postman_id":"af690a43-9e47-4bc8-9f0e-904acfbd216a","name":"iFarmo API","description":"<html><head></head><body><p>This is the iFarmo API documentation, made with Postman. There are five major routes of the API: auth, users, products, jobs, equipments.</p>\n<p>Some of the required variables are:</p>\n<p>host - address where the API accepts the requests (default is localhost)</p>\n<p>port - port number (3000 or 80)</p>\n<p>test-key - secret key, required for API testing requests</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13899012","collectionId":"af690a43-9e47-4bc8-9f0e-904acfbd216a","publishedId":"UyxbrqHi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-05T23:41:30.000Z"},"item":[{"name":"Auth and Users","item":[{"name":"Get all users","id":"8cf81cb0-6ada-44c0-a772-04e0ec1b29c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{host}}:{{port}}/api/users","urlObject":{"protocol":"http","port":"{{port}}","path":["api","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cf81cb0-6ada-44c0-a772-04e0ec1b29c7"},{"name":"Login","id":"c32edf1e-d3d1-48a6-b225-780bfa1222cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"login\": \"Christopher123\",\r\n    \"password\": \"Password123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://{{host}}:{{port}}/api/auth/login","urlObject":{"protocol":"http","port":"{{port}}","path":["api","auth","login"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c32edf1e-d3d1-48a6-b225-780bfa1222cf"},{"name":"Register","id":"bc0712ef-9537-414b-861e-0e63da7f4257","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"juanito\",\r\n    \"password\": \"juanito\",\r\n    \"name\": \"Juan Garcia Esmeraldo\",\r\n    \"email\": \"juan@example.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://{{host}}:{{port}}/api/auth/register","urlObject":{"protocol":"http","port":"{{port}}","path":["api","auth","register"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc0712ef-9537-414b-861e-0e63da7f4257"},{"name":"Update user info","id":"7a6dae28-2e20-4130-bcb8-96143a11f003","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjQ3MmQzYjg0M2I0MmFjZTA1OGY3MWUiLCJpYXQiOjE2NTIzNDc4Mjd9.6hueztTdT8nHU1Xxxq9SfULEp3AA0BO_dDcay1m8RAk","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Christopher Hayashi\",\r\n    \"role\": \"worker\",\r\n    \"bio\": \"I am Chris, a humble Japanese software engineer who is looking to work on weekends in a farm.\",\r\n    \"email\": \"chrishayashi@example.com\",\r\n    \"contactInfo\": \"+14204204200\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://{{host}}:{{port}}/api/users/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","users",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a6dae28-2e20-4130-bcb8-96143a11f003"},{"name":"Delete User","id":"43fa9902-f93a-464a-af45-e7f5de07504f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjM4MjZiYWE1MjZjNWM5MDE4MWVkZDYiLCJpYXQiOjE2NDc4NDcxMDJ9.gBUmj-usyCQmL3I636S1HiIqUWZh7g5PkXPUhBqYy3g","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://{{host}}:{{port}}/api/users/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","users",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43fa9902-f93a-464a-af45-e7f5de07504f"},{"name":"Get user","id":"d9d04e4e-322a-4d4a-922c-987f474f6675","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{host}}:{{port}}/api/users/622ab3ab0c9580b67fc41ed0","urlObject":{"protocol":"http","port":"{{port}}","path":["api","users","622ab3ab0c9580b67fc41ed0"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9d04e4e-322a-4d4a-922c-987f474f6675"}],"id":"8afb8f30-5f07-48f9-8592-49ea6d22f43f","_postman_id":"8afb8f30-5f07-48f9-8592-49ea6d22f43f","description":""},{"name":"Products","item":[{"name":"Get all Products","id":"f7c21852-f7c0-4d1d-924f-736563b38936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{host}}:{{port}}/api/products/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","products",""],"host":["{{host}}"],"query":[{"disabled":true,"key":"filter","value":"by_price"},{"disabled":true,"key":"searchKey","value":"sweet"}],"variable":[]}},"response":[],"_postman_id":"f7c21852-f7c0-4d1d-924f-736563b38936"},{"name":"Get My Products","id":"cccad1d7-5fd0-4008-b0d6-0f447ee21789","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjJhYjNhYjBjOTU4MGI2N2ZjNDFlZDAiLCJpYXQiOjE2NTA4NzU3MzZ9.HXUlsoMFMAi7pPdUywb7yvoxj_VN4O4keewC_6nmlE8","type":"text"}],"url":"http://{{host}}:{{port}}/api/products/myproducts/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","products","myproducts",""],"host":["{{host}}"],"query":[{"disabled":true,"key":"searchKey","value":"halal"}],"variable":[]}},"response":[],"_postman_id":"cccad1d7-5fd0-4008-b0d6-0f447ee21789"},{"name":"Get Specific Product","id":"45881fd7-8293-4ff7-a59d-136ef3bdf6ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://{{host}}:{{port}}/api/products/6237d8530f80d187adbb4478","urlObject":{"protocol":"http","port":"{{port}}","path":["api","products","6237d8530f80d187adbb4478"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"45881fd7-8293-4ff7-a59d-136ef3bdf6ed"},{"name":"Create New Product","id":"9a212c2e-1ce5-44f0-bcbf-68dc333c78dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjY0OTQzZGI4YTdhMjgxNmE0YWJiZGYiLCJpYXQiOjE2NTA4NDc2NTN9.9XJsbgtL2uZ_aR8jcZuQP2ZQLuLimqclx_zeyRilFg0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Melons","type":"text"},{"key":"type","value":"Fruit","type":"text"},{"key":"quantity","value":"200","type":"text"},{"key":"unitType","value":"lb","type":"text"},{"key":"price","value":"1","type":"text"},{"key":"description","value":"Big juicy melons from Altos Family Farm.","type":"text"},{"key":"city","value":"Los Altos","type":"text"},{"key":"image","type":"file","src":"/C:/Users/Addis/iFarmo-Back-End/sample_data/product_images/melons.jpg"}]},"url":"http://{{host}}:{{port}}/api/products/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","products",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a212c2e-1ce5-44f0-bcbf-68dc333c78dd"},{"name":"Update a Product","id":"3b2da201-37d1-41fe-946d-a092941536a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjY0OTQzZGI4YTdhMjgxNmE0YWJiZGYiLCJpYXQiOjE2NTA3ODUzNTJ9.bDmH1tPg5KcGQdI9U44GfwIQFbZFt4OKkAGIVRGKXpk","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Cucumbers","type":"text"},{"key":"type","value":"Vegetable","type":"text"},{"key":"quantity","value":"100","type":"text"},{"key":"unitType","value":"lb","type":"text"},{"key":"price","value":"1","type":"text"},{"key":"description","value":"Good for salads and for hemorrhoids treatment (No pictures added, amera was not working).","type":"text"},{"key":"city","value":"San Jose","type":"text"},{"key":"image","type":"file","value":null,"disabled":true}]},"url":"http://{{host}}:{{port}}/api/products/626496676c9cbcad0f49504b","urlObject":{"protocol":"http","port":"{{port}}","path":["api","products","626496676c9cbcad0f49504b"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b2da201-37d1-41fe-946d-a092941536a0"},{"name":"Delete a Product","id":"24a2af54-a0a1-47b8-bb66-d6fe7bc19c31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjJhYjNhYjBjOTU4MGI2N2ZjNDFlZDAiLCJpYXQiOjE2NDc3Nzc1NzR9.gBSRZsss4qKQ39RxAB2KF0C0YBF_mmdI9c_DHVhTHhg","type":"text"}],"url":"http://{{host}}:{{port}}/api/products/625f8618d0df6081062b6756","urlObject":{"protocol":"http","port":"{{port}}","path":["api","products","625f8618d0df6081062b6756"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"24a2af54-a0a1-47b8-bb66-d6fe7bc19c31"},{"name":"Delete all products (for testing)","id":"123aaf45-ebac-4238-8fb9-63a2b584900a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://{{host}}:{{port}}/api/products/?key={{test-key}}","urlObject":{"protocol":"http","port":"{{port}}","path":["api","products",""],"host":["{{host}}"],"query":[{"key":"key","value":"{{test-key}}"}],"variable":[]}},"response":[],"_postman_id":"123aaf45-ebac-4238-8fb9-63a2b584900a"},{"name":"Import all products (for testing)","id":"e5bc4b64-385d-4971-abe3-28001b0accd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://{{host}}:{{port}}/api/products/import?key={{test-key}}","urlObject":{"protocol":"http","port":"{{port}}","path":["api","products","import"],"host":["{{host}}"],"query":[{"key":"key","value":"{{test-key}}"}],"variable":[]}},"response":[],"_postman_id":"e5bc4b64-385d-4971-abe3-28001b0accd3"}],"id":"9daf5cb7-65b9-4dc7-98ee-be32a6718af8","_postman_id":"9daf5cb7-65b9-4dc7-98ee-be32a6718af8","description":""},{"name":"Jobs","item":[{"name":"Get all Jobs","id":"e0b5faa8-279d-4b16-bd1a-49df3891630f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{host}}:{{port}}/api/jobs","urlObject":{"protocol":"http","port":"{{port}}","path":["api","jobs"],"host":["{{host}}"],"query":[{"disabled":true,"key":"searchKey","value":"Salinas"},{"disabled":true,"key":"filter","value":"farmer"}],"variable":[]}},"response":[],"_postman_id":"e0b5faa8-279d-4b16-bd1a-49df3891630f"},{"name":"Get My Jobs","id":"4a09d337-d5a3-49be-9749-4df401106f31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjJhYjNhYjBjOTU4MGI2N2ZjNDFlZDAiLCJpYXQiOjE2NTA4NzU3MzZ9.HXUlsoMFMAi7pPdUywb7yvoxj_VN4O4keewC_6nmlE8","type":"text"}],"url":"http://{{host}}:{{port}}/api/jobs/myjobs/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","jobs","myjobs",""],"host":["{{host}}"],"query":[{"disabled":true,"key":"searchKey","value":""}],"variable":[]}},"response":[],"_postman_id":"4a09d337-d5a3-49be-9749-4df401106f31"},{"name":"Get Specific Job","id":"d4341d28-c113-479a-b6eb-6126285d6f59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{host}}:{{port}}/api/jobs/625f7c52cc93fbdbd981939e","urlObject":{"protocol":"http","port":"{{port}}","path":["api","jobs","625f7c52cc93fbdbd981939e"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4341d28-c113-479a-b6eb-6126285d6f59"},{"name":"Create New Job","id":"1e732c16-bca8-4de5-9269-4777151fcecb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjJhYjNhYjBjOTU4MGI2N2ZjNDFlZDAiLCJpYXQiOjE2NTA4Njk2MzR9.PW9Xnj8sM2_1PD-sOQPI_SPa9j2eckxuSLuaYSpAMF0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Collecting apricots\",\n    \"type\": \"temporary\",\n    \"description\": \"I need to collect some apricots for my family.\",\n    \"salary\": 100,\n    \"unitType\": \"day\",\n    \"city\": \"San Jose\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{host}}:{{port}}/api/jobs/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","jobs",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e732c16-bca8-4de5-9269-4777151fcecb"},{"name":"Update a Job","id":"86f2a3fb-387d-4950-8b2f-d1f17bc72f37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjJhYjNhYjBjOTU4MGI2N2ZjNDFlZDAiLCJpYXQiOjE2NTA0MTk3ODZ9.pSStKycS057qOt2p61Rz2-EJqHWMy4VNOc7qoqKlxaY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Collecting apricots\",\n    \"type\": \"temporary\",\n    \"description\": \"I need to collect some apricots for my family soon.\",\n    \"unitType\": \"day\",\n    \"salary\": 100,\n    \"city\": \"San Jose\"\n}","options":{"raw":{"language":"json"}}},"url":"http://{{host}}:{{port}}/api/jobs/625f7c52cc93fbdbd981939e","urlObject":{"protocol":"http","port":"{{port}}","path":["api","jobs","625f7c52cc93fbdbd981939e"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"86f2a3fb-387d-4950-8b2f-d1f17bc72f37"},{"name":"Delete a Job","id":"105d925f-445f-44f1-aa95-692d9e1b20be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjJhYjNhYjBjOTU4MGI2N2ZjNDFlZDAiLCJpYXQiOjE2NTA0MTk3ODZ9.pSStKycS057qOt2p61Rz2-EJqHWMy4VNOc7qoqKlxaY","type":"text"}],"url":"http://{{host}}:{{port}}/api/jobs/625f8598c22f35a4c4995caf","urlObject":{"protocol":"http","port":"{{port}}","path":["api","jobs","625f8598c22f35a4c4995caf"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"105d925f-445f-44f1-aa95-692d9e1b20be"},{"name":"Delete all jobs (for testing)","id":"367e7666-5383-46b9-8479-99d39d4f5edf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://{{host}}:{{port}}/api/jobs/?key={{test-key}}","urlObject":{"protocol":"http","port":"{{port}}","path":["api","jobs",""],"host":["{{host}}"],"query":[{"key":"key","value":"{{test-key}}"}],"variable":[]}},"response":[],"_postman_id":"367e7666-5383-46b9-8479-99d39d4f5edf"},{"name":"Import all jobs (for testing)","id":"c3cba389-ee14-4f1f-a2df-4951dd5cdb0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://{{host}}:{{port}}/api/jobs/import?key={{test-key}}","urlObject":{"protocol":"http","port":"{{port}}","path":["api","jobs","import"],"host":["{{host}}"],"query":[{"key":"key","value":"{{test-key}}"}],"variable":[]}},"response":[],"_postman_id":"c3cba389-ee14-4f1f-a2df-4951dd5cdb0f"}],"id":"4d98739d-7abb-440e-9d31-e600efae6b24","_postman_id":"4d98739d-7abb-440e-9d31-e600efae6b24","description":""},{"name":"Equipments","item":[{"name":"Get all Equipments","id":"deb04f51-ef01-40de-9371-9425935f8739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://{{host}}:{{port}}/api/equipments/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","equipments",""],"host":["{{host}}"],"query":[{"disabled":true,"key":"filter","value":"Tools"},{"disabled":true,"key":"searchKey","value":"hoe"}],"variable":[]}},"response":[],"_postman_id":"deb04f51-ef01-40de-9371-9425935f8739"},{"name":"Get My Equipments","id":"3dd482a8-4530-44d9-95b4-4a03f342c587","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjJhYjNhYjBjOTU4MGI2N2ZjNDFlZDAiLCJpYXQiOjE2NTE2OTg1ODV9.IErVo8tLQeLFQoX06GNTkdaDBbsdR0QHsSE1x4bC0Ik","type":"text"}],"url":"http://{{host}}:{{port}}/api/equipments/myequipments/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","equipments","myequipments",""],"host":["{{host}}"],"query":[{"disabled":true,"key":"searchKey","value":"tools"}],"variable":[]}},"response":[],"_postman_id":"3dd482a8-4530-44d9-95b4-4a03f342c587"},{"name":"Get Specific Equipment","id":"0067f6b9-bc35-4d95-aa5d-b7347030d1f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://{{host}}:{{port}}/api/equipments/6265dd2a3888476cd094725c","urlObject":{"protocol":"http","port":"{{port}}","path":["api","equipments","6265dd2a3888476cd094725c"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0067f6b9-bc35-4d95-aa5d-b7347030d1f4"},{"name":"Create New Equipment","id":"601f0068-6ed9-44df-bf4a-55fb04d6ad82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjY0OTQzZGI4YTdhMjgxNmE0YWJiZGYiLCJpYXQiOjE2NTA3NTk2MDR9.4R1mQ_y2kZKLJ-xRVkGEZrwHwYHTuHjbKQ1hWCzO1EE","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Tractor","type":"text"},{"key":"description","value":"A tractor is a vehicle that is used to pull or push a material or crop from a field, or to pull or push a material or crop from a mine.","type":"text"},{"key":"type","value":"Tools","type":"text"},{"key":"quantity","value":"1","type":"text"},{"key":"unitType","value":"day","type":"text"},{"key":"price","value":"300","type":"text"},{"key":"city","value":"Fremont","type":"text"},{"key":"image","type":"file","src":"/C:/Users/abahr/Documents/SJSU/Projects/iFarmo-Back-End/sample_data/equipment_images/tractor.jpg"}]},"url":"http://{{host}}:{{port}}/api/equipments/","urlObject":{"protocol":"http","port":"{{port}}","path":["api","equipments",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"601f0068-6ed9-44df-bf4a-55fb04d6ad82"},{"name":"Update an Equipment","id":"d959c8ca-e1df-4cb7-b36a-3dbdd81e3c4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjY0OTQzZGI4YTdhMjgxNmE0YWJiZGYiLCJpYXQiOjE2NTA3NTk2MDR9.4R1mQ_y2kZKLJ-xRVkGEZrwHwYHTuHjbKQ1hWCzO1EE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Tractor\",\r\n    \"type\": \"Tools\",\r\n    \"description\": \"\",\r\n    \"quantity\": 1,\r\n    \"unitType\": \"week\",\r\n    \"price\": 1000.00,\r\n    \"city\": \"Fremont\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://{{host}}:{{port}}/api/equipments/6265dd2a3888476cd094725c","urlObject":{"protocol":"http","port":"{{port}}","path":["api","equipments","6265dd2a3888476cd094725c"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d959c8ca-e1df-4cb7-b36a-3dbdd81e3c4f"},{"name":"Delete an Equipment","id":"352676f7-8bc5-439f-a5fb-86764bbe2ad9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MjY0OTQzZGI4YTdhMjgxNmE0YWJiZGYiLCJpYXQiOjE2NTA3NTk2MDR9.4R1mQ_y2kZKLJ-xRVkGEZrwHwYHTuHjbKQ1hWCzO1EE","type":"text"}],"url":"http://{{host}}:{{port}}/api/equipments/6265dd2a3888476cd094725c","urlObject":{"protocol":"http","port":"{{port}}","path":["api","equipments","6265dd2a3888476cd094725c"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"352676f7-8bc5-439f-a5fb-86764bbe2ad9"},{"name":"Delete all equipments (for testing)","id":"67735fe7-3d87-4ad7-981d-8c6379e4051e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://{{host}}:{{port}}/api/equipments/?key={{test-key}}","urlObject":{"protocol":"http","port":"{{port}}","path":["api","equipments",""],"host":["{{host}}"],"query":[{"key":"key","value":"{{test-key}}"}],"variable":[]}},"response":[],"_postman_id":"67735fe7-3d87-4ad7-981d-8c6379e4051e"},{"name":"Import all equipments (for testing)","id":"9f5f81e2-4871-4ff8-b193-91cc872ac717","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://{{host}}:{{port}}/api/equipments/import?key={{test-key}}","urlObject":{"protocol":"http","port":"{{port}}","path":["api","equipments","import"],"host":["{{host}}"],"query":[{"key":"key","value":"{{test-key}}"}],"variable":[]}},"response":[],"_postman_id":"9f5f81e2-4871-4ff8-b193-91cc872ac717"}],"id":"00a3f971-e49f-4807-82a6-03399f81b794","_postman_id":"00a3f971-e49f-4807-82a6-03399f81b794","description":""}],"event":[{"listen":"prerequest","script":{"id":"a87e3ab6-5ce1-42e4-ac81-7e0b81891cbe","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e6526fd1-41e7-4ef0-9a69-316c0dedf730","type":"text/javascript","exec":[""]}}]}