{"info":{"_postman_id":"28fe36af-5c31-4e6e-8d31-da34190a4e19","name":"Green Shadow","description":"<html><head></head><body><h1 id=\"green-shadow-system-api-documentation\"><em>Green Shadow System API Documentation</em></h1>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Green Shadow System API Documentation","slug":"green-shadow-system-api-documentation"}],"owner":"35385905","collectionId":"28fe36af-5c31-4e6e-8d31-da34190a4e19","publishedId":"2sAYBUDYDL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-24T17:15:04.000Z"},"item":[{"name":"Staff","item":[{"name":"Save Staff","id":"a69163f6-31fc-4bc0-8cef-c7eaabb92121","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": \"STF-061\",\r\n  \"firstName\": \"savini\",\r\n  \"lastName\": \"Apsara\",\r\n  \"designation\": \"Manager\",\r\n  \"gender\": \"MALE\",\r\n  \"joinedDate\": \"2024-11-01\",\r\n  \"dob\": \"2001-02-23\",\r\n  \"addressLine1\": \"123 Main Street\",\r\n  \"addressLine2\": \"Suite 100\",\r\n  \"addressLine3\": \"City Center\",\r\n  \"addressLine4\": \"District\",\r\n  \"addressLine5\": \"Region\",\r\n  \"contactNo\": \"+12454567890\",\r\n  \"email\": \"savini@gmail.com\",\r\n  \"role\": \"MANAGER\"  // or any valid value from RoleEnum\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/staff","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"a69163f6-31fc-4bc0-8cef-c7eaabb92121"},{"name":"Update Staff","id":"390ed9f1-f52f-4b34-abfb-b7fc6e117ac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"firstName\": \"John\",\r\n  \"lastName\": \"till\",\r\n  \"designation\": \"Manager\",\r\n  \"gender\": \"MALE\",\r\n  \"joinedDate\": \"2024-10-01\",\r\n  \"dob\": \"2001-02-23\",\r\n  \"addressLine1\": \"123 Main Street\",\r\n  \"addressLine2\": \"Suite 100\",\r\n  \"addressLine3\": \"City Center\",\r\n  \"addressLine4\": \"District\",\r\n  \"addressLine5\": \"Region\",\r\n  \"contactNo\": \"+1234567890\",\r\n  \"email\": \"john.doe@example.com\",\r\n  \"role\": \"MANAGER\"  // or any valid value from RoleEnum\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/staff/STA-056","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff","STA-056"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"390ed9f1-f52f-4b34-abfb-b7fc6e117ac0"},{"name":"Delete Staff","id":"e8ed16ea-e274-4028-99bd-8f3424b93936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/staff/STF-066","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff","STF-066"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8ed16ea-e274-4028-99bd-8f3424b93936"},{"name":"Get Select Member","id":"cb8d805e-0c3a-4123-abd3-1fa041011292","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/staff/STA-056","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff","STA-056"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb8d805e-0c3a-4123-abd3-1fa041011292"},{"name":"Get All Staff","id":"15f0d2b8-67d0-45f5-9100-7a31ea8d4d47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/staff","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"15f0d2b8-67d0-45f5-9100-7a31ea8d4d47"}],"id":"96ddabac-5d17-445c-9724-fbd504b4df30","_postman_id":"96ddabac-5d17-445c-9724-fbd504b4df30","description":""},{"name":"Health Test","item":[{"name":"Get Health Test","id":"f1345c44-56d3-4277-94a7-3c32696a5b90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/healthTest","urlObject":{"protocol":"http","port":"8080","path":["api","v1","healthTest"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1345c44-56d3-4277-94a7-3c32696a5b90"}],"id":"a28b8249-32bf-49b6-b110-9dbe3fc46bde","_postman_id":"a28b8249-32bf-49b6-b110-9dbe3fc46bde","description":""},{"name":"Vehicle","item":[{"name":"Save Vehicle","id":"bbd3f150-6665-4cd3-81d5-9151bd77fc36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"vehicleCode\": \"VEH-007\",\r\n    \"licensePlateNumber\": \"ABC-1538\",\r\n    \"vehicleCategory\": \"Sedan\",\r\n    \"fuelType\": \"Petrol\",\r\n    \"status\": \"Available\",\r\n    \"staffId\": \"STA-021\",\r\n    \"remarks\": \"New vehicle added\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/vehicle","urlObject":{"protocol":"http","port":"8080","path":["api","v1","vehicle"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bbd3f150-6665-4cd3-81d5-9151bd77fc36"},{"name":"Update Vehicle","id":"d3a18d57-14a2-46ea-8e90-fa4c061a1a7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"licensePlateNumber\": \"ABC-1236\",\r\n    \"vehicleCategory\": \"Sedan\",\r\n    \"fuelType\": \"Deesal\",\r\n    \"status\": \"Available\",\r\n    \"staffId\": \"STA-002\",\r\n    \"remarks\": \"New vehicle added\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/vehicle/VEH-007","urlObject":{"protocol":"http","port":"8080","path":["api","v1","vehicle","VEH-007"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3a18d57-14a2-46ea-8e90-fa4c061a1a7e"},{"name":"Delete Vehicle","id":"7cdad765-7e73-4d40-82c1-637b24245258","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/vehicle/VEH-007","urlObject":{"protocol":"http","port":"8080","path":["api","v1","vehicle","VEH-007"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7cdad765-7e73-4d40-82c1-637b24245258"},{"name":"Get Select Vehicle Id","id":"02213656-6f01-4b4d-aeac-719a16714dd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/vehicle/VEH-007","urlObject":{"protocol":"http","port":"8080","path":["api","v1","vehicle","VEH-007"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"02213656-6f01-4b4d-aeac-719a16714dd5"},{"name":"Get All Vehicle","id":"03d1d36a-eaf8-46e8-ab52-416a33810767","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/vehicle","urlObject":{"protocol":"http","port":"8080","path":["api","v1","vehicle"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"03d1d36a-eaf8-46e8-ab52-416a33810767"}],"id":"3bdbba75-9a8e-4e59-8e09-257252d052d3","_postman_id":"3bdbba75-9a8e-4e59-8e09-257252d052d3","description":""},{"name":"Field","item":[{"name":"Save Field","id":"0d249259-9626-43ac-a947-79df7e3b5bb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"fieldCode","value":"FED-015","type":"text"},{"key":"fieldName","value":"banana","type":"text"},{"key":"fieldLocation","value":"kagolle","type":"text"},{"key":"extentSize","value":"25.5","type":"text"},{"key":"fieldImage1","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/feild1.jpeg"],"src":"/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/feild1.jpeg"},{"key":"fieldImage2","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg6.jpeg"],"src":"/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg6.jpeg"}]},"url":"http://localhost:8080/api/v1/field","urlObject":{"protocol":"http","port":"8080","path":["api","v1","field"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d249259-9626-43ac-a947-79df7e3b5bb0"},{"name":"Update Field","id":"a0df73db-08cd-4571-aa89-8c792677e01f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"updateFieldName","value":"karate","type":"text"},{"key":"updateFieldLocation","value":"galle","type":"text"},{"key":"updateExtentSize","value":"50","type":"text"},{"key":"updateFieldImage1","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/field3.jpeg"],"src":"/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/field3.jpeg"},{"key":"updateFieldImage2","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg1.jpeg"],"src":"/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg1.jpeg"},{"key":"fieldCode","value":"FED-010","type":"text"}]},"url":"http://localhost:8080/api/v1/field/FED-010","urlObject":{"protocol":"http","port":"8080","path":["api","v1","field","FED-010"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0df73db-08cd-4571-aa89-8c792677e01f"},{"name":"Delete Field","id":"ce252054-34ba-4dff-b156-d1281a0424bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/field/FED-022","urlObject":{"protocol":"http","port":"8080","path":["api","v1","field","FED-022"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce252054-34ba-4dff-b156-d1281a0424bf"},{"name":"Get Selected Field Id","id":"7c82abca-2c5a-46d2-a886-9934814aeb80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/field/FED-010","urlObject":{"protocol":"http","port":"8080","path":["api","v1","field","FED-010"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c82abca-2c5a-46d2-a886-9934814aeb80"},{"name":"Get All Field","id":"068bd9f3-bab5-4a77-b343-a45d45805675","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/field","urlObject":{"protocol":"http","port":"8080","path":["api","v1","field"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"068bd9f3-bab5-4a77-b343-a45d45805675"}],"id":"727147fb-7ce6-44bd-94aa-508abad740df","_postman_id":"727147fb-7ce6-44bd-94aa-508abad740df","description":""},{"name":"Crop","item":[{"name":"Save Crop","id":"c9a06740-81e5-46b5-8ea8-ff721489c822","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"cropCode","value":"CRP-008","type":"text"},{"key":"cropCommonName","value":"Cowpea","type":"text"},{"key":"cropScientificName","value":"CP10","type":"text"},{"key":"cropImage","type":"file","src":"/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg6.jpeg"},{"key":"category","value":"Cereal","type":"text"},{"key":"cropSeason","value":"Spring","type":"text"},{"key":"fieldCode","value":"FED-012","type":"text"}]},"url":"http://localhost:8080/api/v1/crop","urlObject":{"protocol":"http","port":"8080","path":["api","v1","crop"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9a06740-81e5-46b5-8ea8-ff721489c822"},{"name":"Update Crop","id":"de7a74ec-e860-4d46-9ace-2e625f36a7b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"updateCropCommonName","value":"Riced","type":"text"},{"key":"updateCropScientificName","value":"BG32lldd00","type":"text"},{"key":"updateCropImage","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg6.jpeg"],"src":"/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg6.jpeg"},{"key":"updateCategory","value":"Cereal1lldd","type":"text"},{"key":"updateCropSeason","value":"dddddddddddd","type":"text"},{"key":"updateFieldCode","value":"FED-010","type":"text"},{"key":"cropCode","value":"CRP-007","type":"text"}]},"url":"http://localhost:8080/api/v1/crop/CRP-007","urlObject":{"protocol":"http","port":"8080","path":["api","v1","crop","CRP-007"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"de7a74ec-e860-4d46-9ace-2e625f36a7b2"},{"name":"Delete Crop","id":"6f63e054-5dc4-430b-9fd1-117c466607ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/crop/CRP-007","urlObject":{"protocol":"http","port":"8080","path":["api","v1","crop","CRP-007"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f63e054-5dc4-430b-9fd1-117c466607ad"},{"name":"Get Selected Id","id":"49d99968-214b-48f3-abd7-a30457d5c9c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/crop/CRP-001","urlObject":{"protocol":"http","port":"8080","path":["api","v1","crop","CRP-001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"49d99968-214b-48f3-abd7-a30457d5c9c0"},{"name":"GetAll Crop","id":"4e30d662-6780-44ba-9d64-74d743c98e45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/crop","urlObject":{"protocol":"http","port":"8080","path":["api","v1","crop"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e30d662-6780-44ba-9d64-74d743c98e45"}],"id":"703b2d50-c924-4c33-b3fd-6d158f824005","_postman_id":"703b2d50-c924-4c33-b3fd-6d158f824005","description":""},{"name":"Equipment","item":[{"name":"Save Equipment","id":"fcfb6a72-1c69-41af-86fc-50602933c725","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": \"EPT-035\",\r\n  \"name\": \"Excavator\",\r\n  \"type\": \"Heavy Machinery\",\r\n  \"status\": \"Active\",\r\n  \"fieldCode\": \"FED-022\",\r\n  \"staffId\": \"STA-005\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/equipment","urlObject":{"protocol":"http","port":"8080","path":["api","v1","equipment"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcfb6a72-1c69-41af-86fc-50602933c725"},{"name":"Update Equipment","id":"8978fd84-e5db-4db8-b44b-15cc05ec5a95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"id\": \"EPT-001\",\r\n  \"name\": \"Excavator\",\r\n  \"type\": \"Heavy Machinery\",\r\n  \"status\": \"good11\",\r\n  \"fieldCode\": \"FED-006\",\r\n  \"staffId\": \"STA-005\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/equipment/EPT-001","urlObject":{"protocol":"http","port":"8080","path":["api","v1","equipment","EPT-001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8978fd84-e5db-4db8-b44b-15cc05ec5a95"},{"name":"Delete Equipments","id":"b6475945-d5f5-46dc-9867-0f4d6cbf3f76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/equipment/EPT-023","urlObject":{"protocol":"http","port":"8080","path":["api","v1","equipment","EPT-023"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6475945-d5f5-46dc-9867-0f4d6cbf3f76"},{"name":"Get Select Id","id":"b55c9db6-c1ba-4ef0-8b83-0cdd0928d893","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/equipment/EPT-002","urlObject":{"protocol":"http","port":"8080","path":["api","v1","equipment","EPT-002"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b55c9db6-c1ba-4ef0-8b83-0cdd0928d893"},{"name":"Get All Equipment","id":"fca697a6-4cee-4d91-aca3-7cca889634c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/equipment","urlObject":{"protocol":"http","port":"8080","path":["api","v1","equipment"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fca697a6-4cee-4d91-aca3-7cca889634c4"}],"id":"e13d513d-640f-49d4-8a91-9f1115c1937a","_postman_id":"e13d513d-640f-49d4-8a91-9f1115c1937a","description":""},{"name":"Log Monitoring","item":[{"name":"Save Log","id":"9ee64afd-bce9-483a-9e80-2946b02a5e60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"logCode","value":"LOG-015","type":"text"},{"key":"logDate","value":"2024-11-20","type":"text"},{"key":"logDetails","value":"Sample log details","type":"text"},{"key":"observedImage","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg6.jpeg"],"src":"/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg6.jpeg"},{"key":"cropCode","value":"CRP-007","type":"text"}]},"url":"http://localhost:8080/api/v1/log","urlObject":{"protocol":"http","port":"8080","path":["api","v1","log"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ee64afd-bce9-483a-9e80-2946b02a5e60"},{"name":"Update Logs","id":"621ad086-b3b5-4843-92d5-e5b2ba916a17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"updateLogDate","value":"2024-11-03","type":"text"},{"key":"updateLogDetails","value":"dddddddddddd","type":"text"},{"key":"updateObservedImage","type":"file","src":"/C:/Users/sachi/OneDrive/Pictures/Green Shadow images/monitoringimg1.jpeg"},{"key":"updateCropCode","value":"CRP-007","type":"text"},{"key":"logCode","value":"LOG-002","type":"text"}]},"url":"http://localhost:8080/api/v1/log/LOG-003","urlObject":{"protocol":"http","port":"8080","path":["api","v1","log","LOG-003"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"621ad086-b3b5-4843-92d5-e5b2ba916a17"},{"name":"Delete Log","id":"8feb72ea-9047-4ab1-be35-3b3367dfcdf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/log/LOG-002","urlObject":{"protocol":"http","port":"8080","path":["api","v1","log","LOG-002"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8feb72ea-9047-4ab1-be35-3b3367dfcdf0"},{"name":"Get Select Log id","id":"15a3cb5c-116d-4482-870f-f50215a5883b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/log/LOG-015","urlObject":{"protocol":"http","port":"8080","path":["api","v1","log","LOG-015"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"15a3cb5c-116d-4482-870f-f50215a5883b"},{"name":"Get All Logs","id":"a7f95c92-1992-4f20-b573-e434fc61be4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/log","urlObject":{"protocol":"http","port":"8080","path":["api","v1","log"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7f95c92-1992-4f20-b573-e434fc61be4e"},{"name":"Search Log","id":"fb40c5da-1437-47ef-ae89-391ae906da7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/log/search?logCode=LOG-012\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","log","search"],"host":["localhost"],"query":[{"key":"logCode","value":"LOG-012\n"}],"variable":[]}},"response":[],"_postman_id":"fb40c5da-1437-47ef-ae89-391ae906da7a"}],"id":"f7a8fb80-8513-4771-9322-c8956b41b9bb","_postman_id":"f7a8fb80-8513-4771-9322-c8956b41b9bb","description":""},{"name":"FieldLogDetails","item":[{"name":"Add FieldLog","id":"6c5f37b1-b24d-40d0-abc0-bd2c32f5256b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"logCode\": \"LOG-0290\",\r\n    \"cropCode\": \"CRP-003\",\r\n    \"logDetails\": \"Initial observation log 2details\",\r\n    \"logDate\": \"2024-11-08\",\r\n    \"observedImage\": \"image-path.png\",\r\n    \"fieldLogDetailsDTOS\": [\r\n        {\r\n            \"field\": {\"fieldCode\": \"FED-010\"},\r\n            \"description\": \"Details about 2field hii\",\r\n            \"work_fields_count\": 5,\r\n            \"date\": \"2024-11-08\"\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/field-log-details/save","urlObject":{"protocol":"http","port":"8080","path":["api","v1","field-log-details","save"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c5f37b1-b24d-40d0-abc0-bd2c32f5256b"},{"name":"GetAll Details","id":"52ffc767-8659-4357-9bcb-17a03448b557","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/field-log-details/get","urlObject":{"protocol":"http","port":"8080","path":["api","v1","field-log-details","get"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"52ffc767-8659-4357-9bcb-17a03448b557"}],"id":"dae48722-2cf8-444a-bc4f-fb240668e08f","_postman_id":"dae48722-2cf8-444a-bc4f-fb240668e08f","description":""},{"name":"StffLog Details","item":[{"name":"Add StaffLog","id":"88de2490-b755-4b4e-b892-135e0d869fa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"logCode\": \"LOG-02601\",\r\n    \"cropCode\": \"CRP-012\",\r\n    \"logDetails\": \"Observed some 4issues with the crop.\",\r\n    \"logDate\": \"2024-11-08\",\r\n    \"observedImage\": \"base64EncodedImageData\",\r\n    \"staffLogDetailsDTOS\": [\r\n        {\r\n            \"staff\": {\r\n                 \"id\": \"STF-001\",\r\n                 \"firstName\":\"amanda\"\r\n              },\r\n            \"description\": \"Worked 4on crop maintenance.\",\r\n            \"work_staff_count\": 3,\r\n            \"date\": \"2024-11-08\"\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/staff-log-details/save","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff-log-details","save"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"88de2490-b755-4b4e-b892-135e0d869fa6"},{"name":"Get StaffLog Details","id":"fb947e67-9a05-42e1-9735-45c33411de07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/staff-log-details/f384bf43-73f6-41c4-a13b-6b21c7b1e521","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff-log-details","f384bf43-73f6-41c4-a13b-6b21c7b1e521"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb947e67-9a05-42e1-9735-45c33411de07"},{"name":"GetAll Details","id":"e629f0af-a7d1-4f18-a797-9e07a8672671","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/staff-log-details/get","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff-log-details","get"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e629f0af-a7d1-4f18-a797-9e07a8672671"}],"id":"0edeed9a-928b-49e2-818f-6860f029d495","_postman_id":"0edeed9a-928b-49e2-818f-6860f029d495","description":""},{"name":"StaffField Details","item":[{"name":"Add staffField","id":"6f51804a-a645-4eb0-801c-6130a5248f44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"staff\": {\r\n        \"id\": \"STF-066\",\r\n        \"firstName\":\"duvindu\"\r\n    },\r\n    \"field\": {\r\n        \"fieldCode\": \"FED-013\"\r\n    },\r\n    \"status\":\"Available\",\r\n    \"description\": \"Worked on field operations\",\r\n    \"work_staff_count\": 5,\r\n    \"date\": \"2024-11-08\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/staff-field-details/save","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff-field-details","save"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f51804a-a645-4eb0-801c-6130a5248f44"},{"name":"GetAll Details","id":"55aca64c-6590-451a-a0e6-79cadf35a94f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/staff-field-details","urlObject":{"protocol":"http","port":"8080","path":["api","v1","staff-field-details"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"55aca64c-6590-451a-a0e6-79cadf35a94f"}],"id":"c77fbbe8-1e82-48d6-a0b4-75f2cdf5ace5","_postman_id":"c77fbbe8-1e82-48d6-a0b4-75f2cdf5ace5","description":""},{"name":"User","item":[{"name":"Register user","id":"46ad58f5-e4ba-426c-b38d-f83b59186b45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"sachini095@gmail.com\",\r\n  \"password\": \"123123123\",\r\n  \"name\": \"sachini\",\r\n  \"role\": \"MANAGER\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/register","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"46ad58f5-e4ba-426c-b38d-f83b59186b45"},{"name":"Authenticate User","id":"ff3c80f4-2dfe-4319-888e-685fdb22dd05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"apsaaraoaala@gmail.com\",\r\n    \"password\": \"12312310000\"\r\n\r\n }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/signin","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","signin"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff3c80f4-2dfe-4319-888e-685fdb22dd05"},{"name":"referesh token","id":"36fd226e-9b93-4b0e-862b-df24385c59c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:8080/api/v1/auth/refreshToken","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","refreshToken"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"36fd226e-9b93-4b0e-862b-df24385c59c3"},{"name":"auth","id":"43384d15-ddb5-4d91-bdfb-d3531cece227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"43384d15-ddb5-4d91-bdfb-d3531cece227"}],"id":"26a73b6c-3acd-469c-891d-d023169e4f63","_postman_id":"26a73b6c-3acd-469c-891d-d023169e4f63","description":""},{"name":"dashboard","item":[{"name":"admin dash blog","id":"8b3698b4-0629-4fed-b72e-db29a3794c41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/blog","urlObject":{"protocol":"http","port":"8080","path":["api","v1","blog"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b3698b4-0629-4fed-b72e-db29a3794c41"}],"id":"79ea553d-73c3-495f-8db5-e7d3d3f6b63e","_postman_id":"79ea553d-73c3-495f-8db5-e7d3d3f6b63e","description":""}]}