{"info":{"_postman_id":"35725e1e-0981-4ff0-9dad-3053b58031dc","name":"Tree-to-Me Farm Event Data API","description":"<html><head></head><body><h3 id=\"tree-to-me-public-farm-event-data-api\">Tree-to-Me Public Farm Event Data API</h3>\n<p>To access the Tree-to-Me Public Farm Event Data API, you need to receive an invitation from a Tree-to-Me farm owner. The system will send you an email containing the API Key ID and API Key Secret. Follow these steps to authenticate and use the API:</p>\n<ol>\n<li><strong>Receive Invitation Email:</strong><ul>\n<li>The Tree-to-Me system will send you an invitation email containing the API Key ID and API Key Secret.</li>\n</ul>\n</li>\n<li><strong>Obtain JWT Access Token:</strong><ul>\n<li>Use the API Key ID and API Key Secret from the email to call the OAuth token API and exchange them for a JWT access token.</li>\n</ul>\n</li>\n<li><strong>Query the Farm Event Data API:</strong><ul>\n<li>Use the JWT access token to query the <code>farm_events</code> Farm Event Data API.</li>\n</ul>\n</li>\n<li><strong>Refresh Expired Access Token:</strong><ul>\n<li>If the access token expires, call the OAuth token API with key credentials again to get a new access token.</li>\n</ul>\n</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"33833398","collectionId":"35725e1e-0981-4ff0-9dad-3053b58031dc","publishedId":"2sA3XPCN7F","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-06-27T04:52:00.000Z"},"item":[{"name":"v1","item":[{"name":"farm_events","item":[{"name":"get_pest_disease_weed_events","id":"70b568ba-e88c-40ba-b5c1-7a18e0a70a30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.tree2me.com.au/public/data_api/v1/farm_events/pest_disease_weed_assessments?farm_gln=3247438756347&gln_extension=MRng3J27Vn%3Bsx%2Az9b%2F9%3D&start_time=2024-05-10T00:00:00Z&end_time=2024-06-21T20:00:00Z&limit=5&offset=0","description":"<h3 id=\"endpoint-get-pest-disease-and-weed-assessments\">Endpoint: Get Pest, Disease, and Weed Assessments</h3>\n<p><strong>Method:</strong> <code>GET</code></p>\n<p><strong>Auth:</strong> Requires JWT generated by the OAuth API to pass the authentication.</p>\n<p><strong>Description:</strong></p>\n<p>Retrieve a list of pest, disease, and weed assessments Event Data based on the provided query parameters.</p>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><p><code>farm_gln</code> (required): The Global Location Number (GLN) of the farm.</p>\n<ul>\n<li><p>Must be a non-empty string with a maximum length of 13 digits.</p>\n</li>\n<li><p>Must be numeric.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gln_extension</code> (required): The GLN extension of the farm feature.</p>\n<ul>\n<li><p>Ensure the GLN extension is properly URL-encoded according to standard URL encoding practices.</p>\n</li>\n<li><p>Must be a non-empty string with a maximum length of 20 characters.</p>\n</li>\n</ul>\n</li>\n<li><p><code>start_time</code> (required): The start time for the assessments.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>end_time</code> (required): The end time for the assessments.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>time_order</code> (optional): The order of the results by time.</p>\n<ul>\n<li>Must be either <code>ASC</code> or <code>DESC</code>.</li>\n</ul>\n</li>\n<li><p><code>limit</code> (optional): The maximum number of results to return.</p>\n<ul>\n<li>Must be an integer.</li>\n</ul>\n</li>\n<li><p><code>offset</code> (optional): The number of results to skip before starting to collect the result set.</p>\n<ul>\n<li>Must be an integer.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>Status Code:</strong> <code>200 OK</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> <code>application/json</code></p>\n</li>\n<li><p><strong>Description:</strong> The response will include an array of pest, disease, and weed assessments, each containing the following fields:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"created_at\": \"string (ISO8601 date)\",\n        \"species\": \"string\",\n        \"population_density\": \"string or null\",\n        \"population_density_unit\": \"string (enum: 'Percentage')\",\n        \"symptoms\": \"string\",\n        \"damage_assessment\": \"string\",\n        \"control_measures_applied\": \"string (enum: 'cultural', 'biological', 'mechanical', 'chemical')\",\n        \"notes\": \"string or null\",\n        \"assessor\": \"string\"\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","farm_events","pest_disease_weed_assessments"],"host":["api","tree2me","com","au"],"query":[{"key":"farm_gln","value":"3247438756347"},{"description":{"content":"<p>Need URL Encode</p>\n","type":"text/plain"},"key":"gln_extension","value":"MRng3J27Vn%3Bsx%2Az9b%2F9%3D"},{"description":{"content":"<p>Time zone info is needed:\nExamples: 2024-06-27T17:00:00+10:00 for Melbourne time, or 2024-06-27T07:00:00Z for UTC time.</p>\n","type":"text/plain"},"key":"start_time","value":"2024-05-10T00:00:00Z"},{"description":{"content":"<p>Time zone info is needed:\nExamples: 2024-06-27T17:00:00+10:00 for Melbourne time, or 2024-06-27T07:00:00Z for UTC time.</p>\n","type":"text/plain"},"key":"end_time","value":"2024-06-21T20:00:00Z"},{"key":"limit","value":"5"},{"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Optional ASC or DESC</p>\n","type":"text/plain"},"key":"time_order","value":"ASC"}],"variable":[]}},"response":[{"id":"79b5b6c3-b847-4d3b-bea3-f906b3934815","name":"200","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://4nkg802y99.execute-api.ap-southeast-2.amazonaws.com/dev/public/data_api/farm_events/pest_disease_weed_assessments?farm_gln=5936403145983&gln_extension=C7Nue4i6xJ*%28xZluvfWr&start_time=2024-05-10T00:00:00Z&end_time=2024-06-06T00:00:00Z&limit=5&offset=0","protocol":"https","host":["4nkg802y99","execute-api","ap-southeast-2","amazonaws","com"],"path":["dev","public","data_api","farm_events","pest_disease_weed_assessments"],"query":[{"key":"farm_gln","value":"5936403145983"},{"key":"gln_extension","value":"C7Nue4i6xJ*%28xZluvfWr","description":"URL encoded"},{"key":"start_time","value":"2024-05-10T00:00:00Z"},{"key":"end_time","value":"2024-06-06T00:00:00Z"},{"key":"time_order","value":"","description":"Optional ASC or DESC","type":"text","disabled":true},{"key":"limit","value":"5","description":"optional for pagination"},{"key":"offset","value":"0","description":"optional for pagination"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1185"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 06 Jun 2024 03:37:33 GMT"},{"key":"x-amzn-RequestId","value":"5b6b2dfb-be38-4cea-890d-1e470da1b049"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"1185"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"Y7RHbFEYywMEmTw="},{"key":"etag","value":"W/\"4a1-xxnpAYm71rQpKRYusDJ4kEm3b20\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66612efc-1c093d110d00870318e9dcb3;Parent=52fdd97343a96a0e;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Thu, 06 Jun 2024 03:37:33 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 fd52efac0e72eb0d0b1148d8f877dd9e.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"prDFI1ziOntn2WPSzx0qha8z5qcfpsF6KuxEDTUFqcSrGeFQE0_OaA=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"created_at\": \"2024-05-14T07:34:24.000Z\",\n        \"species\": \"d\",\n        \"population_density\": null,\n        \"population_density_unit\": \"Percentage\",\n        \"symptoms\": \"d\",\n        \"damage_assessment\": \"d\",\n        \"control_measures_applied\": \"biological\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-14T09:23:06.000Z\",\n        \"species\": \"g\",\n        \"population_density\": \"2.78\",\n        \"population_density_unit\": \"Percentage\",\n        \"symptoms\": \"g\",\n        \"damage_assessment\": \"r\",\n        \"control_measures_applied\": \"cultural\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-14T09:35:55.000Z\",\n        \"species\": \"d\",\n        \"population_density\": \"1.78\",\n        \"population_density_unit\": \"Percentage\",\n        \"symptoms\": \"dd\",\n        \"damage_assessment\": \"ww\",\n        \"control_measures_applied\": \"chemical\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-14T10:27:19.000Z\",\n        \"species\": \"e\",\n        \"population_density\": null,\n        \"population_density_unit\": \"Percentage\",\n        \"symptoms\": \"e\",\n        \"damage_assessment\": \"ddddd\",\n        \"control_measures_applied\": \"cultural\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-14T10:27:52.000Z\",\n        \"species\": \"d\",\n        \"population_density\": \"1.66\",\n        \"population_density_unit\": \"Percentage\",\n        \"symptoms\": \"d\",\n        \"damage_assessment\": \"w\",\n        \"control_measures_applied\": \"cultural\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    }\n]"},{"id":"5f72b7ac-53ee-42b8-9110-aed8e4da4513","name":"403","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/pest_disease_weed_assessments?farm_gln=5936403145983&gln_extension=sssfgasdfgasdfgasdfg&start_time=2024-05-10T00:00:00Z&end_time=2024-06-06T00:00:00Z&limit=5&offset=0","host":["{{BASE_URL}}"],"path":["{{ENV}}","public","data_api","farm_events","pest_disease_weed_assessments"],"query":[{"key":"farm_gln","value":"5936403145983"},{"key":"gln_extension","value":"sssfgasdfgasdfgasdfg"},{"key":"start_time","value":"2024-05-10T00:00:00Z"},{"key":"end_time","value":"2024-06-06T00:00:00Z"},{"key":"time_order","value":"","description":"Optional ASC or DESC","type":"text","disabled":true},{"key":"limit","value":"5","description":"optional for pagination"},{"key":"offset","value":"0","description":"optional for pagination"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"208"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 11 Jun 2024 10:42:58 GMT"},{"key":"x-amzn-RequestId","value":"0e815895-9f29-4e22-b85b-6ebe4baaa172"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1718102878"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"208"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"255"},{"key":"x-amz-apigw-id","value":"ZMuH0G3NywMErXQ="},{"key":"x-ratelimit-limit","value":"256"},{"key":"etag","value":"W/\"d0-HXtqsQoJ5KuGNMyWDowNIuxvJCY\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66682a31-75fdea1d7e059614185db40a;Parent=2e38cc5a508e66f4;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Tue, 11 Jun 2024 10:42:57 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 efb8a232eeb70ecdf19fbd8538dcbf5e.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"MEL52-P2"},{"key":"X-Amz-Cf-Id","value":"VtrMRHF1mPd8VZKgn_bfbYQCmG_GXq8mgJy_t1M-_kyD5cQztM33bw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0e815895-9f29-4e22-b85b-6ebe4baaa172\",\n    \"code\": 403,\n    \"detail\": \"This api key is not allowed to access this farm\",\n    \"message\": \"This api key is not allowed to access this farm\",\n    \"source\": \"Internal error source\"\n}"}],"_postman_id":"70b568ba-e88c-40ba-b5c1-7a18e0a70a30"},{"name":"get_fruit_quality_events","id":"da066afa-82d1-4826-aa64-7ebe99665654","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.tree2me.com.au/public/data_api/v1/farm_events/fruit_quality_assessments?farm_gln=5936403145983&gln_extension=C7Nue4i6xJ*%28xZluvfWr&start_time=2024-05-10T00:00:00Z&end_time=2024-06-21T00:00:00Z&limit=5&offset=0","description":"<h3 id=\"endpoint-get-fruit-quality-assessments\">Endpoint: Get Fruit Quality Assessments</h3>\n<p><strong>Method:</strong> GET</p>\n<p><strong>Auth:</strong> Requires JWT generated by the OAuth API to pass the authentication.</p>\n<p><strong>Description:</strong><br />Retrieve a list of fruit quality assessments Event Data based on the provided query parameters.</p>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><p><code>farm_gln</code> (required): The Global Location Number (GLN) of the farm.</p>\n<ul>\n<li><p>Must be a non-empty string with a maximum length of 13 digits.</p>\n</li>\n<li><p>Must be numeric.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gln_extension</code> (required): The GLN extension of the farm feature.</p>\n<ul>\n<li><p>Ensure the GLN extension is properly URL-encoded according to standard URL encoding practices.</p>\n</li>\n<li><p>Must be a non-empty string with a maximum length of 20 characters.</p>\n</li>\n</ul>\n</li>\n<li><p><code>start_time</code> (required): The start time for the assessments.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>end_time</code> (required): The end time for the assessments.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>time_order</code> (optional): The order of the results by time.</p>\n<ul>\n<li>Must be either <code>ASC</code> or <code>DESC</code>.</li>\n</ul>\n</li>\n<li><p><code>limit</code> (optional): The maximum number of results to return.</p>\n<ul>\n<li>Must be an integer.</li>\n</ul>\n</li>\n<li><p><code>offset</code> (optional): The number of results to skip before starting to collect the result set.</p>\n<ul>\n<li>Must be an integer.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>Status Code:</strong> <code>200 OK</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> <code>application/json</code></p>\n</li>\n<li><p><strong>Description:</strong> The response will include an array of fruit quality assessments, each containing the following fields:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"created_at\": \"string (ISO8601 date)\",\n        \"assessment_type\": \"string (enum: 'Destructive', 'Handheld Device', 'Mechanical Grader')\",\n        \"sweetness\": \"string number\",\n        \"sweetness_unit\": \"string (enum: '°Bx')\",\n        \"colour\": \"string\",\n        \"diameter\": \"string number\",\n        \"diameter_unit\": \"string (enum: 'cm')\",\n        \"weight\": \"string number\",\n        \"weight_unit\": \"string (enum: 'g')\",\n        \"outlook\": [\n            \"string (enum: 'Blemish', 'Rot', 'Discoloration', 'None')\"\n        ],\n        \"firmness\": \"string number\",\n        \"firmness_unit\": \"string (enum: 'kgf', 'N')\",\n        \"notes\": \"string or null\",\n        \"assessor\": \"string\"\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","farm_events","fruit_quality_assessments"],"host":["api","tree2me","com","au"],"query":[{"key":"farm_gln","value":"5936403145983"},{"description":{"content":"<p>Need URL Encode</p>\n","type":"text/plain"},"key":"gln_extension","value":"C7Nue4i6xJ*%28xZluvfWr"},{"description":{"content":"<p>Time zone info is needed:\nExamples: 2024-06-27T17:00:00+10:00 for Melbourne time, or 2024-06-27T07:00:00Z for UTC time.</p>\n","type":"text/plain"},"key":"start_time","value":"2024-05-10T00:00:00Z"},{"description":{"content":"<p>Time zone info is needed:\nExamples: 2024-06-27T17:00:00+10:00 for Melbourne time, or 2024-06-27T07:00:00Z for UTC time.</p>\n","type":"text/plain"},"key":"end_time","value":"2024-06-21T00:00:00Z"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Optional ASC or DESC</p>\n","type":"text/plain"},"key":"time_order","value":"ASC"}],"variable":[]}},"response":[{"id":"04e27076-ac42-4f0b-8e82-5d07bea51688","name":"200","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://4nkg802y99.execute-api.ap-southeast-2.amazonaws.com/dev/public/data_api/farm_events/fruit_quality_assessments?farm_gln=5936403145983&gln_extension=C7Nue4i6xJ*%28xZluvfWr&start_time=2024-05-10T00:00:00Z&end_time=2024-06-06T00:00:00Z&limit=5&offset=0","protocol":"https","host":["4nkg802y99","execute-api","ap-southeast-2","amazonaws","com"],"path":["dev","public","data_api","farm_events","fruit_quality_assessments"],"query":[{"key":"farm_gln","value":"5936403145983"},{"key":"gln_extension","value":"C7Nue4i6xJ*%28xZluvfWr","description":"URL encoded"},{"key":"start_time","value":"2024-05-10T00:00:00Z"},{"key":"end_time","value":"2024-06-06T00:00:00Z"},{"key":"limit","value":"5"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1469"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 06 Jun 2024 05:03:38 GMT"},{"key":"x-amzn-RequestId","value":"70630031-fa24-4859-96ad-7bffd019dc8d"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"1469"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"Y7duaFW0SwMEitQ="},{"key":"etag","value":"W/\"5bd-6oWEsHyvMElFrx+vFkkvY7pSFho\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66614328-1e20e043524b18ad1e487cc2;Parent=79b4fc3ac6a66ae4;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Thu, 06 Jun 2024 05:03:38 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 dd92061892eeccf2295e6eb3a8dfc954.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"20sJ77U9rG8Q28Yi7XYYmoGOJc9p6A6GGl0L_jJm1vin1fqScjVk8A=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"created_at\": \"2024-05-14T10:57:27.000Z\",\n        \"assessment_type\": \"Handheld Device\",\n        \"sweetness\": \"4\",\n        \"sweetness_unit\": \"°Bx\",\n        \"colour\": \"dd\",\n        \"diameter\": \"3\",\n        \"diameter_unit\": \"cm\",\n        \"weight\": \"33\",\n        \"weight_unit\": \"g\",\n        \"outlook\": [\n            \"Discoloration\"\n        ],\n        \"firmness\": \"3\",\n        \"firmness_unit\": \"kgf\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-15T01:12:01.000Z\",\n        \"assessment_type\": \"Destructive\",\n        \"sweetness\": \"2\",\n        \"sweetness_unit\": \"°Bx\",\n        \"colour\": \"ed\",\n        \"diameter\": \"2\",\n        \"diameter_unit\": \"cm\",\n        \"weight\": \"33\",\n        \"weight_unit\": \"g\",\n        \"outlook\": [\n            \"Discoloration\"\n        ],\n        \"firmness\": \"3\",\n        \"firmness_unit\": \"kgf\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-15T01:46:23.000Z\",\n        \"assessment_type\": \"Destructive\",\n        \"sweetness\": \"3\",\n        \"sweetness_unit\": \"°Bx\",\n        \"colour\": \"f\",\n        \"diameter\": \"-1\",\n        \"diameter_unit\": \"cm\",\n        \"weight\": \"33\",\n        \"weight_unit\": \"g\",\n        \"outlook\": [\n            \"Blemish\"\n        ],\n        \"firmness\": \"-2\",\n        \"firmness_unit\": \"kgf\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-15T01:58:30.000Z\",\n        \"assessment_type\": \"Destructive\",\n        \"sweetness\": \"3\",\n        \"sweetness_unit\": \"°Bx\",\n        \"colour\": \"3\",\n        \"diameter\": \"2\",\n        \"diameter_unit\": \"cm\",\n        \"weight\": \"0\",\n        \"weight_unit\": \"g\",\n        \"outlook\": [\n            \"Rot\"\n        ],\n        \"firmness\": \"445\",\n        \"firmness_unit\": \"kgf\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-15T04:10:42.000Z\",\n        \"assessment_type\": \"Mechanical Grader\",\n        \"sweetness\": \"3\",\n        \"sweetness_unit\": \"°Bx\",\n        \"colour\": \"d\",\n        \"diameter\": \"3\",\n        \"diameter_unit\": \"cm\",\n        \"weight\": \"3\",\n        \"weight_unit\": \"g\",\n        \"outlook\": [\n            \"Rot\"\n        ],\n        \"firmness\": \"3\",\n        \"firmness_unit\": \"kgf\",\n        \"notes\": null,\n        \"assessor\": \"Tobby Hal\"\n    }\n]"},{"id":"2e72f3e0-3447-4929-8c11-5c0c414f638b","name":"403","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/fruit_quality_assessments?farm_gln=5936403145983&gln_extension=sssfgasdfgasdfgasdfg&start_time=2024-05-10T00:00:00Z&end_time=2024-06-06T00:00:00Z&limit=5&offset=0","host":["{{BASE_URL}}"],"path":["{{ENV}}","public","data_api","farm_events","fruit_quality_assessments"],"query":[{"key":"farm_gln","value":"5936403145983"},{"key":"gln_extension","value":"sssfgasdfgasdfgasdfg"},{"key":"start_time","value":"2024-05-10T00:00:00Z"},{"key":"end_time","value":"2024-06-06T00:00:00Z"},{"key":"limit","value":"5","description":"Optional"},{"key":"offset","value":"0","description":"Optional"},{"key":"time_order","value":"ASC","description":"Optional ASC or DESC","type":"text","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"220"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 13 Jun 2024 06:34:46 GMT"},{"key":"x-amzn-RequestId","value":"8de3a06e-439f-4339-8194-6a5ad047f913"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1718260777"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"220"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"510"},{"key":"x-amz-apigw-id","value":"ZSvo9E-TSwMEf0g="},{"key":"x-ratelimit-limit","value":"512"},{"key":"etag","value":"W/\"dc-eRuNZv6KzzsCAlDGCW9i94mVbd8\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-666a9305-6ca7b741626222126f2e75d9;Parent=163de38299abe070;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Thu, 13 Jun 2024 06:34:45 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 55995d846c30878fb2be24f27b355ccc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD1-C1"},{"key":"X-Amz-Cf-Id","value":"yW8Y-y8rfP3Fnp3Ngi0QEyd7H-zAymenw1XoKZQ5lZuW-KH-amsQnA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"8de3a06e-439f-4339-8194-6a5ad047f913\",\n    \"code\": 403,\n    \"detail\": \"This api key is not allowed to access this event type\",\n    \"message\": \"This api key is not allowed to access this event type\",\n    \"source\": \"Internal error source\"\n}"}],"_postman_id":"da066afa-82d1-4826-aa64-7ebe99665654"},{"name":"get_chemical_nutrient_events","id":"2fc20845-cbdc-4927-a094-70092a5f9438","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.tree2me.com.au/public/data_api/v1/farm_events/chemical_nutrient_applications?farm_gln=5936403145983&gln_extension=C7Nue4i6xJ*%28xZluvfWr&start_time=2024-05-10T00:00:00Z&end_time=2024-06-06T00:00:00Z&limit=5&offset=0","description":"<h3 id=\"endpoint-get-chemical-nutrient-applications\">Endpoint: Get Chemical Nutrient Applications</h3>\n<p><strong>Method:</strong> GET</p>\n<p><strong>Auth:</strong> Requires JWT generated by the OAuth API to pass the authentication.</p>\n<p><strong>Description:</strong><br />Retrieve a list of chemical nutrient applications Event Data based on the provided query parameters.</p>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><p><code>farm_gln</code> (required): The Global Location Number (GLN) of the farm.</p>\n<ul>\n<li><p>Must be a non-empty string with a maximum length of 13 digits.</p>\n</li>\n<li><p>Must be numeric.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gln_extension</code> (required): The GLN extension of the farm feature.</p>\n<ul>\n<li><p>Ensure the GLN extension is properly URL-encoded according to standard URL encoding practices.</p>\n</li>\n<li><p>Must be a non-empty string with a maximum length of 20 characters.</p>\n</li>\n</ul>\n</li>\n<li><p><code>start_time</code> (required): The start time for the applications.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>end_time</code> (required): The end time for the applications.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>time_order</code> (optional): The order of the results by time.</p>\n<ul>\n<li>Must be either <code>ASC</code> or <code>DESC</code>.</li>\n</ul>\n</li>\n<li><p><code>limit</code> (optional): The maximum number of results to return.</p>\n<ul>\n<li>Must be an integer.</li>\n</ul>\n</li>\n<li><p><code>offset</code> (optional): The number of results to skip before starting to collect the result set.</p>\n<ul>\n<li>Must be an integer.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>Status Code:</strong> <code>200 OK</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> <code>application/json</code></p>\n</li>\n<li><p><strong>Description:</strong> The response will include an array of chemical nutrient applications, each containing the following fields:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"created_at\": \"string (ISO8601 date)\",\n        \"name\": \"string\",\n        \"application_type\": \"string (enum: 'Organic', 'Synthetic', 'Natural Mineral', 'Biofertiliser', 'Sustainable')\",\n        \"dilution_rate\": \"string\",\n        \"dilution_rate_unit\": \"string (enum: 'mL/L', 'mg/Kg')\",\n        \"application_rate\": \"string\",\n        \"application_rate_unit\": \"string (enum: 'L/Ha', 'Kg/Ha')\",\n        \"application_method\": \"string (enum: 'Spraying', 'Dusting', 'Drenching', 'Fogging', 'Injection', 'Fertigation')\",\n        \"reason_for_application\": \"string\",\n        \"cover_crop\": \"string or null\",\n        \"wind_speed\": \"string or null\",\n        \"wind_speed_unit\": \"string (enum: 'km/h')\",\n        \"wind_direction\": \"string or null (enum: 'N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW')\",\n        \"temperature\": \"string or null\",\n        \"temperature_unit\": \"string (enum: '°C')\",\n        \"batch_lot_no\": \"string or null\",\n        \"gtin\": \"string or null\",\n        \"chemical_production_date\": \"string (ISO8601 date) or null\",\n        \"notes\": \"string or null\",\n        \"applicator\": \"string\"\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","farm_events","chemical_nutrient_applications"],"host":["api","tree2me","com","au"],"query":[{"key":"farm_gln","value":"5936403145983"},{"description":{"content":"<p>Need URL Encode</p>\n","type":"text/plain"},"key":"gln_extension","value":"C7Nue4i6xJ*%28xZluvfWr"},{"description":{"content":"<p>Time zone info is needed:\nExamples: 2024-06-27T17:00:00+10:00 for Melbourne time, or 2024-06-27T07:00:00Z for UTC time.</p>\n","type":"text/plain"},"key":"start_time","value":"2024-05-10T00:00:00Z"},{"description":{"content":"<p>Time zone info is needed:\nExamples: 2024-06-27T17:00:00+10:00 for Melbourne time, or 2024-06-27T07:00:00Z for UTC time.</p>\n","type":"text/plain"},"key":"end_time","value":"2024-06-06T00:00:00Z"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Optional ASC or DESC</p>\n","type":"text/plain"},"key":"time_order","value":"ASC"}],"variable":[]}},"response":[{"id":"83c017f4-061d-4f7b-971c-7819ef687128","name":"200","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://4nkg802y99.execute-api.ap-southeast-2.amazonaws.com/dev/public/data_api/farm_events/chemical_nutrient_applications?farm_gln=5936403145983&gln_extension=C7Nue4i6xJ*%28xZluvfWr&start_time=2024-05-10T00:00:00Z&end_time=2024-06-06T00:00:00Z&limit=5&offset=0","protocol":"https","host":["4nkg802y99","execute-api","ap-southeast-2","amazonaws","com"],"path":["dev","public","data_api","farm_events","chemical_nutrient_applications"],"query":[{"key":"farm_gln","value":"5936403145983"},{"key":"gln_extension","value":"C7Nue4i6xJ*%28xZluvfWr","description":"URL encoded"},{"key":"start_time","value":"2024-05-10T00:00:00Z"},{"key":"end_time","value":"2024-06-06T00:00:00Z"},{"key":"limit","value":"5"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1580"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 06 Jun 2024 05:03:57 GMT"},{"key":"x-amzn-RequestId","value":"e9019998-3065-4910-abf0-81f277b9da4e"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"1580"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"Y7dxYEDBSwMEUSQ="},{"key":"etag","value":"W/\"62c-LuYd1Y1p+SZjTpsDgpjRz3iMBLQ\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6661433b-5548509c0e56ee0029537834;Parent=052df31c4eaf9ee5;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Thu, 06 Jun 2024 05:03:57 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 dd92061892eeccf2295e6eb3a8dfc954.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"Dk2a0KcRlPelGPUFtvPmWZkIOWnbBuMRec2SfbBRMA7_1m2IHHWzhQ=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"created_at\": \"2024-05-14T10:27:30.000Z\",\n        \"name\": \"dd\",\n        \"application_type\": \"Organic\",\n        \"dilution_rate\": \"2\",\n        \"dilution_rate_unit\": \"mL/L\",\n        \"application_rate\": \"2.9968\",\n        \"application_rate_unit\": \"L/Ha\",\n        \"application_method\": \"Dusting\",\n        \"reason_for_application\": \"dd\",\n        \"cover_crop\": null,\n        \"wind_speed\": null,\n        \"wind_speed_unit\": \"km/h\",\n        \"wind_direction\": null,\n        \"temperature\": null,\n        \"temperature_unit\": \"°C\",\n        \"batch_lot_no\": null,\n        \"gtin\": null,\n        \"chemical_production_date\": null,\n        \"notes\": null,\n        \"applicator\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-15T01:16:36.000Z\",\n        \"name\": \"r\",\n        \"application_type\": \"Natural Mineral\",\n        \"dilution_rate\": \"5\",\n        \"dilution_rate_unit\": \"mL/L\",\n        \"application_rate\": \"8\",\n        \"application_rate_unit\": \"L/Ha\",\n        \"application_method\": \"Fogging\",\n        \"reason_for_application\": \"sh\",\n        \"cover_crop\": null,\n        \"wind_speed\": null,\n        \"wind_speed_unit\": \"km/h\",\n        \"wind_direction\": null,\n        \"temperature\": null,\n        \"temperature_unit\": \"°C\",\n        \"batch_lot_no\": null,\n        \"gtin\": null,\n        \"chemical_production_date\": null,\n        \"notes\": null,\n        \"applicator\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-22T05:19:58.000Z\",\n        \"name\": \"gdtrge\",\n        \"application_type\": \"Biofertiliser\",\n        \"dilution_rate\": \"33\",\n        \"dilution_rate_unit\": \"mL/L\",\n        \"application_rate\": \"2.9988\",\n        \"application_rate_unit\": \"L/Ha\",\n        \"application_method\": \"Fertigation\",\n        \"reason_for_application\": \"frefwef\",\n        \"cover_crop\": \"fr\",\n        \"wind_speed\": \"3\",\n        \"wind_speed_unit\": \"km/h\",\n        \"wind_direction\": \"SW\",\n        \"temperature\": \"4\",\n        \"temperature_unit\": \"°C\",\n        \"batch_lot_no\": \"234234                                            \",\n        \"gtin\": \"312312312312                                      \",\n        \"chemical_production_date\": \"2024-05-22T05:19:00.000Z\",\n        \"notes\": \"few\",\n        \"applicator\": \"Tobby Hal\"\n    }\n]"}],"_postman_id":"2fc20845-cbdc-4927-a094-70092a5f9438"},{"name":"get_irrigation_events","id":"4c57ec59-f85f-456d-9692-dd667f688421","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.tree2me.com.au/public/data_api/v1/farm_events/irrigation?farm_gln=5936403145983&gln_extension=C7Nue4i6xJ*%28xZluvfWr&start_time=2024-05-10T00:00:00Z&end_time=2024-06-22T00:00:00Z&limit=5&offset=0","description":"<h3 id=\"endpoint-get-irrigation-applications\">Endpoint: Get Irrigation Applications</h3>\n<p><strong>Method:</strong> GET</p>\n<p><strong>Auth:</strong> Requires JWT generated by the OAuth API to pass the authentication.</p>\n<p><strong>Description:</strong><br />Retrieve a list of irrigation applications Event Data based on the provided query parameters.</p>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><p><code>farm_gln</code> (required): The Global Location Number (GLN) of the farm.</p>\n<ul>\n<li><p>Must be a non-empty string with a maximum length of 13 digits.</p>\n</li>\n<li><p>Must be numeric.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gln_extension</code> (required): The GLN extension of the farm feature.</p>\n<ul>\n<li><p>Ensure the GLN extension is properly URL-encoded according to standard URL encoding practices.</p>\n</li>\n<li><p>Must be a non-empty string with a maximum length of 20 characters.</p>\n</li>\n</ul>\n</li>\n<li><p><code>start_time</code> (required): The start time for the applications.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>end_time</code> (required): The end time for the applications.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>time_order</code> (optional): The order of the results by time.</p>\n<ul>\n<li>Must be either <code>ASC</code> or <code>DESC</code>.</li>\n</ul>\n</li>\n<li><p><code>limit</code> (optional): The maximum number of results to return.</p>\n<ul>\n<li>Must be an integer.</li>\n</ul>\n</li>\n<li><p><code>offset</code> (optional): The number of results to skip before starting to collect the result set.</p>\n<ul>\n<li>Must be an integer.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>Status Code:</strong> <code>200 OK</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> <code>application/json</code></p>\n</li>\n<li><p><strong>Description:</strong> The response will include an array of irrigation applications, each containing the following fields:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"created_at\": \"string (ISO8601 date)\",\n        \"irrigation_type\": \"string (enum: 'sprinkler', 'drip', 'flood', 'bay', 'non irrigated')\",\n        \"irrigation_district\": \"string\",\n        \"water_source\": \"string (enum: 'Pumped', 'Dam')\",\n        \"application_rate\": \"string\",\n        \"application_rate_unit\": \"string (enum: 'MgL/Ha')\",\n        \"irrigator_energy\": \"string (enum: 'pressure', 'solar', 'diesel', 'electric')\",\n        \"notes\": \"string or null\",\n        \"irrigator\": \"string\"\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","farm_events","irrigation"],"host":["api","tree2me","com","au"],"query":[{"key":"farm_gln","value":"5936403145983"},{"description":{"content":"<p>Need URL Encode</p>\n","type":"text/plain"},"key":"gln_extension","value":"C7Nue4i6xJ*%28xZluvfWr"},{"description":{"content":"<p>Time zone info is needed:\nExamples: 2024-06-27T17:00:00+10:00 for Melbourne time, or 2024-06-27T07:00:00Z for UTC time.</p>\n","type":"text/plain"},"key":"start_time","value":"2024-05-10T00:00:00Z"},{"description":{"content":"<p>Time zone info is needed:\nExamples: 2024-06-27T17:00:00+10:00 for Melbourne time, or 2024-06-27T07:00:00Z for UTC time.</p>\n","type":"text/plain"},"key":"end_time","value":"2024-06-22T00:00:00Z"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Optional ASC or DESC</p>\n","type":"text/plain"},"key":"time_order","value":"ASC"}],"variable":[]}},"response":[{"id":"a01919bb-0c2b-4c25-b16e-88c0cad1af8b","name":"200","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://4nkg802y99.execute-api.ap-southeast-2.amazonaws.com/dev/public/data_api/farm_events/irrigation?farm_gln=5936403145983&gln_extension=C7Nue4i6xJ*%28xZluvfWr&start_time=2024-05-10T00:00:00Z&end_time=2024-06-06T00:00:00Z&limit=5&offset=0","protocol":"https","host":["4nkg802y99","execute-api","ap-southeast-2","amazonaws","com"],"path":["dev","public","data_api","farm_events","irrigation"],"query":[{"key":"farm_gln","value":"5936403145983"},{"key":"gln_extension","value":"C7Nue4i6xJ*%28xZluvfWr","description":"URL encoded"},{"key":"start_time","value":"2024-05-10T00:00:00Z"},{"key":"end_time","value":"2024-06-06T00:00:00Z"},{"key":"limit","value":"5"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"970"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 06 Jun 2024 05:03:28 GMT"},{"key":"x-amzn-RequestId","value":"b63a29f6-d278-46fb-ae74-45f4cf533a41"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"970"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"Y7ds2GaVywMEGCw="},{"key":"etag","value":"W/\"3ca-9AlIUidR8bbnRbKMBCbfYyJq130\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6661431e-60ac5d3308e25f44204a5c51;Parent=5117470ccecc0796;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Thu, 06 Jun 2024 05:03:28 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 dd92061892eeccf2295e6eb3a8dfc954.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"mYbHs21Qq_SnE2DoiaKE7mtJvwDbwP7xXI2h8wCnVoLbRkkuBn2c7Q=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"created_at\": \"2024-05-14T23:30:48.000Z\",\n        \"irrigation_type\": \"non irrigated\",\n        \"irrigation_district\": \"ss\",\n        \"water_source\": \"Pumped\",\n        \"application_rate\": \"1.9986\",\n        \"application_rate_unit\": \"MgL/Ha\",\n        \"irrigator_energy\": \"diesel\",\n        \"notes\": null,\n        \"irrigator\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-15T04:28:56.000Z\",\n        \"irrigation_type\": \"drip\",\n        \"irrigation_district\": \"e\",\n        \"water_source\": \"Dam\",\n        \"application_rate\": \"8\",\n        \"application_rate_unit\": \"MgL/Ha\",\n        \"irrigator_energy\": \"diesel\",\n        \"notes\": null,\n        \"irrigator\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-16T23:44:00.000Z\",\n        \"irrigation_type\": \"bay\",\n        \"irrigation_district\": \"s\",\n        \"water_source\": \"Dam\",\n        \"application_rate\": \"2\",\n        \"application_rate_unit\": \"MgL/Ha\",\n        \"irrigator_energy\": \"electric\",\n        \"notes\": null,\n        \"irrigator\": \"Tobby Hal\"\n    },\n    {\n        \"created_at\": \"2024-05-17T01:24:18.000Z\",\n        \"irrigation_type\": \"sprinkler\",\n        \"irrigation_district\": \"t\",\n        \"water_source\": \"Pumped\",\n        \"application_rate\": \"2\",\n        \"application_rate_unit\": \"MgL/Ha\",\n        \"irrigator_energy\": \"electric\",\n        \"notes\": null,\n        \"irrigator\": \"Tobby Hal\"\n    }\n]"}],"_postman_id":"4c57ec59-f85f-456d-9692-dd667f688421"},{"name":"create_pest_disease_weed_event","id":"abe662ea-fc36-44f5-97a2-e917f579c931","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"C7Nue4i6xJ*(xZluvfWr\",\n  \"event_data\": {\n    \"notes\": \"Some notes about the assessment\",\n    \"created_at\": \"2024-06-18T07:34:24.000Z\",\n    \"species\": \"Species name\",\n    \"population_density\": 50,\n    \"symptoms\": \"Description of symptoms\",\n    \"damage_assessment\": \"Assessment of damage\",\n    \"control_measures_applied\": \"biological\",\n    \"population_density_unit\": \"Percentage\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.tree2me.com.au/public/data_api/v1/farm_events/pest_disease_weed_assessments","description":"<h3 id=\"endpoint-create-pest-disease-and-weed-assessment\">Endpoint: Create Pest, Disease, and Weed Assessment</h3>\n<p><strong>Method:</strong> POST</p>\n<p><strong>Auth:</strong> Requires JWT generated by the OAuth API to pass the authentication.</p>\n<p><strong>Description:</strong><br />Create a new pest, disease, and weed assessment with the provided data.</p>\n<p><strong>Body Parameters:</strong></p>\n<ul>\n<li><p><code>farm_gln</code> (required): The Global Location Number (GLN) of the farm.</p>\n<ul>\n<li><p>Must be a non-empty string with a maximum length of 13 digits.</p>\n</li>\n<li><p>Must be numeric.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gln_extension</code> (required): The GLN extension of the farm feature.</p>\n<ul>\n<li><p>No need to URL encode the string in the POST body field.</p>\n</li>\n<li><p>Must be a non-empty string with a maximum length of 20 characters.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data</code> (required): An object containing the event data.</p>\n<ul>\n<li>Must be an object.</li>\n</ul>\n</li>\n<li><p><code>event_data.notes</code> (optional): Notes for the event.</p>\n<ul>\n<li>Must be a string with a maximum length of 255 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.created_at</code> (required): The creation date of the event.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data.species</code> (required): The species involved in the event.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 100 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.population_density</code> (optional): The population density.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.symptoms</code> (required): Symptoms observed.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 255 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.damage_assessment</code> (required): The damage assessment.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 255 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.control_measures_applied</code> (required): Control measures applied.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>cultural</code>, <code>biological</code>, <code>mechanical</code>, <code>chemical</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.population_density_unit</code> (optional): The unit for population density.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>Percentage</code>.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>Status Code:</strong> <code>200 Created</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> <code>application/json</code></p>\n</li>\n<li><p><strong>Description:</strong> The response will include the details of the newly created pest, disease, and weed assessment.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","farm_events","pest_disease_weed_assessments"],"host":["api","tree2me","com","au"],"query":[],"variable":[]}},"response":[{"id":"3d09c9a8-c9a3-46c1-a646-8e11ddb4cefc","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"sssfgasdfgasdfgasdfg\",\n  \"event_data\": {\n    \"notes\": \"Some notes about the assessment\",\n    \"created_at\": \"2024-05-14T07:34:24.000Z\",\n    \"species\": \"Species name\",\n    \"population_density\": 50,\n    \"symptoms\": \"Description of symptoms\",\n    \"damage_assessment\": \"Assessment of damage\",\n    \"control_measures_applied\": \"biological\",\n    \"population_density_unit\": \"Percentage\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/pest_disease_weed_assessments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"471"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 06 Jun 2024 08:21:11 GMT"},{"key":"x-amzn-RequestId","value":"6bea0313-04f9-4b86-a0be-4a75a0ea48f2"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1717662367"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"471"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"255"},{"key":"x-amz-apigw-id","value":"Y76plGCiywMEFrw="},{"key":"x-ratelimit-limit","value":"256"},{"key":"etag","value":"W/\"1d7-DRqpi2lt7EYJqPy0icXt9Dk9k1s\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66617170-455a053a1d52aa4f567661d8;Parent=60ed1eaec7a93547;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Thu, 06 Jun 2024 08:21:06 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 6eb4925a459e5104745cfd7f77596766.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"EL7hxo3kKOHVChr-KHMNFWHURi7z7_JrTBI2ljMAAel09fmgaEKoBg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"created_at\": \"2024-05-14T07:34:24.000Z\",\n    \"species\": \"Species name\",\n    \"population_density\": \"50\",\n    \"population_density_unit\": \"Percentage\",\n    \"symptoms\": \"Description of symptoms\",\n    \"damage_assessment\": \"Assessment of damage\",\n    \"control_measures_applied\": \"biological\",\n    \"notes\": \"Some notes about the assessment\",\n    \"assessor\": \"firstName lastName\"\n}"}],"_postman_id":"abe662ea-fc36-44f5-97a2-e917f579c931"},{"name":"create_fruit_quality_event","id":"bda1f2f2-02a9-4b97-b819-a2673719ad31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"3247438756347\",\n  \"gln_extension\": \"MRng3J27Vn;sx*z9b/9=\",\n  \"event_data\": {\n    \"notes\": \"Fruit quality assessment notes\",\n    \"created_at\": \"2024-06-26T05:48:00Z\",\n    \"assessment_type\": \"Destructive\",\n    \"sweetness\": 12.5,\n    \"sweetness_unit\": \"°Bx\",\n    \"weight\": 150,\n    \"weight_unit\": \"g\",\n    \"diameter\": 7.5,\n    \"diameter_unit\": \"cm\",\n    \"firmness\": 3.2,\n    \"firmness_unit\": \"N\",\n    \"outlook\": [\"Rot\"],\n    \"colour\": \"red\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tree2me.com.au/public/data_api/v1/farm_events/fruit_quality_assessments","description":"<h3 id=\"endpoint-create-fruit-quality-assessment\">Endpoint: Create Fruit Quality Assessment</h3>\n<p><strong>Method:</strong> POST</p>\n<p><strong>Auth:</strong> Requires JWT generated by the OAuth API to pass the authentication.</p>\n<p><strong>Description:</strong><br />Create a new fruit quality assessment with the provided data.</p>\n<p><strong>Body Parameters:</strong></p>\n<ul>\n<li><p><code>farm_gln</code> (required): The Global Location Number (GLN) of the farm.</p>\n<ul>\n<li><p>Must be a non-empty string with a maximum length of 13 digits.</p>\n</li>\n<li><p>Must be numeric.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gln_extension</code> (required): The GLN extension of the farm feature.</p>\n<ul>\n<li><p>No need to URL encode the string in the POST body field.</p>\n</li>\n<li><p>Must be a non-empty string with a maximum length of 20 characters.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data</code> (required): An object containing the event data.</p>\n<ul>\n<li>Must be an object.</li>\n</ul>\n</li>\n<li><p><code>event_data.notes</code> (optional): Notes for the event.</p>\n<ul>\n<li>Must be a string with a maximum length of 255 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.created_at</code> (required): The creation date of the event.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data.assessment_type</code> (required): The type of assessment.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>Destructive</code>, <code>Handheld Device</code>, <code>Mechanical Grader</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.sweetness</code> (required): The sweetness measurement.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.sweetness_unit</code> (required): The unit for sweetness.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>°Bx</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.weight</code> (required): The weight measurement.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.weight_unit</code> (required): The unit for weight.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>g</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.diameter</code> (required): The diameter measurement.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.diameter_unit</code> (required): The unit for diameter.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>cm</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.firmness</code> (required): The firmness measurement.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.firmness_unit</code> (required): The unit for firmness.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>kgf</code>, <code>N</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.outlook</code> (required): The outlook of the fruit.</p>\n<ul>\n<li><p>Must be an array.</p>\n</li>\n<li><p>Must contain at least one of the specified enum values: <code>Blemish</code>, <code>Rot</code>, <code>Discoloration</code>, <code>None</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data.colour</code> (required): The colour of the fruit.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 100 characters.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>Status Code:</strong> <code>200 Created</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> <code>application/json</code></p>\n</li>\n<li><p><strong>Description:</strong> The response will include the details of the newly created fruit quality assessment.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","farm_events","fruit_quality_assessments"],"host":["api","tree2me","com","au"],"query":[],"variable":[]}},"response":[{"id":"b4e222f8-5a30-47f6-884b-83dd6f680e92","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"sssfgasdfgasdfgasdfg\",\n  \"event_data\": {\n    \"notes\": \"Fruit quality assessment notes\",\n    \"created_at\": \"2023-06-07T10:00:00Z\",\n    \"assessment_type\": \"Destructive\",\n    \"sweetness\": 12.5,\n    \"sweetness_unit\": \"°Bx\",\n    \"weight\": 150,\n    \"weight_unit\": \"g\",\n    \"diameter\": 7.5,\n    \"diameter_unit\": \"cm\",\n    \"firmness\": 3.2,\n    \"firmness_unit\": \"N\",\n    \"outlook\": [\"Rot\"],\n    \"colour\": \"red\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/fruit_quality_assessments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"330"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 07 Jun 2024 01:00:41 GMT"},{"key":"x-amzn-RequestId","value":"64e7c4e7-d862-4f5b-ac80-a50d47ec9d94"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1717722062"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"330"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"250"},{"key":"x-amz-apigw-id","value":"Y-NE4EN9SwMEBxw="},{"key":"x-ratelimit-limit","value":"256"},{"key":"etag","value":"W/\"14a-FLZLSsTjeTcRDjj4OEjdc7QCu8Y\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66625bb8-77abfcc61f6ad49c7225ba7b;Parent=424cc460a5ae4a23;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Fri, 07 Jun 2024 01:00:40 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 54a7561b62ec550870852bf6998e8484.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"4XTPW3IFPQd_Mhq8WvsG7KaC1J7FYLCiQLG2qzR3NIQHkOHS7WUxuQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"created_at\": \"2023-06-07T10:00:00.000Z\",\n    \"assessment_type\": \"Destructive\",\n    \"sweetness\": \"12.5\",\n    \"sweetness_unit\": \"°Bx\",\n    \"colour\": \"red\",\n    \"diameter\": \"7.5\",\n    \"diameter_unit\": \"cm\",\n    \"weight\": \"150\",\n    \"weight_unit\": \"g\",\n    \"outlook\": [\n        \"Rot\"\n    ],\n    \"firmness\": \"3.2\",\n    \"firmness_unit\": \"N\",\n    \"notes\": \"Fruit quality assessment notes\",\n    \"assessor\": \"firstName lastName\"\n}"},{"id":"a84c6f2c-5083-46d5-aaf1-e1b89bda630a","name":"403","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"sssfgasdfgasdfgasdfg\",\n  \"event_data\": {\n    \"notes\": \"Fruit quality assessment notes\",\n    \"created_at\": \"2023-06-07T10:00:00Z\",\n    \"assessment_type\": \"Destructive\",\n    \"sweetness\": 12.5,\n    \"sweetness_unit\": \"°Bx\",\n    \"weight\": 150,\n    \"weight_unit\": \"g\",\n    \"diameter\": 7.5,\n    \"diameter_unit\": \"cm\",\n    \"firmness\": 3.2,\n    \"firmness_unit\": \"N\",\n    \"outlook\": [\"Rot\"],\n    \"colour\": \"red\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/fruit_quality_assessments"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"220"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 13 Jun 2024 06:35:09 GMT"},{"key":"x-amzn-RequestId","value":"10f61749-a5bc-44d5-bd15-b430efac0c4f"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1718260777"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"220"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"508"},{"key":"x-amz-apigw-id","value":"ZSvspGSwSwMEswg="},{"key":"x-ratelimit-limit","value":"512"},{"key":"etag","value":"W/\"dc-ikixodUTScZr/wzTnvLX2gGOshA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-666a931d-26d6c1fe3ef776890b82a705;Parent=54ce69d68f727de8;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Thu, 13 Jun 2024 06:35:09 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 55995d846c30878fb2be24f27b355ccc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD1-C1"},{"key":"X-Amz-Cf-Id","value":"oNE9X2yw0HHvunFms5iUVgixsggdW2ZSWch9KN6nNxwirodphAvcTA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"10f61749-a5bc-44d5-bd15-b430efac0c4f\",\n    \"code\": 403,\n    \"detail\": \"This api key is not allowed to access this event type\",\n    \"message\": \"This api key is not allowed to access this event type\",\n    \"source\": \"Internal error source\"\n}"},{"id":"e410efce-4585-4ff1-af6e-30e3314691ed","name":"400 validation error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"sssfgasdfgasdfgasdfg\",\n  \"event_data\": {\n    \"notes\": \"Fruit quality assessment notes\",\n    \"created_at\": \"2023-06-07T10:00:00Z\",\n    \"assessment_type\": \"maturity\",\n    \"sweetness\": 12.5,\n    \"sweetness_unit\": \"brix\",\n    \"weight\": 150,\n    \"weight_unit\": \"grams\",\n    \"diameter\": 7.5,\n    \"diameter_unit\": \"cm\",\n    \"firmness\": 3.2,\n    \"firmness_unit\": \"kg/cm²\",\n    \"outlook\": [\"good\", \"ripe\"],\n    \"colour\": \"red\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/fruit_quality_assessments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1120"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 07 Jun 2024 00:59:11 GMT"},{"key":"x-amzn-RequestId","value":"1ad3b4d1-8212-47b2-95b0-ca0679c36b6b"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1717722062"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"1120"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"251"},{"key":"x-amz-apigw-id","value":"Y-M24H_cSwMEBKw="},{"key":"x-ratelimit-limit","value":"256"},{"key":"etag","value":"W/\"460-iKubaXMO8/yi7OC7ROvpHIuXxNo\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66625b5e-1042a89f6f0659a265c53729;Parent=640563571439df95;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Fri, 07 Jun 2024 00:59:11 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 54a7561b62ec550870852bf6998e8484.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"RxPfdI_eiY1AwIRZjyHz6lECQHqagRzBVXe1qsxTnH3PmG-gQ4mGvg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1ad3b4d1-8212-47b2-95b0-ca0679c36b6b\",\n    \"code\": 400,\n    \"detail\": \"event_data.assessment_type: must be one of the specified enum values: Destructive, Handheld Device, Mechanical Grader, event_data.sweetness_unit: must be one of the specified enum values: °Bx, event_data.weight_unit: must be one of the specified enum values: kg, g, event_data.firmness_unit: must be one of the specified enum values: kgf, N, event_data.outlook: must contain at least one of the specified enum values: Blemish, Rot, Discoloration, None\",\n    \"message\": \"event_data.assessment_type: must be one of the specified enum values: Destructive, Handheld Device, Mechanical Grader, event_data.sweetness_unit: must be one of the specified enum values: °Bx, event_data.weight_unit: must be one of the specified enum values: kg, g, event_data.firmness_unit: must be one of the specified enum values: kgf, N, event_data.outlook: must contain at least one of the specified enum values: Blemish, Rot, Discoloration, None\",\n    \"source\": \"event_data.assessment_type, event_data.sweetness_unit, event_data.weight_unit, event_data.firmness_unit, event_data.outlook\"\n}"}],"_postman_id":"bda1f2f2-02a9-4b97-b819-a2673719ad31"},{"name":"create_chemical_nutrient_event","id":"cff68006-9ec3-45ec-875f-566c3a618ab7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"C7Nue4i6xJ*(xZluvfWr\",\n  \"event_data\": {\n    \"notes\": \"Chemical nutrient application notes\",\n    \"created_at\": \"2023-06-07T10:00:00Z\",\n    \"application_type\": \"Organic\",\n    \"application_method\": \"Spraying\",\n    \"wind_speed\": 5.5,\n    \"wind_speed_unit\": \"km/h\",\n    \"wind_direction\": \"NE\",\n    \"temperature\": 25.3,\n    \"temperature_unit\": \"°C\",\n    \"dilution_rate\": 10,\n    \"dilution_rate_unit\": \"mg/Kg\",\n    \"application_rate\": 20,\n    \"application_rate_unit\": \"Kg/Ha\",\n    \"name\": \"Nutrient X\",\n    \"batch_lot_no\": \"B123456\",\n    \"gtin\": \"0123456789012\",\n    \"chemical_production_date\": \"2023-01-01T00:00:00Z\",\n    \"reason_for_application\": \"Nutrient deficiency\",\n    \"cover_crop\": \"Cover Crop Y\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tree2me.com.au/public/data_api/v1/farm_events/chemical_nutrient_applications","description":"<h3 id=\"endpoint-create-chemical-nutrient-application\">Endpoint: Create Chemical Nutrient Application</h3>\n<p><strong>Method:</strong> POST</p>\n<p><strong>Auth:</strong> Requires JWT generated by the OAuth API to pass the authentication.</p>\n<p><strong>Description:</strong><br />Create a new chemical nutrient application with the provided data.</p>\n<p><strong>Body Parameters:</strong></p>\n<ul>\n<li><p><code>farm_gln</code> (required): The Global Location Number (GLN) of the farm.</p>\n<ul>\n<li><p>Must be a non-empty string with a maximum length of 13 digits.</p>\n</li>\n<li><p>Must be numeric.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gln_extension</code> (required): The GLN extension of the farm feature.</p>\n<ul>\n<li><p>No need to URL encode the string in the POST body field.</p>\n</li>\n<li><p>Must be a non-empty string with a maximum length of 20 characters.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data</code> (required): An object containing the event data.</p>\n<ul>\n<li>Must be an object.</li>\n</ul>\n</li>\n<li><p><code>event_data.notes</code> (optional): Notes for the event.</p>\n<ul>\n<li>Must be a string with a maximum length of 255 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.created_at</code> (required): The creation date of the event.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data.application_type</code> (required): The type of application.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>Organic</code>, <code>Synthetic</code>, <code>Natural Mineral</code>, <code>Biofertiliser</code>, <code>Sustainable</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.application_method</code> (required): The method of application.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>Spraying</code>, <code>Dusting</code>, <code>Drenching</code>, <code>Fogging</code>, <code>Injection</code>, <code>Fertigation</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.wind_speed</code> (optional): The wind speed during application.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.wind_speed_unit</code> (optional): The unit for wind speed.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>km/h</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.wind_direction</code> (optional): The wind direction during application.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>N</code>, <code>NE</code>, <code>E</code>, <code>SE</code>, <code>S</code>, <code>SW</code>, <code>W</code>, <code>NW</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.temperature</code> (optional): The temperature during application.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.temperature_unit</code> (optional): The unit for temperature.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>°C</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.dilution_rate</code> (required): The dilution rate of the chemical.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.dilution_rate_unit</code> (required): The unit for dilution rate.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>mL/L</code>, <code>mg/Kg</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.application_rate</code> (required): The application rate of the chemical.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.application_rate_unit</code> (required): The unit for application rate.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>L/Ha</code>, <code>Kg/Ha</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.name</code> (required): The name of the chemical.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 100 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.batch_lot_no</code> (required): The batch or lot number of the chemical.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 50 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.gtin</code> (required): The Global Trade Item Number (GTIN) of the chemical.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 50 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.chemical_production_date</code> (optional): The production date of the chemical.</p>\n<ul>\n<li>Must be a valid ISO8601 date.</li>\n</ul>\n</li>\n<li><p><code>event_data.reason_for_application</code> (required): The reason for applying the chemical.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 100 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.cover_crop</code> (optional): The cover crop used during the application.</p>\n<ul>\n<li>Must be a string with a maximum length of 100 characters.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>Status Code:</strong> <code>200 Created</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> <code>application/json</code></p>\n</li>\n<li><p><strong>Description:</strong> The response will include the details of the newly created chemical nutrient application.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","farm_events","chemical_nutrient_applications"],"host":["api","tree2me","com","au"],"query":[],"variable":[]}},"response":[{"id":"01ff7584-5e04-4df2-9f04-81fcbce4af8c","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"sssfgasdfgasdfgasdfg\",\n  \"event_data\": {\n    \"notes\": \"Chemical nutrient application notes\",\n    \"created_at\": \"2023-06-07T10:00:00Z\",\n    \"application_type\": \"Organic\",\n    \"application_method\": \"Spraying\",\n    \"wind_speed\": 5.5,\n    \"wind_speed_unit\": \"km/h\",\n    \"wind_direction\": \"NE\",\n    \"temperature\": 25.3,\n    \"temperature_unit\": \"°C\",\n    \"dilution_rate\": 10,\n    \"dilution_rate_unit\": \"mg/Kg\",\n    \"application_rate\": 20,\n    \"application_rate_unit\": \"Kg/Ha\",\n    \"name\": \"Nutrient X\",\n    \"batch_lot_no\": \"B123456\",\n    \"gtin\": \"0123456789012\",\n    \"chemical_production_date\": \"2023-01-01T00:00:00Z\",\n    \"reason_for_application\": \"Nutrient deficiency\",\n    \"cover_crop\": \"Cover Crop Y\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/chemical_nutrient_applications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"677"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 07 Jun 2024 01:02:56 GMT"},{"key":"x-amzn-RequestId","value":"47bc3fc9-b281-4ddc-8ce7-f5a89bddeff8"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1717722374"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"677"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"254"},{"key":"x-amz-apigw-id","value":"Y-NZ6EyySwMEBeg="},{"key":"x-ratelimit-limit","value":"256"},{"key":"etag","value":"W/\"2a5-yb5LOPE/+scF0kk1KsSVkY3S+dU\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66625c3f-7ab73d9a4d762e586cbf78ca;Parent=79f7af4f02657ce8;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Fri, 07 Jun 2024 01:02:55 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 54a7561b62ec550870852bf6998e8484.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"Nrzy7kM7oW1T5llbhzdDQlRCnFEfHq4opgycgnmRTl-m52fIWwMtEA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"created_at\": \"2023-06-07T10:00:00.000Z\",\n    \"name\": \"Nutrient X\",\n    \"application_type\": \"Organic\",\n    \"dilution_rate\": \"10\",\n    \"dilution_rate_unit\": \"mg/Kg\",\n    \"application_rate\": \"20\",\n    \"application_rate_unit\": \"Kg/Ha\",\n    \"application_method\": \"Spraying\",\n    \"reason_for_application\": \"Nutrient deficiency\",\n    \"cover_crop\": \"Cover Crop Y\",\n    \"wind_speed\": \"5.5\",\n    \"wind_speed_unit\": \"km/h\",\n    \"wind_direction\": \"NE\",\n    \"temperature\": \"25.3\",\n    \"temperature_unit\": \"°C\",\n    \"batch_lot_no\": \"B123456                                           \",\n    \"gtin\": \"0123456789012                                     \",\n    \"chemical_production_date\": \"2023-01-01T00:00:00.000Z\",\n    \"notes\": \"Chemical nutrient application notes\",\n    \"applicator\": \"firstName lastName\"\n}"},{"id":"482814aa-3247-4bec-8f2c-83209fdd213f","name":"400 validation error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"sssfgasdfgasdfgasdfg\",\n  \"event_data\": {\n    \"notes\": \"Chemical nutrient application notes\",\n    \"created_at\": \"2023-06-07T10:00:00Z\",\n    \"application_type\": \"fertilizer\",\n    \"application_method\": \"spray\",\n    \"wind_speed\": 5.5,\n    \"wind_speed_unit\": \"km/h\",\n    \"wind_direction\": \"north\",\n    \"temperature\": 25.3,\n    \"temperature_unit\": \"celsius\",\n    \"dilution_rate\": 10,\n    \"dilution_rate_unit\": \"ml/l\",\n    \"application_rate\": 20,\n    \"application_rate_unit\": \"kg/ha\",\n    \"name\": \"Nutrient X\",\n    \"batch_lot_no\": \"B123456\",\n    \"gtin\": \"0123456789012\",\n    \"chemical_production_date\": \"2023-01-01T00:00:00Z\",\n    \"reason_for_application\": \"Nutrient deficiency\",\n    \"cover_crop\": \"Cover Crop Y\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/chemical_nutrient_applications"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1508"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 07 Jun 2024 01:01:13 GMT"},{"key":"x-amzn-RequestId","value":"d5140d39-6edf-4a21-b7a7-5a17ba6fa957"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1717722374"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"1508"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"255"},{"key":"x-amz-apigw-id","value":"Y-NKGHk_SwMEW5A="},{"key":"x-ratelimit-limit","value":"256"},{"key":"etag","value":"W/\"5e4-cOKD1Uazm1Cy0n/WayyH8Dx9Z3M\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66625bd9-50d37d0c242b9a303272dfd6;Parent=45e37cfb66bd2398;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Fri, 07 Jun 2024 01:01:13 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 54a7561b62ec550870852bf6998e8484.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"qDffrMaL_R9V3nbf7jku7VRywNd5CRLWFeLrQQ3Wf0iH7ZFU5a3pUw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"d5140d39-6edf-4a21-b7a7-5a17ba6fa957\",\n    \"code\": 400,\n    \"detail\": \"event_data.application_type: must be one of the specified enum values: Organic, Synthetic, Natural Mineral, Biofertiliser, Sustainable, event_data.application_method: must be one of the specified enum values: Spraying, Dusting, Drenching, Fogging, Injection, Fertigation, event_data.wind_direction: must be one of the specified enum values: N, NE, E, SE, S, SW, W, NW, event_data.temperature_unit: must be one of the specified enum values: °C, event_data.dilution_rate_unit: must be one of the specified enum values: mL/L, mg/Kg, event_data.application_rate_unit: must be one of the specified enum values: L/Ha, Kg/Ha\",\n    \"message\": \"event_data.application_type: must be one of the specified enum values: Organic, Synthetic, Natural Mineral, Biofertiliser, Sustainable, event_data.application_method: must be one of the specified enum values: Spraying, Dusting, Drenching, Fogging, Injection, Fertigation, event_data.wind_direction: must be one of the specified enum values: N, NE, E, SE, S, SW, W, NW, event_data.temperature_unit: must be one of the specified enum values: °C, event_data.dilution_rate_unit: must be one of the specified enum values: mL/L, mg/Kg, event_data.application_rate_unit: must be one of the specified enum values: L/Ha, Kg/Ha\",\n    \"source\": \"event_data.application_type, event_data.application_method, event_data.wind_direction, event_data.temperature_unit, event_data.dilution_rate_unit, event_data.application_rate_unit\"\n}"}],"_postman_id":"cff68006-9ec3-45ec-875f-566c3a618ab7"},{"name":"create_irrigation_event","id":"376c65a3-e1bd-4245-bd11-ff4c26a0c2e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"C7Nue4i6xJ*(xZluvfWr\",\n  \"event_data\": {\n    \"notes\": \"Irrigation event notesss\",\n    \"created_at\": \"2024-06-21T10:00:00Z\",\n    \"irrigation_type\": \"drip\",\n    \"irrigation_district\": \"District A\",\n    \"water_source\": \"Pumped\",\n    \"application_rate\": 50,\n    \"irrigator_energy\": \"electric\",\n    \"application_rate_unit\": \"MgL/Ha\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tree2me.com.au/public/data_api/v1/farm_events/irrigation","description":"<h3 id=\"endpoint-create-irrigation-application\">Endpoint: Create Irrigation Application</h3>\n<p><strong>Method:</strong> POST</p>\n<p><strong>Auth:</strong> Requires JWT generated by the OAuth API to pass the authentication.</p>\n<p><strong>Description:</strong><br />Create a new irrigation application with the provided data.</p>\n<p><strong>Body Parameters:</strong></p>\n<ul>\n<li><p><code>farm_gln</code> (required): The Global Location Number (GLN) of the farm.</p>\n<ul>\n<li><p>Must be a non-empty string with a maximum length of 13 digits.</p>\n</li>\n<li><p>Must be numeric.</p>\n</li>\n</ul>\n</li>\n<li><p><code>gln_extension</code> (required): The GLN extension of the farm feature.</p>\n<ul>\n<li><p>No need to URL encode the string in the POST body field.</p>\n</li>\n<li><p>Must be a non-empty string with a maximum length of 20 characters.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data</code> (required): An object containing the event data.</p>\n<ul>\n<li>Must be an object.</li>\n</ul>\n</li>\n<li><p><code>event_data.notes</code> (optional): Notes for the event.</p>\n<ul>\n<li>Must be a string with a maximum length of 255 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.created_at</code> (required): The creation date of the event.</p>\n<ul>\n<li><p>Must be a non-empty string in ISO8601 format.</p>\n</li>\n<li><p>Time zone info is needed:<br />  Examples: <code>2024-06-27T17:00:00+10:00</code> for Melbourne time, or <code>2024-06-27T07:00:00Z</code> for UTC time.</p>\n</li>\n</ul>\n</li>\n<li><p><code>event_data.irrigation_type</code> (required): The type of irrigation.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>sprinkler</code>, <code>drip</code>, <code>flood</code>, <code>bay</code>, <code>non irrigated</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.irrigation_district</code> (required): The irrigation district.</p>\n<ul>\n<li>Must be a non-empty string with a maximum length of 100 characters.</li>\n</ul>\n</li>\n<li><p><code>event_data.water_source</code> (required): The source of water used for irrigation.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>Pumped</code>, <code>Dam</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.application_rate</code> (required): The application rate of the irrigation.</p>\n<ul>\n<li>Must be numeric.</li>\n</ul>\n</li>\n<li><p><code>event_data.irrigator_energy</code> (required): The energy source for the irrigator.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>pressure</code>, <code>solar</code>, <code>diesel</code>, <code>electric</code>.</li>\n</ul>\n</li>\n<li><p><code>event_data.application_rate_unit</code> (required): The unit for application rate.</p>\n<ul>\n<li>Must be one of the specified enum values: <code>MgL/Ha</code>.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><strong>Status Code:</strong> <code>200 Created</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> <code>application/json</code></p>\n</li>\n<li><p><strong>Description:</strong> The response will include the details of the newly created irrigation application.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","farm_events","irrigation"],"host":["api","tree2me","com","au"],"query":[],"variable":[]}},"response":[{"id":"54744817-48a9-4da2-9f7b-b592e54044f7","name":"200","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"393e1418-5071-707e-b9a5-8164c03bcebb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"sssfgasdfgasdfgasdfg\",\n  \"event_data\": {\n    \"notes\": \"Irrigation event notes\",\n    \"created_at\": \"2023-06-07T10:00:00Z\",\n    \"irrigation_type\": \"drip\",\n    \"irrigation_district\": \"District A\",\n    \"water_source\": \"Pumped\",\n    \"application_rate\": 50,\n    \"irrigator_energy\": \"electric\",\n    \"application_rate_unit\": \"MgL/Ha\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/irrigation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"278"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 07 Jun 2024 00:58:50 GMT"},{"key":"x-amzn-RequestId","value":"637aac41-506e-41d7-afd4-e8e5bfe0d216"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1717722062"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"278"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"252"},{"key":"x-amz-apigw-id","value":"Y-MzhFjvywMEmsw="},{"key":"x-ratelimit-limit","value":"256"},{"key":"etag","value":"W/\"116-S7HZf6G5dpDQwiKwMxIZmKdEO6k\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66625b49-15c00de93f37cced2d7b9b2a;Parent=111b1407ac5b0025;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Fri, 07 Jun 2024 00:58:49 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 54a7561b62ec550870852bf6998e8484.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"VMKp5Fa9bhASy4Gq-NZNCB41PLpPzcCBdBxp6rtdQRNcBm25xksCAQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"created_at\": \"2023-06-07T10:00:00.000Z\",\n    \"irrigation_type\": \"drip\",\n    \"irrigation_district\": \"District A\",\n    \"water_source\": \"Pumped\",\n    \"application_rate\": \"50\",\n    \"application_rate_unit\": \"MgL/Ha\",\n    \"irrigator_energy\": \"electric\",\n    \"notes\": \"Irrigation event notes\",\n    \"irrigator\": \"firstName lastName\"\n}"},{"id":"47c28bdb-6a5c-4452-8c49-ec174c8222c1","name":"400 validation error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"farm_gln\": \"5936403145983\",\n  \"gln_extension\": \"sssfgasdfgasdfgasdfg\",\n  \"event_data\": {\n    \"notes\": \"Irrigation event notes\",\n    \"created_at\": \"2023-06-07T10:00:00Z\",\n    \"irrigation_type\": \"drip\",\n    \"irrigation_district\": \"District A\",\n    \"water_source\": \"well\",\n    \"application_rate\": 50,\n    \"irrigator_energy\": \"solar\",\n    \"application_rate_unit\": \"liters per hour\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/{{ENV}}/public/data_api/farm_events/irrigation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"474"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 07 Jun 2024 00:56:01 GMT"},{"key":"x-amzn-RequestId","value":"109ae614-0114-4f69-af9c-9fa07e13fafa"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-ratelimit-reset","value":"1717722062"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"474"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-ratelimit-remaining","value":"255"},{"key":"x-amz-apigw-id","value":"Y-MZBEHqywMEo0w="},{"key":"x-ratelimit-limit","value":"256"},{"key":"etag","value":"W/\"1da-F9zRosqP6int6lm39JRlp9swof0\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66625a9f-155a2df45a7d7d4339ae792f;Parent=1eaf6ec87806767c;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Fri, 07 Jun 2024 00:56:01 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 54a7561b62ec550870852bf6998e8484.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD62-P3"},{"key":"X-Amz-Cf-Id","value":"YRZMkX5W5bTR-pp20-YN4Qsm4SMWhOcqgHHwLXNO9oQWFkicHNu0xA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"109ae614-0114-4f69-af9c-9fa07e13fafa\",\n    \"code\": 400,\n    \"detail\": \"event_data.water_source: must be one of the specified enum values: Pumped, Dam, event_data.application_rate_unit: must be one of the specified enum values: MgL/Ha\",\n    \"message\": \"event_data.water_source: must be one of the specified enum values: Pumped, Dam, event_data.application_rate_unit: must be one of the specified enum values: MgL/Ha\",\n    \"source\": \"event_data.water_source, event_data.application_rate_unit\"\n}"}],"_postman_id":"376c65a3-e1bd-4245-bd11-ff4c26a0c2e4"}],"id":"e4241a8d-1cd4-4974-a069-2cc184d0b099","description":"<p>Public Event API for third-party users to access to event data.</p>\n<p>Public user need to perform oauth with client id and secret to access public event APIs with JWT token</p>\n","_postman_id":"e4241a8d-1cd4-4974-a069-2cc184d0b099"},{"name":"oauth","item":[{"name":"token","id":"7e999642-eced-4419-9ece-9ebc2860dbfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"key_id\": \"2cda12b1-0e83-494d-a297-39f5a1ecf82d\",\n    \"key_secret\": \"9f975516a5c8f9db6cfb72a7bb043c78b93ed9aa6358fccd7c0d967eda5dbc21\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tree2me.com.au/public/data_api/v1/oauth/token","description":"<h3 id=\"endpoint-generate-jwt-by-oauth-credentials\">Endpoint: Generate JWT by OAuth Credentials</h3>\n<p><strong>Method:</strong> <code>POST</code></p>\n<p><strong>Description:</strong></p>\n<p>Used by Public Users to exchange JWT access token to public data API by key id and key secret.</p>\n<p><strong>Body Parameters:</strong></p>\n<ul>\n<li><code>key_id</code> (required): The Key Id, is attached in the Email sent to key users<ul>\n<li>Must be a valid UUID. Example: 3333333f-ee80-4630-ae61-c670365c7ba1</li>\n</ul>\n</li>\n<li><code>key_secret</code> (required): The key secret, is attached in the email sent to key users<ul>\n<li>Must be a string with a maximum length of 100 characters. Example: 39f7a464aba9c4ebf7850b5d0c7a7ebe18c3ea6193e9b9c4896659e72ec0f16f</li>\n</ul>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><strong>Status Code:</strong> <code>200 OK</code></li>\n<li><strong>Content-Type:</strong> <code>application/json</code></li>\n<li><strong>Description:</strong> The response will include the access token.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["public","data_api","v1","oauth","token"],"host":["api","tree2me","com","au"],"query":[],"variable":[]}},"response":[{"id":"de541e8c-276f-40df-9490-fe517257bf63","name":"200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"key_id\": \"3333333f-ee80-4630-ae61-c670365c7ba1\",\n    \"key_secret\": \"39f7a464aba9c4ebf7850b5d0c7a7ebe18c3ea6193e9b9c4896659e72ec0f16f\"\n}","options":{"raw":{"language":"json"}}},"url":"https://4nkg802y99.execute-api.ap-southeast-2.amazonaws.com/dev/public/data_api/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"562"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 13 Jun 2024 06:33:31 GMT"},{"key":"x-amzn-RequestId","value":"67c3d717-4e57-445f-9ba7-52371c7f58cc"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-headers","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"562"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"ZSvdMEo4SwMEE9A="},{"key":"etag","value":"W/\"232-7Lq1QL1vOBHqBGpHwA47TrPJZEA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-666a92ba-58f25d7c3d36dff33b9b8b4f;Parent=4cfdc0df53539092;Sampled=0;lineage=c1da79a7:0"},{"key":"x-amzn-Remapped-date","value":"Thu, 13 Jun 2024 06:33:31 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 55995d846c30878fb2be24f27b355ccc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SYD1-C1"},{"key":"X-Amz-Cf-Id","value":"BAocpCQ3BIu27gVWm99IUTYwOKqVMk1-P23bM8N26_zXdwv5lq239Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"token_type\": \"Bearer\",\n    \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXlJZCI6IjMzY2YwMGVmLWVlODAtNDY5MC1hZTYwLWM2NzAzNjVjN2JhMyIsImZhcm1JZCI6ImM4ODRmYzk2LTdjNWYtNDZmOC1hNzU0LTIzOTAxYjk2NDViOSIsImZhcm1HbG4iOiI1OTM2NDAzMTQ1OTgzIiwiZXZlbnRUeXBlTmFtZXMiOlsiY2hlbWljYWxfbnV0cmllbnRfYXBwbGljYXRpb25zIiwicGVzdF9kaXNlYXNlX3dlZWRfYXNzZXNzbWVudHMiXSwiYXBpQWN0aW9ucyI6WyJHZXQiLCJQb3N0Il0sInVzZXJJZCI6IjM4NDcwYjBiLWM5NzctNDY4NC1iMzhjLWJhMTdkMmE1NDE1OSIsImlhdCI6MTcxODI2MDQxMSwiZXhwIjoxNzE4MjY0MDExfQ.BSnu6f1-c_W0vA6NKHkUoAmguyPfGVOXHQ1ZlcktlWo\",\n    \"expires_in\": \"1h\"\n}"}],"_postman_id":"7e999642-eced-4419-9ece-9ebc2860dbfd"}],"id":"5b76f955-10cc-4ca8-aa19-1dbc23bd2a35","description":"<p>APIs for get/refresh access JWT token for the public data API.</p>\n<p>Based on oauth2 client password</p>\n","_postman_id":"5b76f955-10cc-4ca8-aa19-1dbc23bd2a35"}],"id":"5ef18918-a64f-42c3-a49a-aac1a0f616e9","description":"<p>version 1 API</p>\n","_postman_id":"5ef18918-a64f-42c3-a49a-aac1a0f616e9"}]}