{"info":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","description":"<html><head></head><body><p>The purpose of this document is to provide technical details about the GLOBALG.A.P. Impact-Driven Approach API that enables connectivity between GLOBALG.A.P. and Farm Management Information Systems ( API partners). The document outlines the business processes supported by the API and details the specifications of security, communication, testing and implementation steps. To achieve a complete integration, development effort is required from clients, partners and third party actors who want to use GLOBALG.A.P. API.</p>\n<h2 id=\"impact-driven-approach-api-documentation-change-log\">Impact-Driven Approach API Documentation Change Log</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Change</th>\n<th>Date</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Initial creation of the documentation</td>\n<td>30.6.2020</td>\n</tr>\n<tr>\n<td>Updated Add energy use to convey amount of renewable energy used</td>\n<td>16.7.2020</td>\n</tr>\n<tr>\n<td>Updated Add crop to also include GLOBALG.A.P. product categories</td>\n<td>16.7.2020</td>\n</tr>\n<tr>\n<td>\"public_source\" for water, expected value should be m3</td>\n<td>18.8.2020</td>\n</tr>\n<tr>\n<td>Methods to get more detailed benchmark data added to GET Benchmark</td>\n<td>18.8.2020</td>\n</tr>\n<tr>\n<td>Updated response for posting site now contains more geographical information (POST Add site)</td>\n<td>30.8.2020</td>\n</tr>\n<tr>\n<td>Updated Add and Modify crop to include planting and harvesting dates to take crop rotation to better account</td>\n<td>21.12.2020</td>\n</tr>\n<tr>\n<td>Updated documentation for instructions on recording of zero consumption of all indicators</td>\n<td>11.06.2021</td>\n</tr>\n<tr>\n<td>Added modules for FV and Aquaculture and change in data structure on how producers could be registered</td>\n<td>03.03.2022</td>\n</tr>\n<tr>\n<td>Combined module of PLANTS, New datapoints, New Input Consumption Metrics and change in data structure on how producers could be registered</td>\n<td>25.10.2023</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"version\">Version</h2>\n<p>GLOBALG.A.P. API current version is <code>2.0.0</code>. It is important to highlight this API is under continuous improvement. Therefore, both the API itself and this document might be subject to changes and revisions in the future.</p>\n<h2 id=\"environments\">Environments</h2>\n<h3 id=\"production\">PRODUCTION</h3>\n<p>Official GLOBALG.A.P. Impact-Driven Approach IT Production environment: <a href=\"https://data-driven.globalgap.org/\">https://data-driven.globalgap.org/</a></p>\n<h3 id=\"test\">TEST</h3>\n<p>A 1:1 replica environment for API development and testing purposes: <a href=\"https://test-data-driven.globalgap.org/\">https://test-data-driven.globalgap.org/</a></p>\n<p>###BETA</p>\n<p>All new developments related latest version of IDA Add-ons for example Fruits and vegetables and Aquaculture, is currently available in BETA <a href=\"https://test-data-driven.globalgap.org/\">https://beta-data-driven.globalgap.org/</a></p>\n<h2 id=\"target-audience\">Target audience</h2>\n<p>The use of the GLOBALG.A.P. Impact-Driven Approach API for third parties is intended for applications development by our API partners , including distributed or non-distributed products and services that are related with some of the GLOBALG.A.P. business processes in some way.<br>This document assumes the reader has a computer technical background and is familiar with JSON, Webservices, Rest APIs and similar technologies.</p>\n<h2 id=\"api-use-policy\">API use policy</h2>\n<p>These policies have been created to ensure our services integrity, to ensure the data derived from the Impact-Driven Approach API is not misused, and to make the development process easier to our customers and partners. GLOBALG.A.P. reserves the right to modify the location and definition of the API at any time. All the modification to API will be notified to the service providers (or partners)</p>\n<ul>\n<li><p>GLOBALG.A.P. Impact-Driven Approach API use is restricted by the conditions described in this document.</p>\n</li>\n<li><p>The redistribution of data from the GLOBALG.A.P. Impact-Driven Approach IT system (both test and production environments) is prohibited to any party other than the producer benchmarked: It is not the purpose to share data of individual producers (or producer groups) with anyone who is not the same producer (legal entity), or to share resulting information, based on the data, in a way that can expose individual or a group of growers or the sector as such. This data includes, but is not limited to, percentile data of individual producers or physical units derived from the Impact-Driven IT system and average consumption data of peer producers.</p>\n</li>\n<li><p>The collection, aggregation and redistribution of data from GLOBALG.A.P. Impact-Driven Approach IT system is prohibited for any purpose outside the purpose of showing benchmarking data to an individual Producer where the benchmarking data concerns only the Producer in question.</p>\n</li>\n<li><p>Additional requests made by third-party services on customers/partners behalf are strictly prohibited.</p>\n</li>\n<li><p>API partners are not allowed to sell, share, transfer or distribute access codes.</p>\n</li>\n<li><p>When displaying the benchmarking report to the producers, the API partners shall explicitly declare that the benchmarking data is received from GLOBALG.A.P. This shall be made visible to the end users (growers) in their user interface where the benchmarking reports are displayed.</p>\n</li>\n<li><p>In case internal errors are recurrently received, the API partners shall take action to stop sending requests resulting in errors and get in contact with Customer Support of GLOBALG.A.P. to identify and solve the issue.</p>\n</li>\n<li><p>We offer a Test system for the implementation of the Impact-Driven Approach IT API and API partners are asked to make use of this for this purpose. The use of the test environment is meant for the development and testing of the API connection and is bound by the same conditions as the Production environment.</p>\n</li>\n<li><p>The account used for the Impact-Driven Approach API shall be registered with appropriate contact data (phone and email) in order to allow us contacting that person for technical matters.</p>\n</li>\n<li><p>GLOBALG.A.P. does not guarantee the availability of any data, functionality or feature provided by or through the API.</p>\n</li>\n<li><p>To use the GLOBALG.A.P. Impact-Driven Approach API, it is necessary to have prior explicit authorization of GLOBALG.A.P. Any attempt of using the API without authorization from GLOBALG.A.P. is strictly prohibited.</p>\n</li>\n<li><p>Any violation of the policies described above leads to API access revocation, GLOBALG.A.P. could also take any legal actions if necessary.</p>\n</li>\n</ul>\n<h2 id=\"api-limits\">API Limits</h2>\n<ul>\n<li><p>It is strictly forbidden use this API for bulk requests, any detected type of bulk use may lead to API access revocation.</p>\n</li>\n<li><p>Both the number of simultaneous access to the API and the number of operations and errors generated are properly monitored and limited to avoid a misuse of our systems. Going beyond the established limits may result in a temporal blocking.</p>\n</li>\n</ul>\n<h2 id=\"authorization\">Authorization</h2>\n<h3 id=\"json-web-token-jwt\">JSON Web Token (JWT)</h3>\n<p>JSON Web Token (JWT) is an open standard <a href=\"https://tools.ietf.org/html/rfc7519\">RFC 7519</a> that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA.</p>\n<p>JSON Web Token structure consist of three parts separed by dots \".\", which are:</p>\n<ul>\n<li><p>Header</p>\n</li>\n<li><p>Payload</p>\n</li>\n<li><p>Signature</p>\n</li>\n</ul>\n<h4 id=\"header\">Header</h4>\n<p>The header typically consists of two parts: the type of the token, which is JWT, and the signing algorithm being used, such as HMAC SHA256 or RSA.</p>\n<p>A example header:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"alg\": \"HS256\",\n  \"typ\": \"JWT\"\n}\n\n</code></pre>\n<p>This JSON in Base64Url encoded to form the firs part of JWT token</p>\n<h4 id=\"payload\">Payload</h4>\n<p>The second part of the JWT is the payload, which contains the claims. Claims are statements abount an entity and additional data. There are three types of claims:</p>\n<ul>\n<li><p>Registered: These are a set of predefine claims which are not madatory but recommended. Some of the are:</p>\n<ul>\n<li><p>iss (issuer)</p>\n</li>\n<li><p>iat (issued at)</p>\n</li>\n<li><p>exp (expiration time)</p>\n</li>\n<li><p>sub (subject)</p>\n</li>\n<li><p>aud (audience)</p>\n</li>\n</ul>\n</li>\n<li><p>Public: These can be defined at will by those using JWTs. But to avoid collisions they should be defined in the IANA JSON Web Token Registry or be defined as a URI that contains a collision resistant namespace.</p>\n</li>\n<li><p>Private: These are the personalized claims created to share information between the two parties</p>\n</li>\n</ul>\n<p>A example payload:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"fmis\": \"10190910\",\n  \"ggn\": \"0000001000001\",\n}\n\n</code></pre>\n<p>The payload is then Base64Url encoded to form the second part of the JWT.</p>\n<p><strong>NOTE</strong>: In order to recognize the service provider (or API partner (service provider or) (Farm Management Software) the fmis id is needed to be used in the payload of JWT. This id will be given to registered partners of GLOBALG.A.P. In order to recognize the producer whose data concerns, a GGN will be needed to be in the payload. A GGN (GLOBALG.A.P. number) is a unique identifier of producers and each producer associated with a GLOBALG.A.P. standard will have a GGN. In case, a producer also has registered GLN number. A producer shall consult his Certification body for which number shall he use to register in GLOBALG.A.P. IDA system.<br>There will be 3 different cases of payload based on producer’s profile.</p>\n<h3 id=\"1individual-producer\">1.Individual Producer</h3>\n<p>In case a producer is an individual producer, payload example would be</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"fmis\": \"10190910\",\n  \"ggn\": \"0000001000001\"\n}\n\n</code></pre>\n<h3 id=\"2producer-group\">2.Producer Group</h3>\n<p>When producer group is aggregating data for the entire producer group.</p>\n<p>Hint: API partners can ask end-user question in their user-interface to differentiate whether GGN entered by the user belongs to individual GGN or PG-GGN. Please also refer to Note.In case a producer is a producer group, payload example would be</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"fmis\": \"10190910\",\n\"pg-ggn\": \"0000001000001\"\n}\n\n</code></pre>\n<h3 id=\"3-producer-group-member\">3. Producer group member</h3>\n<p>In case producer is a group member of a producer group, then he shall provide both his individual GGN number and also his producer group’s GGN. Payload example would be below. This payload example is for when producer is entering data as a member of the producer group.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  “fmis”: “10190910”,\n  “ggn”: “123456789123”,\n  “pg-ggn”: “0000001000001”\n}\n\n</code></pre>\n<p>Note: Please note that these above scenarios might change for every product producer is growing. Producer might produce a product as a producer group and he might produce a product as an individual producer. Henceforth, the payload would change for different scenarios as this payload provide certain information to the GLOBALG.A.P. IDA system to not only distinguish them as an individual producer or a producer group but also distinguish if the data recorded are aggregated data of a producer group or individual data of a producer.. It is recommended that this payload information must be verified in the user-interface before adding a new crop/specie for the end-user(producer).</p>\n<h4 id=\"signature\">Signature</h4>\n<p>To create the signature part you have to take the encoded header, the encoded payload, a secret, the algorithm specified in the header, and sign that.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-code\">HMACSHA256(\n  base64UrlEncode(header) + \".\" +\n  base64UrlEncode(payload),\n  secret\n)\n\n</code></pre>\n<p>The signature is used to verify the message wasn't changed along the way, and, in the case of tokens signed with a private key, it can also verify that the sender of the JWT is who it says it is</p>\n<p>A example JWT:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-jwt\">eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI\n\n</code></pre>\n<p>Whenever the user wants to access a protected route or resource, the user agent should send the JWT, typically in the Authorization header using the Bearer schema. The content of the header should look like the following:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-html\">Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI\n\n</code></pre>\n<h3 id=\"bearer-authentication\">Bearer Authentication</h3>\n<p>Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. The name “Bearer authentication” can be understood as “give access to the bearer of this token.” The bearer token is a cryptic string, usually generated by the server in response to a login request. The client must send this token in the Authorization header when making requests to protected resources.</p>\n<h2 id=\"response-codes\">Response codes</h2>\n<p>Based in <a href=\"https://tools.ietf.org/html/rfc2616\">RFC2616</a>. Each message contains a header with an HTTP code that categorizes the message in order to automate its processing. The first digit of the Status-Code defines the class of response. The last two digits do not have any categorization role. There are 5 values for the first digit:</p>\n<ul>\n<li><p><strong>1xx:</strong> Informational - Request received, continuing process.</p>\n</li>\n<li><p><strong>2xx:</strong> Success - The action was successfully received, understood, and accepted.</p>\n</li>\n<li><p><strong>3xx:</strong> Redirection - Further action must be taken in order to complete the request.</p>\n</li>\n<li><p><strong>4xx:</strong> Client Error - The request contains bad syntax or cannot be fulfilled.</p>\n</li>\n<li><p><strong>5xx:</strong> Server Error - The server failed to fulfill an apparently valid request.</p>\n</li>\n</ul>\n<p>These are described in the following table along with their numerical values:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>numerical code</th>\n<th>reason</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.1.1\">100</a></td>\n<td>Continue</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.1.2\">101</a></td>\n<td>Switching Protocols</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.2.1\">200</a></td>\n<td>OK</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.2.2\">201</a></td>\n<td>Created</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.2.3\">202</a></td>\n<td>Accepted</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.2.4\">203</a></td>\n<td>Non-Authoritative Information</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.2.5\">204</a></td>\n<td>No Content</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.2.6\">205</a></td>\n<td>Reset Content</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.2.7\">206</a></td>\n<td>Partial Content</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.3.1\">300</a></td>\n<td>Multiple Choices</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.3.2\">301</a></td>\n<td>Moved Permanently</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.3.3\">302</a></td>\n<td>Found</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.3.4\">303</a></td>\n<td>See Other</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.3.5\">304</a></td>\n<td>Not Modified</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.3.6\">305</a></td>\n<td>Use Proxy</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.3.8\">307</a></td>\n<td>Temporary Redirect</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.1\">400</a></td>\n<td>Bad Request</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.2\">401</a></td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.3\">402</a></td>\n<td>Payment Required</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.4\">403</a></td>\n<td>Forbidden</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.5\">404</a></td>\n<td>Not Found</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.6\">405</a></td>\n<td>Method Not Allowed</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.7\">406</a></td>\n<td>Not Acceptable</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.8\">407</a></td>\n<td>Proxy Authentication Required</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.9\">408</a></td>\n<td>Request Time-out</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.10\">409</a></td>\n<td>Conflict</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.11\">410</a></td>\n<td>Gone</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.12\">411</a></td>\n<td>Length Required</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.13\">412</a></td>\n<td>Precondition Failed</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.14\">413</a></td>\n<td>Request Entity Too Large</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.15\">414</a></td>\n<td>Request-URI Too Large</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.16\">415</a></td>\n<td>Unsupported Media Type</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.17\">416</a></td>\n<td>Requested range not satisfiable</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.4.18\">417</a></td>\n<td>Expectation Failed</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.5.1\">500</a></td>\n<td>Internal Server Error</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.5.2\">501</a></td>\n<td>Not Implemented</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.5.3\">502</a></td>\n<td>Bad Gateway</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.5.4\">503</a></td>\n<td>Service Unavailable</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.5.5\">504</a></td>\n<td>Gateway Time-out</td>\n</tr>\n<tr>\n<td><a href=\"https://tools.ietf.org/html/rfc2616#section-10.5.6\">505</a></td>\n<td>HTTP Version not supported</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"date-conventions\">Date Conventions</h2>\n<h3 id=\"iso-8601\">ISO-8601</h3>\n<p>This is specified using the syntax description notation defined in <a href=\"https://tools.ietf.org/html/rfc3339#ref-ABNF\">ABNF</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Common Name</th>\n<th>Format</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date-fullyear</td>\n<td>4DIGIT</td>\n<td>2019</td>\n</tr>\n<tr>\n<td>date-month</td>\n<td>2DIGIT</td>\n<td>01-12</td>\n</tr>\n<tr>\n<td>date-mday</td>\n<td>2DIGIT</td>\n<td>01-28, 01-29, 01-30, 01-31 based on month/year</td>\n</tr>\n<tr>\n<td>time-hour</td>\n<td>2DIGIT</td>\n<td>00-23</td>\n</tr>\n<tr>\n<td>time-minute</td>\n<td>2DIGIT</td>\n<td>00-59</td>\n</tr>\n<tr>\n<td>time-second</td>\n<td>2DIGIT</td>\n<td>00-58, 00-59, 00-60 based on leap second rules</td>\n</tr>\n<tr>\n<td>time-secfrac</td>\n<td>\".\" 1*DIGIT</td>\n<td></td>\n</tr>\n<tr>\n<td>time-numoffset</td>\n<td>(\"+\" / \"-\") time-hour \":\" time-minute</td>\n<td>+7:00</td>\n</tr>\n<tr>\n<td>time-offset</td>\n<td>\"Z\" / time-numoffset</td>\n<td></td>\n</tr>\n<tr>\n<td>partial-time</td>\n<td>time-hour \":\" time-minute \":\" time-second [time-secfrac]</td>\n<td>23:08:15</td>\n</tr>\n<tr>\n<td>full-date</td>\n<td>date-fullyear \"-\" date-month \"-\" date-mday</td>\n<td>2019-01-11</td>\n</tr>\n<tr>\n<td>full-time</td>\n<td>partial-time time-offset</td>\n<td>14:35+7:00</td>\n</tr>\n<tr>\n<td>date-time</td>\n<td>full-date \"T\" full-time</td>\n<td>2019-01-11T14:35+7:00</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"query-parameters\">Query Parameters</h2>\n<p>Query parameters are name/value pairs specified after the resource path, as prescribed in <a href=\"https://tools.ietf.org/html/rfc3986\">RFC 3986</a>.<br>Query string parameters appear after a question mark (?) in the endpoint. The question mark followed by the parameters and their values is referred to as the “query string.” In the query string, each parameter is listed one right after the other with an ampersand (&amp;) separating them. The order of the query string parameters does not matter.</p>\n<p>For example:</p>\n<ul>\n<li><p><code>https://data-driven.globalgap.org/v1/crops/?limit=3&amp;offset=5&amp;sort_by=name&amp;sort_order=desc</code></p>\n</li>\n<li><p><code>https://data-driven.globalgap.org/v1/crops/?limit=23</code></p>\n</li>\n</ul>\n<p>However, with path parameters, the order does matter. If the parameter is part of the actual endpoint (not added after the query string), you usually describe this value in the description of the endpoint itself.</p>\n<h2 id=\"units-of-measurement\">Units of measurement</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>id</th>\n<th>Code</th>\n<th>Description</th>\n<th>Use in module</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>m2</td>\n<td>Area</td>\n<td>Crop, Site</td>\n</tr>\n<tr>\n<td>2</td>\n<td>ha</td>\n<td>Area</td>\n<td>Crop, Site</td>\n</tr>\n<tr>\n<td>3</td>\n<td>kg</td>\n<td>Amount (AI &amp; fertilizer)</td>\n<td>Active Ingredient, Fertilizers</td>\n</tr>\n<tr>\n<td>4</td>\n<td>m3</td>\n<td>Amount (water)</td>\n<td>Water</td>\n</tr>\n<tr>\n<td>5</td>\n<td>kWh</td>\n<td>Amount (energy)</td>\n<td>Energy</td>\n</tr>\n<tr>\n<td>6</td>\n<td>kg/m2</td>\n<td>Intensity (AI &amp; fertilizer)</td>\n<td>Benchmark</td>\n</tr>\n<tr>\n<td>7</td>\n<td>kg/ha</td>\n<td>Intensity (AI &amp; fertilizer)</td>\n<td>Benchmark</td>\n</tr>\n<tr>\n<td>8</td>\n<td>m3/m2</td>\n<td>Intensity (water use)</td>\n<td>Benchmark</td>\n</tr>\n<tr>\n<td>9</td>\n<td>m3/ha</td>\n<td>Intensity (water use)</td>\n<td>Benchmark</td>\n</tr>\n<tr>\n<td>10</td>\n<td>kWh/m2</td>\n<td>Intensity (energy use)</td>\n<td>Benchmark</td>\n</tr>\n<tr>\n<td>11</td>\n<td>kWh/ha</td>\n<td>Intensity (energy use)</td>\n<td>Benchmark</td>\n</tr>\n<tr>\n<td>12</td>\n<td>t</td>\n<td>Tonne of species</td>\n<td>All</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"production-types\">Production Types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>ID</th>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Covered</td>\n<td>Covered crops</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Open field</td>\n<td>Open field</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"functional-logic-of-the-impact-driven-approach-api\">Functional logic of the Impact-Driven Approach API</h2>\n<p>The Impact-Driven API has been designed so that relevant data points can be captured directly from producers' Farm Management Software (FMS) using the API protocols documented in this document. The API has been structured to capture farm level data for product categories such as Flower and Ornamentals, Fruit and Vegetables and Aquaculture. The data points may vary as per the guidelines of GLOBALG.A.P. IDA Add-on for each product category. Please refer to respective folders in this documentation for more details on the data points and how registration of site (s) and crop(s) / batch (es) can be implemented.</p>\n<p>In order to record farm level inputs for Flower and Ornamentals and Fruit and Vegetables through GLOBALG.A.P. Impact-Driven API, FMS shall first need to register information on <strong>physicalsite,</strong> <strong>site</strong> and <strong>crop</strong> of each producers. The Physical site is real physical site. Physical site is to<br>be included for future integration of producer’s master data sharing between different GLOBALG.A.P. systems. In case of Aquaculture producers, FMS shall first need to register <strong>physicalsite</strong> , <strong>site</strong> and <strong>batch</strong> information. These are the building blocks of producer’s data. Once the crop/batch has been created and assigned to a site, the recording of farm level inputs can begin.</p>\n<p><strong>System Compliance</strong><br>As per the General Rules and guidelines of GLOBALG.A.P. Impact-Driven Approach Add-on, producers are required to record data at least once a month. This implies that API partners shall send farm level input consumption metric data, at least, once a calendar month. The API partners can also automatically transfer the data as soon as it has been recorded by the producer in their Farm Management Software but this section defines the minimum frequency of transferring the metric related data to GLOBALG.A.P. Considering real-life scenarios, not all metrics are needed to be recorded every month. Please refer to each metric to see their minimum frequency of recording.</p>\n<p><strong>System Compliance Monitoring</strong><br>GLOBALG.A.P. Impact Driven Approach IT system is designed to monitor above system compliance. GLOBALG.A.P. will share the report with Certification Bodies every month to let them know if producer is sharing data on a monthly basis or not. Certification Bodies will only get reports for the producers they are responsible to audit the IDA Add-ons with. Failing to adhere to compliance, producers may receive sanctions. As per the rules, the producer shall have window of 10 calendar days to digitally register the input consumption metrics data for the previous calendar month after this calendar month has ended. Input consumption metrics can, nevertheless, be reported retroactively for the missing months.</p>\n<p><strong>Zero Input Consumption</strong></p>\n<p>For the months when there is no input consumption in any agricultural production at farm level, API partners need to ensure that zero input consumption shall be recorded by the producer. In order to achieve this and for better user experience, a zero button shall be implemented.</p>\n<p><strong>Recording of Zero Consumption in the GLOBALG.A.P. Impact-Driven Approach API</strong></p>\n<p>The recording of the zero consumption of all the input consumption metrics of each GLOBALG.A.P. Add-on ( IDA Add-on FV, IDA Add-on Aquaculture, IDA Add-on FO) needs to be done explicitly by the producer in months when there is no input been made at farm/site. This is to ensure that GLOBALG.A.P. remains aware of who are actively recording producers.</p>\n<p>Suggestion:<br>Therefore, recording of Zero consumption of any metric can be done in a user-friendly way with a call to action button next to the month/year selector for producers. On the click of that button, the API partners will call the respective POST methods of metric and will record zero amount.</p>\n<p><strong>Benchmark</strong></p>\n<p>The GLOBALG.A.P. Data-Driven IT system is also designed to return <strong>benchmark</strong> data so that the Farm Management Software used by the producer can convert that data to a <strong>benchmark report</strong>. The benchmark data received via the GLOBALG.A.P. Data-Driven API will contain aggregated data based criteria the producer can choose for the producer to understand what is his/her use intensity of farm level inputs within a sample of peer producers. See \"Benchmark\" for more information.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"12988393","collectionId":"bae0f9ed-3afa-4602-a08a-1235793d540b","publishedId":"UVktpYgP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-11-14T10:42:57.000Z"},"item":[{"name":"Geonames","item":[{"name":"Get geo-administrative division","id":"a00ce9bd-2ab8-4d05-9239-551888f562f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/geoname/:country_code?adm1=&adm2=&adm3=&adm4=","description":"<p>Returns geo-administrative division of a country</p>\n","urlObject":{"path":["geoname",":country_code"],"host":["{{url}}"],"query":[{"description":{"content":"<p>A primary administrative division of a country, such as a state in the United States. Optional</p>\n","type":"text/plain"},"key":"adm1","value":""},{"description":{"content":"<p>A subdivision of a first-order administrative division. Optional, if exist required adm1 subdivision</p>\n","type":"text/plain"},"key":"adm2","value":""},{"description":{"content":"<p>A subdivision of a second-order administrative division. Optional, if exist required adm2 subdivision</p>\n","type":"text/plain"},"key":"adm3","value":""},{"description":{"content":"<p>A subdivision of a third-order administrative division. Optional, if exist required adm3 subdivision</p>\n","type":"text/plain"},"key":"adm4","value":""}],"variable":[{"id":"5b98a015-0db6-4890-8a1e-1bb54433ccae","description":{"content":"<p>Country code, ISO-3166</p>\n","type":"text/plain"},"type":"any","value":"","key":"country_code"}]}},"response":[{"id":"1f260b21-e717-4fb6-819e-acba60d0389c","name":"OK adm4","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/geoname/:country_code?adm1=01&adm2=83&adm3=08315&adm4=08315007","host":["{{url}}"],"path":["geoname",":country_code"],"query":[{"key":"adm1","value":"01","description":"A primary administrative division of a country, such as a state in the United States. Optional"},{"key":"adm2","value":"83","description":"A subdivision of a first-order administrative division. Optional, if exist required adm1 subdivision"},{"key":"adm3","value":"08315","description":"A subdivision of a second-order administrative division. Optional, if exist required adm2 subdivision"},{"key":"adm4","value":"08315007","description":"A subdivision of a third-order administrative division. Optional, if exist required adm3 subdivision"}],"variable":[{"key":"country_code","value":"DE","description":"Country code, ISO-3166"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"code\":\"08315007\",\r\n    \"name\":\"Badenweiler\",\r\n    \"adm5\":[]\r\n}"},{"id":"f469b94c-8b20-4e84-8d1f-c356f131609b","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/geoname/:country_code","host":["{{url}}"],"path":["geoname",":country_code"],"variable":[{"key":"country_code","value":"DE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"code\":\"DE\",\n   \"name\":\"Germany\",\n   \"adm1\": [\n      {\n         \"code\":\"01\",\n         \"name\":\"Baden-Württemberg\"\n      },\n      {\n         \"code\":\"02\",\n         \"name\":\"Bavaria\"\n      },\n      {\n         \"code\":\"11\",\n         \"name\":\"Brandenburg\"\n      },\n      {\n         \"code\":\"03\",\n         \"name\":\"Bremen\"\n      },\n      {\n         \"code\":\"04\",\n         \"name\":\"Hamburg\"\n      },\n      {\n         \"code\":\"05\",\n         \"name\":\"Hesse\"\n      },\n      {\n         \"code\":\"16\",\n         \"name\":\"Land Berlin\"\n      },\n      {\n         \"code\":\"06\",\n         \"name\":\"Lower Saxony\"\n      },\n      {\n         \"code\":\"12\",\n         \"name\":\"Mecklenburg-Vorpommern\"\n      },\n      {\n         \"code\":\"07\",\n         \"name\":\"North Rhine-Westphalia\"\n      },\n      {\n         \"code\":\"08\",\n         \"name\":\"Rheinland-Pfalz\"\n      },\n      {\n         \"code\":\"09\",\n         \"name\":\"Saarland\"\n      },\n      {\n         \"code\":\"13\",\n         \"name\":\"Saxony\"\n      },\n      {\n         \"code\":\"14\",\n         \"name\":\"Saxony-Anhalt\"\n      },\n      {\n         \"code\":\"10\",\n         \"name\":\"Schleswig-Holstein\"\n      },\n      {\n         \"code\":\"15\",\n         \"name\":\"Thuringia\"\n      }\n   ]\n}"},{"id":"97773a9a-5ccc-41a5-bad8-b0e2ed05bcb8","name":"OK adm3","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/geoname/:country_code?adm1=01&adm2=83&adm3=08315","host":["{{url}}"],"path":["geoname",":country_code"],"query":[{"key":"adm1","value":"01","description":"A primary administrative division of a country, such as a state in the United States. Optional"},{"key":"adm2","value":"83","description":"A subdivision of a first-order administrative division. Optional, if exist required adm1 subdivision"},{"key":"adm3","value":"08315","description":"A subdivision of a second-order administrative division. Optional, if exist required adm2 subdivision"}],"variable":[{"key":"country_code","value":"DE","description":"Country code, ISO-3166"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"code\":\"08315\",\r\n    \"name\":\"Landkreis Breisgau-Hochschwarzwald\",\r\n    \"adm4\": [\r\n        {\r\n            \"code\":\"08315003\",\r\n            \"name\":\"Au\"\r\n        },\r\n        {\r\n            \"code\":\"08315004\",\r\n            \"name\":\"Auggen\"\r\n        },\r\n        {\r\n            \"code\":\"08315006\",\r\n            \"name\":\"Bad Krozingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315007\",\r\n            \"name\":\"Badenweiler\"\r\n        },\r\n        {\r\n            \"code\":\"08315008\",\r\n            \"name\":\"Ballrechten-Dottingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315014\",\r\n            \"name\":\"Bollschweil\"\r\n        },\r\n        {\r\n            \"code\":\"08315013\",\r\n            \"name\":\"Bötzingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315015\",\r\n            \"name\":\"Breisach am Rhein\"\r\n        },\r\n        {\r\n            \"code\":\"08315016\",\r\n            \"name\":\"Breitnau\"\r\n        },\r\n        {\r\n            \"code\":\"08315020\",\r\n            \"name\":\"Buchenbach\"\r\n        },\r\n        {\r\n            \"code\":\"08315022\",\r\n            \"name\":\"Buggingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315028\",\r\n            \"name\":\"Ebringen\"\r\n        },\r\n        {\r\n            \"code\":\"08315131\",\r\n            \"name\":\"Ehrenkirchen\"\r\n        },\r\n        {\r\n            \"code\":\"08315030\",\r\n            \"name\":\"Eichstetten am Kaiserstuhl\"\r\n        },\r\n        {\r\n            \"code\":\"08315031\",\r\n            \"name\":\"Eisenbach (Hochschwarzwald)\"\r\n        },\r\n        {\r\n            \"code\":\"08315033\",\r\n            \"name\":\"Eschbach\"\r\n        },\r\n        {\r\n            \"code\":\"08315037\",\r\n            \"name\":\"Feldberg\"\r\n        },\r\n        {\r\n            \"code\":\"08315039\",\r\n            \"name\":\"Friedenweiler\"\r\n        },\r\n        {\r\n            \"code\":\"08315041\",\r\n            \"name\":\"Glottertal\"\r\n        },\r\n        {\r\n            \"code\":\"08315043\",\r\n            \"name\":\"Gottenheim\"\r\n        },\r\n        {\r\n            \"code\":\"08315047\",\r\n            \"name\":\"Gundelfingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315048\",\r\n            \"name\":\"Hartheim\"\r\n        },\r\n        {\r\n            \"code\":\"08315050\",\r\n            \"name\":\"Heitersheim\"\r\n        },\r\n        {\r\n            \"code\":\"08315051\",\r\n            \"name\":\"Heuweiler\"\r\n        },\r\n        {\r\n            \"code\":\"08315052\",\r\n            \"name\":\"Hinterzarten\"\r\n        },\r\n        {\r\n            \"code\":\"08315056\",\r\n            \"name\":\"Horben\"\r\n        },\r\n        {\r\n            \"code\":\"08315059\",\r\n            \"name\":\"Ihringen\"\r\n        },\r\n        {\r\n            \"code\":\"08315064\",\r\n            \"name\":\"Kirchzarten\"\r\n        },\r\n        {\r\n            \"code\":\"08315068\",\r\n            \"name\":\"Lenzkirch\"\r\n        },\r\n        {\r\n            \"code\":\"08315070\",\r\n            \"name\":\"Löffingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315132\",\r\n            \"name\":\"March\"\r\n        },\r\n        {\r\n            \"code\":\"08315072\",\r\n            \"name\":\"Merdingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315073\",\r\n            \"name\":\"Merzhausen\"\r\n        },\r\n        {\r\n            \"code\":\"08315074\",\r\n            \"name\":\"Müllheim\"\r\n        },\r\n        {\r\n            \"code\":\"08315130\",\r\n            \"name\":\"Münstertal\"\r\n        },\r\n        {\r\n            \"code\":\"08315076\",\r\n            \"name\":\"Neuenburg am Rhein\"\r\n        },\r\n        {\r\n            \"code\":\"08315084\",\r\n            \"name\":\"Oberried\"\r\n        },\r\n        {\r\n            \"code\":\"08315089\",\r\n            \"name\":\"Pfaffenweiler\"\r\n        },\r\n        {\r\n            \"code\":\"08315098\",\r\n            \"name\":\"Schallstadt\"\r\n        },\r\n        {\r\n            \"code\":\"08315102\",\r\n            \"name\":\"Schluchsee\"\r\n        },\r\n        {\r\n            \"code\":\"08315107\",\r\n            \"name\":\"Sölden\"\r\n        },\r\n        {\r\n            \"code\":\"08315094\",\r\n            \"name\":\"St. Märgen\"\r\n        },\r\n        {\r\n            \"code\":\"08315095\",\r\n            \"name\":\"St. Peter\"\r\n        },\r\n        {\r\n            \"code\":\"08315108\",\r\n            \"name\":\"Staufen im Breisgau\"\r\n        },\r\n        {\r\n            \"code\":\"08315109\",\r\n            \"name\":\"Stegen\"\r\n        },\r\n        {\r\n            \"code\":\"08315111\",\r\n            \"name\":\"Sulzburg\"\r\n        },\r\n        {\r\n            \"code\":\"08315113\",\r\n            \"name\":\"Titisee-Neustadt\"\r\n        },\r\n        {\r\n            \"code\":\"08315115\",\r\n            \"name\":\"Umkirch\"\r\n        },\r\n        {\r\n            \"code\":\"08315133\",\r\n            \"name\":\"Vogtsburg im Kaiserstuhl\"\r\n        },\r\n        {\r\n            \"code\":\"08315125\",\r\n            \"name\":\"Wittnau\"\r\n        }\r\n    ]\r\n}"},{"id":"0b7bd1ea-f5ba-4b35-989d-3edff0eb3ba1","name":"OK adm1","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/geoname/:country_code?adm1=01","host":["{{url}}"],"path":["geoname",":country_code"],"query":[{"key":"adm1","value":"01","description":"A primary administrative division of a country, such as a state in the United States. Optional"}],"variable":[{"key":"country_code","value":"DE","description":"Country code, ISO-3166"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"code\":\"01\",\r\n    \"name\":\"Baden-Württemberg\",\r\n    \"adm2\":[\r\n        {\r\n            \"code\":\"083\",\r\n            \"name\":\"Freiburg Region\"\r\n        },\r\n        {\r\n            \"code\":\"082\",\r\n            \"name\":\"Karlsruhe Region\"\r\n        },\r\n        {\r\n            \"code\":\"081\",\r\n            \"name\":\"Regierungsbezirk Stuttgart\"\r\n        },\r\n        {\r\n            \"code\":\"084\",\r\n            \"name\":\"Tübingen Region\"\r\n        }\r\n    ]\r\n}"},{"id":"907782ff-d777-4658-9d3c-4c113c004ec1","name":"OK adm2","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/geoname/:country_code?adm1=01&adm2=083","host":["{{url}}"],"path":["geoname",":country_code"],"query":[{"key":"adm1","value":"01","description":"A primary administrative division of a country, such as a state in the United States. Optional"},{"key":"adm2","value":"083","description":"A subdivision of a first-order administrative division. Optional, if exist required adm1 subdivision"}],"variable":[{"key":"country_code","value":"DE","description":"Country code, ISO-3166"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"code\":\"083\",\r\n    \"name\":\"Freiburg Region\",\r\n    \"adm2\": [\r\n        {\r\n            \"code\":\"08311\",\r\n            \"name\":\"Freiburg im Breisgau\"\r\n        },\r\n        {\r\n            \"code\":\"08315\",\r\n            \"name\":\"Landkreis Breisgau-Hochschwarzwald\"\r\n        },\r\n        {\r\n            \"code\":\"08316\",\r\n            \"name\":\"Landkreis Emmendingen\"\r\n        },\r\n        {\r\n            \"code\":\"08335\",\r\n            \"name\":\"Landkreis Konstanz\"\r\n        },\r\n        {\r\n            \"code\":\"08336\",\r\n            \"name\":\"Landkreis Lörrach\"\r\n        },\r\n        {\r\n            \"code\":\"08325\",\r\n            \"name\":\"Landkreis Rottweil\"\r\n        },\r\n        {\r\n            \"code\":\"08327\",\r\n            \"name\":\"Landkreis Tuttlingen\"\r\n        },\r\n        {\r\n            \"code\":\"08337\",\r\n            \"name\":\"Landkreis Waldshut\"\r\n        },\r\n        {\r\n            \"code\":\"08317\",\r\n            \"name\":\"Ortenaukreis\"\r\n        },\r\n        {\r\n            \"code\":\"08326\",\r\n            \"name\":\"Schwarzwald-Baar-Kreis\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"a00ce9bd-2ab8-4d05-9239-551888f562f8"}],"id":"6d0b0385-f23b-48b2-ac1e-f92ead8f0e58","description":"<p>Module to get geo-administrative division of a country</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"73d16921-1d8f-436e-9dd1-eb712d52c277"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"8865ead0-8453-4b6a-adb2-bda003e39041"}}],"_postman_id":"6d0b0385-f23b-48b2-ac1e-f92ead8f0e58","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"IDA Aquaculture","item":[{"name":"Physical Sites","item":[{"name":"Get physical site","id":"9a6dab12-0aa3-4e06-83c4-04b64c8a5361","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site/:id","description":"<h3 id=\"get-physical-site-by-id\">Get Physical Site by ID</h3>\n<p>This endpoint retrieves the details of a physical site based on the provided ID.</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"c73c7f40-d40e-4800-8d74-3f6c14ddc65e","type":"any","value":"13","key":"id"}]}},"response":[{"id":"b4581301-6073-4094-94f0-2879b3856543","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"181835ac-71e6-4ac4-9531-091c4c56ff37","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"0288a478-6d1f-414f-94b1-d8ee60629861","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"}],"_postman_id":"9a6dab12-0aa3-4e06-83c4-04b64c8a5361"},{"name":"Get List physical sites","id":"d5057aa6-e48d-4322-9289-4a66ebf9fddc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq1}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site","description":"<p>Get list of physical sites of the producer.</p>\n","urlObject":{"path":["physical_site"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"d481593f-d3bc-4aaa-8933-4358960ad111","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"f1721ab7-0c30-49c1-9688-3297de45b197","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"5b15c153-0eae-4288-aa98-1e0206b09e1a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"}],"_postman_id":"d5057aa6-e48d-4322-9289-4a66ebf9fddc"},{"name":"Add physical site","id":"b7b9fc8c-4eb5-4a87-ab73-eeda60486118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"AQ Test Producer physical site\",\r\n    \"street\": \"Teststreet\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"Test City\",\r\n    \"country\": \"Testland\",\r\n    \"latitude\": 32.4038,\r\n    \"longitude\": 158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/physical_site","description":"<h3 id=\"add-a-new-physical-site-of-producer\">Add a new physical site of producer</h3>\n<p>Add a new physical site of producer in the GG database. This physical site can also be the registered site of a producer or the site where produce handling takes place.</p>\n<p><strong>Request Body</strong></p>\n<ul>\n<li>Raw</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"name\": \"AQ Test Producer physical site\",\n  \"street\": \"Teststreet\",\n  \"number\": 44,\n  \"zip_code\": \"E205\",\n  \"city\": \"Test City\",\n  \"country\": \"Testland\",\n  \"latitude\": 32.4038,\n  \"longitude\": 158.843\n}\n\n</code></pre>\n<h4 id=\"possible-responses\">Possible Responses</h4>\n<ul>\n<li><p><strong>Status: 201</strong></p>\n<ul>\n<li><p><strong>Content-Type:</strong> application/json</p>\n</li>\n<li><p>{ \"id\": 0, \"name\": \"\", \"street\": \"\", \"number\": 0, \"zip_code\": \"\", \"city\": \"\", \"country\": \"\", \"latitude\": 0, \"longitude\": 0}<br />  Example:{ \"id\": 0, \"name\": \"\", \"street\": \"\", \"number\": 0, \"zip_code\": \"\", \"city\": \"\", \"country\": \"\", \"latitude\": 0, \"longitude\": 0}</p>\n</li>\n</ul>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of physical site</td>\n</tr>\n<tr>\n<td>Street</td>\n<td>0</td>\n<td>String</td>\n<td>Street address of physical site</td>\n</tr>\n<tr>\n<td>Number</td>\n<td>0</td>\n<td>Integer</td>\n<td>Plot number</td>\n</tr>\n<tr>\n<td>zip_code</td>\n<td>0</td>\n<td>String</td>\n<td>Zipcode of physical site</td>\n</tr>\n<tr>\n<td>Country</td>\n<td>0</td>\n<td>String</td>\n<td>Country</td>\n</tr>\n<tr>\n<td>Latitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Geolocation of the site in terms of latitude: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n<tr>\n<td>Longitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Geolocation of the site in terms of Longitude: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["physical_site"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"e8fac026-1ed3-41d9-bb32-09f0c9b255b0","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/physical_site"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"2625a157-e39f-40c0-8a2d-fa2b1313c571","name":"Add physical site","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"AQ Test Producer physical site\",\r\n    \"street\": \"Teststreet\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"Test City\",\r\n    \"country\": \"Testland\",\r\n    \"latitude\": 32.4038,\r\n    \"longitude\": 158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/physical_site"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 15 Apr 2025 07:15:35 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"181"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 524,\n    \"name\": \"AQ Test Producer physical site\",\n    \"street\": \"Teststreet\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"Test City\",\n    \"country\": \"Testland\",\n    \"latitude\": 32.4038,\n    \"longitude\": 158.843\n}"}],"_postman_id":"b7b9fc8c-4eb5-4a87-ab73-eeda60486118"},{"name":"Delete physical site","id":"ca094e03-f3b1-4d05-9f13-d911cc6cfa5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site/:id","description":"<p>Delete a physical site by id</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"a09e92a6-ef1b-4414-820c-12a89b23ffa9","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"bf96dad5-b315-4867-b1de-555808f04573","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ca094e03-f3b1-4d05-9f13-d911cc6cfa5b"},{"name":"Modify physical site","id":"8db4a92a-74d7-4b17-a404-f690818e429e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Las gangarras\",\r\n   \"description\":\"Description\",\r\n   \"longitude\": 39.535364,\r\n   \"latitude\": -5.485074,\r\n   \"total_area\":150\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/physical_site/:id","description":"<p>Modify a physical site by id</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"85cf31c6-e01b-44ab-a5a7-9f4659079be2","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"a0ff3766-f59c-4ee9-9208-4aab0d29db19","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"number\":125\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 1,\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 125,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}"}],"_postman_id":"8db4a92a-74d7-4b17-a404-f690818e429e"}],"id":"d6a2be45-9ded-4456-89aa-26ac10127edb","description":"<p>Module to manage physical sites.</p>\n<p>The physical site should be a representation of real-life sites the producer has and over that large physical site (or farm ) can be many logical sites on which many different crops are grown. Please refer to physical site module to know the data-model to register physical site.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c529ecfd-1a65-4979-9e39-95e751db9f92"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9f58a405-72bb-4080-85cc-812a120b9131"}}],"_postman_id":"d6a2be45-9ded-4456-89aa-26ac10127edb","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Sites","item":[{"name":"List sites","event":[{"listen":"test","script":{"id":"d20f17fe-4ad2-4ab0-898b-5e1dc4c838d6","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c8874f29-f67e-4d1c-a48e-4aa115296756","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{URL}}/sites?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of active sites you’ve previously created. The sites applications are returned in sorted order.</p>\n","urlObject":{"path":["sites"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"fbff15f9-7944-442a-8e1c-1079a6051bd0","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites?limit=2","host":["{{url}}"],"path":["sites"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Madrid\",\n         \"description\":\"Description 1\",\n         \"total_area\":175,\n         \"net_area\":125,          //Calculated using the “area” field from the Crop entity\n         \"unit_measure_id\":2,     //Unit of measure is hectares\n         \"fmis_id\":1,\n         \"producer_id\":1,\n         \"geoname_id\":1\n      },\n      {\n         \"id\":2,\n         \"name\":\"Sevilla\",\n         \"description\":\"Description 2\",\n         \"total_area\":150,\n         \"net_area\":125,          //Calculated using the “area” field from the Crop entity\n         \"unit_measure_id\":2,     //Unit of measure is hectares\n         \"fmis_id\":1,\n         \"producer_id\":1,\n         \"geoname_id\":1\n      }\n   ],\n   \"total\":3\n}"}],"_postman_id":"c8874f29-f67e-4d1c-a48e-4aa115296756"},{"name":"Get site","id":"4aa61f22-750d-4955-8578-c1da86bbabf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/sites/:id","description":"<p>Get the site data</p>\n","urlObject":{"path":["sites",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"31fada0f-283b-42b1-8c6b-09da268b4acb","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"d82a422c-03b5-4260-ac27-a398ee57626d","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"2c2bc88f-b240-4c17-abee-441d8e4b5b95","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"},{"id":"e7ffea8f-a98d-4655-95f4-3bb62065e994","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Madrid\",\n   \"description\":\"Description 1\",\n   \"total_area\":120,\n   \"net_area\":100,          //Calculated using the “area” field from the Crop entity\n   \"unit_measure_id\":2,     //Unit of measure is hectares\n   \"fmis_id\":1,\n   \"producer_id\":1,\n   \"geoname_id\":1\n}"}],"_postman_id":"4aa61f22-750d-4955-8578-c1da86bbabf9"},{"name":"Add site","id":"c80675e5-4c04-44b6-960d-1c7ca6c1d914","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Las gangarras\",\r\n   \"description\":\"Description\",\r\n   \"longitude\": 39.535364,\r\n   \"latitude\": -5.485074,\r\n   \"total_area\":150\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/sites","description":"<p>Add a new site where production takes place. Batches are grown on a site and therefore site must be created first. Also, physical site must be created before creating a site because every (logical) site must be associated with one physical site.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the site</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>Description of the site</td>\n</tr>\n<tr>\n<td>type</td>\n<td>0</td>\n<td>String</td>\n<td>Type of the site will be \"Aqua\".</td>\n</tr>\n<tr>\n<td>total_area</td>\n<td>0</td>\n<td>Decimal</td>\n<td>Total gross area of site in hectares. However, when it is \"Aqua\" site, this is not mandatory and can be set to 0.</td>\n</tr>\n<tr>\n<td>Longitude/latitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Coordinates to indicate location of site: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n<tr>\n<td>physical_site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which physical site this site is associated with.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["sites"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"d8d1bf47-6399-43a2-9837-4039c0c265dd","name":"Add site","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"            {\r\n            \"name\": \"The Salmon site\",\r\n            \"type\": \"Aqua\",\r\n            \"description\": \"The salmons are grown\",              \r\n            \"total_area\" : 100,\r\n            \"longitude\" : -3.703790,\r\n            \"latitude\" : 40.416775,\r\n            \"physical_site_id\":   12      \r\n            }","options":{"raw":{"language":"json"}}},"url":"{{URL}}/sites"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Feb 2022 16:23:53 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"327"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 28,\n    \"name\": \"The Salmon site\",\n    \"type\": \"Aqua\",\n    \"description\": \"The salmons are grown\",\n    \"total_area\": 100,\n    \"net_area\": 0,\n    \"unit_measure_id\": 2,\n    \"fmis_id\": 2,\n    \"geoname\": {\n        \"id\": 36,\n        \"latitude\": 40.416775,\n        \"longitude\": -3.70379,\n        \"name\": \"Centro\",\n        \"country_code\": \"ES\",\n        \"admin1\": \"29\",\n        \"admin2\": \"M\",\n        \"admin3\": \"28079\",\n        \"admin4\": \"1\"\n    },\n    \"physical_site_id\": 12\n}"}],"_postman_id":"c80675e5-4c04-44b6-960d-1c7ca6c1d914"},{"name":"Delete site","id":"2f6b562d-cdac-40a3-8aaf-a2384aabb1b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/sites/:id","description":"<p>Delete a site</p>\n","urlObject":{"path":["sites",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"774391ff-6d7c-4193-9621-eae0d851c9d7","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"36503428-0798-4279-b14d-82bf88a619fa","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2f6b562d-cdac-40a3-8aaf-a2384aabb1b0"},{"name":"Modify site","id":"c74275f5-ca52-4012-a901-6cee92ac6d51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Las gangarras\",\r\n   \"description\":\"Description\",\r\n   \"longitude\": 39.535364,\r\n   \"latitude\": -5.485074,\r\n   \"total_area\":150\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/sites/:id","description":"<p>Modify site data</p>\n","urlObject":{"path":["sites",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"845828db-0995-45f7-a2b4-4905e54fe85f","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"2324b118-e94a-4dfb-941e-c3200e8d8ba4","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"total_area\":125\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   \"id\":1,\r\n   \"name\":\"Las gangarras\",\r\n   \"description\":\"Description\",\r\n   \"longitude\": 39.535364,\r\n   \"latitude\": -5.485074,\r\n   \"total_area\":125,\r\n   \"net_area\":125,         //Calculated using the “area” field from the Crop entity\r\n   \"unit_measure_id\":2     //Unit of measure is hectares\r\n}"}],"_postman_id":"c74275f5-ca52-4012-a901-6cee92ac6d51"}],"id":"3e3bdfdd-b5e5-4324-9c2d-773a847fd17c","description":"<p>Module to manage logical sites of Aquaculture.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7886c514-d2f7-46fd-a31f-ae1e86edc643"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d3d3c890-50ba-49eb-8dfd-ce68cb96b95d"}}],"_postman_id":"3e3bdfdd-b5e5-4324-9c2d-773a847fd17c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Batches","item":[{"name":"Water Types","item":[{"name":"List waters types","id":"54887d70-587f-42d8-a237-2acc296736ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/water_types?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production soils type you’ve previously loaded. The production soils type are returned in sorted order.</p>\n","urlObject":{"path":["water_types"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"570ce6e5-7368-4188-815e-0ea30753eb83","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/water_types?limit=2","host":["{{url}}"],"path":["water_types"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n        {\n            \"id\": 1,\n            \"name\": \"Sea\",\n            \"description\": \"Sea Water\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Surface\",\n            \"description\": \"Surface Water\"\n        }\n   ],\n   \"total\":3\n}"}],"_postman_id":"54887d70-587f-42d8-a237-2acc296736ca"},{"name":"Get water type","id":"efdb82e4-c000-4944-b49b-abec2425005c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/water_types/:id","description":"<p>Get the production soil type</p>\n","urlObject":{"path":["water_types",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"5c49f1bb-31af-464f-8108-e12114cb1602","description":{"content":"<p>Production soil type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"1ee95509-106a-41c8-8080-41093aa1d2f8","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/soil/type/:id","host":["{{url}}"],"path":["soil","type",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Soil type 1\",\n   \"description\":\"Description 1\"\n}"}],"_postman_id":"efdb82e4-c000-4944-b49b-abec2425005c"}],"id":"9bb10844-5116-4bb6-b50a-da2f6aa91822","_postman_id":"9bb10844-5116-4bb6-b50a-da2f6aa91822","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Production","item":[{"name":"Type Aquaculture","item":[{"name":"List aquaculture production types","id":"371e9784-3e1f-42e8-9f01-bd0ac4a8d425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/production/type/aquaculture?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production types you’ve previously loaded. The production types are returned in sorted order. There are currently two types of production types in the Data-Driven API: <strong>Covered</strong> and <strong>Open field</strong>.</p>\n","urlObject":{"path":["production","type","aquaculture"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"d7f895b4-2b90-40df-b824-bbd8b63b63f4","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type?limit=2","host":["{{url}}"],"path":["production","type"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Covered\",\n         \"description\":\"Crops where their production is covered\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Open field\",\n         \"description\":\"Crops where their production is open field\"\n      }\n   ],\n   \"total\":2\n}"}],"_postman_id":"371e9784-3e1f-42e8-9f01-bd0ac4a8d425"},{"name":"Get aquaculture production type","id":"6d90ccfa-c4c8-43b1-9ae7-b6c039ab7850","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{URL}}/production/type/aquaculture/:id","description":"<p>Get the production type. Production types are <strong>covered</strong> and <strong>open field</strong></p>\n","urlObject":{"path":["production","type","aquaculture",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"714aef22-d32e-4c0d-b742-4c8a811851e4","description":{"content":"<p>Production type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"972e9d10-79f3-4571-8377-e8a8f97fe407","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type/:id","host":["{{url}}"],"path":["production","type",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Covered\",\n   \"description\":\"Crops where their production is covered\"\n}"}],"_postman_id":"6d90ccfa-c4c8-43b1-9ae7-b6c039ab7850"}],"id":"00a346a5-d4ec-43dd-84fa-ffc0ce3508ed","description":"<p>Module to manage the production types</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"34c9edb8-2c20-47e8-91e4-161412bcdc42"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6e56b858-2bf8-48c4-9995-d1c108c5a0b3"}}],"_postman_id":"00a346a5-d4ec-43dd-84fa-ffc0ce3508ed","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"d2f486a8-935e-48d5-b731-d4368611b391","description":"<p>Module to manage the production</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a09b4f06-c4f2-4d5a-ac06-63a7e5385936"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"284b17d3-96c2-4dbe-bddc-69c013986218"}}],"_postman_id":"d2f486a8-935e-48d5-b731-d4368611b391","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Product","item":[{"name":"Category","item":[{"name":"List the product categories","id":"0230523c-afa6-4f65-a085-76eaf1a84640","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/product/category?limit=&offset=&sort_by=&sort_order=&supra_category=Aquaculture","description":"<p>Returns a list of product categories you’ve previously loaded. The product categoriess are returned in sorted order.</p>\n","urlObject":{"path":["product","category"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""},{"key":"supra_category","value":"Aquaculture"}],"variable":[]}},"response":[{"id":"b9008921-036e-4ee2-b9fb-658f07b176ea","name":"Aquaculture product categories","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{URL}}/product/category?limit=&offset=&sort_by=&sort_order=&supra_category=Aquaculture","host":["{{URL}}"],"path":["product","category"],"query":[{"key":"limit","value":"","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":"","description":"The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0"},{"key":"sort_by","value":"","description":"Sort the items by a field"},{"key":"sort_order","value":"","description":"Sorts the list in the response in descending/ascending order. Default ASC"},{"key":"supra_category","value":"Aquaculture"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Feb 2022 12:25:18 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"14296"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 338,\n            \"name\": \"Atlantic salmon [Salmo salar]\",\n            \"description\": \"Atlantic salmon [Salmo salar]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 339,\n            \"name\": \"Coho salmon [Oncorhynchus kisutch]\",\n            \"description\": \"Coho salmon [Oncorhynchus kisutch]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 340,\n            \"name\": \"Chinook salmon [Oncorhynchus tshawytscha]\",\n            \"description\": \"Chinook salmon [Oncorhynchus tshawytscha]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 341,\n            \"name\": \"Salmon trout [Salmo trutta trutta]\",\n            \"description\": \"Salmon trout [Salmo trutta trutta]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 342,\n            \"name\": \"Rainbow trout [Oncorhynchus mykiss]\",\n            \"description\": \"Rainbow trout [Oncorhynchus mykiss]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 343,\n            \"name\": \"Arctic char [Salvelinus alpinus]\",\n            \"description\": \"Arctic char [Salvelinus alpinus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 344,\n            \"name\": \"Nile tilapia [Oreochromis niloticus]\",\n            \"description\": \"Nile tilapia [Oreochromis niloticus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 345,\n            \"name\": \"Mozambique tilapia [Oreochromis mossambica/Oreochromis mossambicus]\",\n            \"description\": \"Mozambique tilapia [Oreochromis mossambica/Oreochromis mossambicus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 346,\n            \"name\": \"Blue tilapia [Oreochromis aureus]\",\n            \"description\": \"Blue tilapia [Oreochromis aureus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 347,\n            \"name\": \"Pangasius tra [Pangasianodon hypophthalmus]\",\n            \"description\": \"Pangasius tra [Pangasianodon hypophthalmus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 348,\n            \"name\": \"Pangasius basa [Pangasius bocourti]\",\n            \"description\": \"Pangasius basa [Pangasius bocourti]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 349,\n            \"name\": \"European sea bass [Dicentrarchus labrax]\",\n            \"description\": \"European sea bass [Dicentrarchus labrax]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 350,\n            \"name\": \"Gilthead sea bream [Sparus aurata]\",\n            \"description\": \"Gilthead sea bream [Sparus aurata]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 351,\n            \"name\": \"Pirapitinga [Piaractus brachypomus]\",\n            \"description\": \"Pirapitinga [Piaractus brachypomus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 352,\n            \"name\": \"Tambaqui [Colossoma macropomum]\",\n            \"description\": \"Tambaqui [Colossoma macropomum]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 353,\n            \"name\": \"Pacu [Piaractus mesopotamicus]\",\n            \"description\": \"Pacu [Piaractus mesopotamicus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 354,\n            \"name\": \"Tambacu [Colossoma macropomum × Piaractus mesopotamicus]\",\n            \"description\": \"Tambacu [Colossoma macropomum × Piaractus mesopotamicus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 355,\n            \"name\": \"Piraputanga [Brycon hilarii]\",\n            \"description\": \"Piraputanga [Brycon hilarii]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 356,\n            \"name\": \"Matrinxã [Brycon cephalus]\",\n            \"description\": \"Matrinxã [Brycon cephalus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 357,\n            \"name\": \"Cobia [Rachycentron canadum]\",\n            \"description\": \"Cobia [Rachycentron canadum]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 358,\n            \"name\": \"Channel catfish [Ictalurus punctatus]\",\n            \"description\": \"Channel catfish [Ictalurus punctatus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 359,\n            \"name\": \"North African catfish [Clarias gariepinus]\",\n            \"description\": \"North African catfish [Clarias gariepinus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 360,\n            \"name\": \"Sampa (vundu) [Heterobranchus longifilis]\",\n            \"description\": \"Sampa (vundu) [Heterobranchus longifilis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 361,\n            \"name\": \"Wels catfish [Silurus glanis]\",\n            \"description\": \"Wels catfish [Silurus glanis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 362,\n            \"name\": \"Spotted sorubim [Pseudoplatystoma corruscans]\",\n            \"description\": \"Spotted sorubim [Pseudoplatystoma corruscans]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 363,\n            \"name\": \"Barred sorubim [Pseudoplatystoma fasciatum]\",\n            \"description\": \"Barred sorubim [Pseudoplatystoma fasciatum]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 364,\n            \"name\": \"Barramundi [Lates calcarifer]\",\n            \"description\": \"Barramundi [Lates calcarifer]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 365,\n            \"name\": \"Yellowtail kingfish [Seriola lalandi]\",\n            \"description\": \"Yellowtail kingfish [Seriola lalandi]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 366,\n            \"name\": \"Atlantic halibut [Hippoglossus hippoglossus]\",\n            \"description\": \"Atlantic halibut [Hippoglossus hippoglossus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 367,\n            \"name\": \"Meagre [Argyrosomus regius]\",\n            \"description\": \"Meagre [Argyrosomus regius]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 368,\n            \"name\": \"Turbot [Scophthalmus maximus]\",\n            \"description\": \"Turbot [Scophthalmus maximus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 369,\n            \"name\": \"Giant tiger prawn [Penaeus monodon]\",\n            \"description\": \"Giant tiger prawn [Penaeus monodon]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 370,\n            \"name\": \"Kuruma prawn [Penaeus japonicus]\",\n            \"description\": \"Kuruma prawn [Penaeus japonicus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 371,\n            \"name\": \"Green tiger prawn [Penaeus semisulcatus]\",\n            \"description\": \"Green tiger prawn [Penaeus semisulcatus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 372,\n            \"name\": \"Whiteleg shrimp [Litopenaeus vannamei]\",\n            \"description\": \"Whiteleg shrimp [Litopenaeus vannamei]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 373,\n            \"name\": \"Indian white prawn [Penaeus indicus]\",\n            \"description\": \"Indian white prawn [Penaeus indicus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 374,\n            \"name\": \"Speckled prawn [Metapenaeus monoceros]\",\n            \"description\": \"Speckled prawn [Metapenaeus monoceros]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 375,\n            \"name\": \"Giant river prawn [Macrobachium rosenbergii]\",\n            \"description\": \"Giant river prawn [Macrobachium rosenbergii]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 376,\n            \"name\": \"Red swamp crawfish [Procambarus clarkii]\",\n            \"description\": \"Red swamp crawfish [Procambarus clarkii]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 377,\n            \"name\": \"White prawn [Penaeus merguiensis]\",\n            \"description\": \"White prawn [Penaeus merguiensis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 378,\n            \"name\": \"Greasyback shrimp [Metapenaeus ensis]\",\n            \"description\": \"Greasyback shrimp [Metapenaeus ensis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 379,\n            \"name\": \"American cupped oyster [Crassostrea virginica]\",\n            \"description\": \"American cupped oyster [Crassostrea virginica]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 380,\n            \"name\": \"Pacific cupped oyster [Crassostrea gigas]\",\n            \"description\": \"Pacific cupped oyster [Crassostrea gigas]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 381,\n            \"name\": \"European flat oyster [Ostrea edulis]\",\n            \"description\": \"European flat oyster [Ostrea edulis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 382,\n            \"name\": \"Yesso scallop [Patinopecten yessoensis]\",\n            \"description\": \"Yesso scallop [Patinopecten yessoensis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 383,\n            \"name\": \"Chilean-Peruvian scallop [Argopecten purpuratus]\",\n            \"description\": \"Chilean-Peruvian scallop [Argopecten purpuratus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 384,\n            \"name\": \"Red abalone [Haliotis rufescens]\",\n            \"description\": \"Red abalone [Haliotis rufescens]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 385,\n            \"name\": \"Blue mussel [Mytilus edulis]\",\n            \"description\": \"Blue mussel [Mytilus edulis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 386,\n            \"name\": \"Chilean mussel [Mytilus chilensis]\",\n            \"description\": \"Chilean mussel [Mytilus chilensis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 388,\n            \"name\": \"Mediterranean mussel [Mytilus galloprovincialis]\",\n            \"description\": \"Mediterranean mussel [Mytilus galloprovincialis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 389,\n            \"name\": \"New Zealand mussel [Perna canaliculus]\",\n            \"description\": \"New Zealand mussel [Perna canaliculus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 410,\n            \"name\": \"Common carp [Cyprinus carpio]\",\n            \"description\": \"Common carp [Cyprinus carpio]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 411,\n            \"name\": \"Pike-perch/Zander [Sander lucioperca]\",\n            \"description\": \"Pike-perch/Zander [Sander lucioperca]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 417,\n            \"name\": \"Brook trout [Salvelinus fontinalis]\",\n            \"description\": \"Brook trout [Salvelinus fontinalis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 418,\n            \"name\": \"Brown trout [Salmo trutta fario]\",\n            \"description\": \"Brown trout [Salmo trutta fario]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 419,\n            \"name\": \"Snubnose pompano [Trachinotus blochii]\",\n            \"description\": \"Snubnose pompano [Trachinotus blochii]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 421,\n            \"name\": \"Pacific abalone [Haliotis discus hannai]\",\n            \"description\": \"Pacific abalone [Haliotis discus hannai]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 422,\n            \"name\": \"European abalone [Haliotis tuberculata]\",\n            \"description\": \"European abalone [Haliotis tuberculata]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 424,\n            \"name\": \"Green mussel [Perna viridis]\",\n            \"description\": \"Green mussel [Perna viridis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 443,\n            \"name\": \"Common dentex [Dentex dentex]\",\n            \"description\": \"Common dentex [Dentex dentex]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 444,\n            \"name\": \"Sharpsnout sea bream [Diplodus puntazzo]\",\n            \"description\": \"Sharpsnout sea bream [Diplodus puntazzo]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 445,\n            \"name\": \"Red porgy [Pagrus pagrus]\",\n            \"description\": \"Red porgy [Pagrus pagrus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 449,\n            \"name\": \"Olive flounder [Paralichthys olivaceus]\",\n            \"description\": \"Olive flounder [Paralichthys olivaceus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 451,\n            \"name\": \"Pink dentex [Dentex gibbosus]\",\n            \"description\": \"Pink dentex [Dentex gibbosus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 452,\n            \"name\": \"Bluespotted sea bream [Pagrus caeruleostictus]\",\n            \"description\": \"Bluespotted sea bream [Pagrus caeruleostictus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 453,\n            \"name\": \"White grouper [Epinephelus aeneus]\",\n            \"description\": \"White grouper [Epinephelus aeneus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 454,\n            \"name\": \"Shi drum [Umbrina cirrosa]\",\n            \"description\": \"Shi drum [Umbrina cirrosa]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 455,\n            \"name\": \"Greater amberjack [Seriola dumerili]\",\n            \"description\": \"Greater amberjack [Seriola dumerili]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 456,\n            \"name\": \"Sand steenbras [Lithognathus mormyrus]\",\n            \"description\": \"Sand steenbras [Lithognathus mormyrus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 458,\n            \"name\": \"Blotched snakehead [Channa maculata]\",\n            \"description\": \"Blotched snakehead [Channa maculata]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 463,\n            \"name\": \"Japanese meagre [Argyrosomus japonicus]\",\n            \"description\": \"Japanese meagre [Argyrosomus japonicus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 464,\n            \"name\": \"Red drum [Sciaenops ocellatus] \",\n            \"description\": \"Red drum [Sciaenops ocellatus] \",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 465,\n            \"name\": \"Barcoo grunter [Scortum barcoo]\",\n            \"description\": \"Barcoo grunter [Scortum barcoo]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 473,\n            \"name\": \"Green mud crab [Scylla paramamosain]\",\n            \"description\": \"Green mud crab [Scylla paramamosain]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 482,\n            \"name\": \"Senegalese sole [Solea senegalensis]\",\n            \"description\": \"Senegalese sole [Solea senegalensis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 487,\n            \"name\": \"Lumpfish [Cyclopterus lumpus]\",\n            \"description\": \"Lumpfish [Cyclopterus lumpus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 488,\n            \"name\": \"Corkwing wrasse [Crenilabrus melops]\",\n            \"description\": \"Corkwing wrasse [Crenilabrus melops]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 489,\n            \"name\": \"Small-mouthed wrasse [Centrolabrus exoletus]\",\n            \"description\": \"Small-mouthed wrasse [Centrolabrus exoletus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 490,\n            \"name\": \"Goldsinny wrasse [Ctenolabrus rupestris]\",\n            \"description\": \"Goldsinny wrasse [Ctenolabrus rupestris]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 491,\n            \"name\": \"Cuckoo wrasse [Labrus mixtus]\",\n            \"description\": \"Cuckoo wrasse [Labrus mixtus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 831,\n            \"name\": \"Red-spotted grouper [Epinephelus akaara]\",\n            \"description\": \"Red-spotted grouper [Epinephelus akaara]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 840,\n            \"name\": \"Pirarucu [Arapaima gigas]\",\n            \"description\": \"Pirarucu [Arapaima gigas]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 841,\n            \"name\": \"Common pandora [Pagellus erythrinus]\",\n            \"description\": \"Common pandora [Pagellus erythrinus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 842,\n            \"name\": \"Large-eye dentex [Dentex macrophthalmus]\",\n            \"description\": \"Large-eye dentex [Dentex macrophthalmus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 843,\n            \"name\": \"Red-banded sea bream [Pagrus auriga]\",\n            \"description\": \"Red-banded sea bream [Pagrus auriga]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 918,\n            \"name\": \"Grass carp [Ctenopharyngodon idella]\",\n            \"description\": \"Grass carp [Ctenopharyngodon idella]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 919,\n            \"name\": \"Silver carp [Hypophthalmichthys molitrix]\",\n            \"description\": \"Silver carp [Hypophthalmichthys molitrix]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 920,\n            \"name\": \"Bighead carp [Hypophthalmichthys nobilis]\",\n            \"description\": \"Bighead carp [Hypophthalmichthys nobilis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 980,\n            \"name\": \"Giant snakehead [Channa micropeltes]\",\n            \"description\": \"Giant snakehead [Channa micropeltes]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 986,\n            \"name\": \"Brown trout [Salmo trutta lacustris]\",\n            \"description\": \"Brown trout [Salmo trutta lacustris]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 99501,\n            \"name\": \"Siberian sturgeon [Acipenser baerii]\",\n            \"description\": \"Siberian sturgeon [Acipenser baerii]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 99502,\n            \"name\": \"Russian sturgeon [Acipenser gueldenstaedtii]\",\n            \"description\": \"Russian sturgeon [Acipenser gueldenstaedtii]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 99503,\n            \"name\": \"Adriatic sturgeon [Acipenser naccarii]\",\n            \"description\": \"Adriatic sturgeon [Acipenser naccarii]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 99504,\n            \"name\": \"Starry sturgeon [Acipenser stellatus]\",\n            \"description\": \"Starry sturgeon [Acipenser stellatus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 99505,\n            \"name\": \"Sterlet sturgeon [Acipenser ruthenus]\",\n            \"description\": \"Sterlet sturgeon [Acipenser ruthenus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 99506,\n            \"name\": \"Sterlet sturgeon (albino) [Acipenser ruthenus]\",\n            \"description\": \"Sterlet sturgeon (albino) [Acipenser ruthenus]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 100000,\n            \"name\": \"Large yellow croaker [Larimichthys crocea]\",\n            \"description\": \"Large yellow croaker [Larimichthys crocea]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 100001,\n            \"name\": \"Yellow croaker [Larimichthys polyactis]\",\n            \"description\": \"Yellow croaker [Larimichthys polyactis]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 100057,\n            \"name\": \"South African abalone [Haliotis midae]\",\n            \"description\": \"South African abalone [Haliotis midae]\",\n            \"supra_category\": \"Aquaculture\"\n        },\n        {\n            \"id\": 100079,\n            \"name\": \"Brown-marbled grouper [Epinephelus fuscoguttatus]\",\n            \"description\": \"Brown-marbled grouper [Epinephelus fuscoguttatus]\",\n            \"supra_category\": \"Aquaculture\"\n        }\n    ],\n    \"total\": 118\n}"}],"_postman_id":"0230523c-afa6-4f65-a085-76eaf1a84640"},{"name":"Get product category","id":"8567df17-a811-49f4-a878-de1f2597270f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/product/category/:id","description":"<p>Get an individual product category based on id.</p>\n","urlObject":{"path":["product","category",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"afba4f3c-ebbf-4e69-b084-0e7ca13d9688","description":{"content":"<p>Product category identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"58c0767c-2f57-4cb5-be19-97c0d6fd8e5b","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/product/category/:id","host":["{{url}}"],"path":["product","category",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":625,\n   \"name\":\"Category 625\",\n   \"description\":\"Description 625\",\n   \"supra_category\":\"Supra 1\"\n}"}],"_postman_id":"8567df17-a811-49f4-a878-de1f2597270f"}],"id":"5241c756-e38b-438a-984b-94829c6c2455","description":"<p>Module to manage the products categories</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"bd8dc7e3-d8a1-43d5-91e2-ef703ea59659"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ed3fed41-6d65-4ee1-9957-c5be80bce4ca"}}],"_postman_id":"5241c756-e38b-438a-984b-94829c6c2455","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"b5f7dac2-00f4-49b0-9d7c-13da6cd3483f","description":"<p>Module to manage the products</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"4329bfad-27e6-4c48-9e07-92ed418eee16"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"44a63c18-ec38-4092-9505-4182fee40511"}}],"_postman_id":"b5f7dac2-00f4-49b0-9d7c-13da6cd3483f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"List the batches","id":"df85252a-3134-4435-b341-8be0f6489906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/batches?limit=&offset&sort_by&sort_order","description":"<p>Returns a list of batches previously created by the producer.</p>\n","urlObject":{"path":["batches"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":null},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":null},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":null}],"variable":[]}},"response":[{"id":"3739fb56-408b-4845-af8f-82541dc908a4","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/batches?limit=2","host":["{{url}}"],"path":["batches"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n        \"id\":1,\n        \"name\": \"Batch 1\",\n        \"description\": \"Batch 1\",\n        \"biomass\": 155.0,\n        \"biomass_harvest\": null,\n        \"organism_growth_phase\": 1000,\n        \"organism_harvest\": null,\n        \"expected_weight_harvest\": 0.13,\n        \"expected_biomass_harvest\": 130.0,\n        \"individuals_harvest\": null,\n        \"init_date\": \"2021-12-10\",\n        \"end_date\": null,\n        \"unit_measure_id\": 12,\n        \"production_type_id\": 1,\n        \"water_type_id\": 1,\n        \"site_id\": 90,\n        \"product_category_id\": 100192,\n        \"audit_data_permission\": true\n      },\n      {\n        \"id\": 2,\n        \"name\": \"Batch 2\",\n        \"description\": \"Batch 2\",\n        \"biomass\": 155.0,\n        \"biomass_harvest\": null,\n        \"organism_growth_phase\": 1000,\n        \"organism_harvest\": null,\n        \"expected_weight_harvest\": 0.13,\n        \"expected_biomass_harvest\": 130.0,\n        \"individuals_harvest\": null,\n        \"init_date\": \"2021-12-10\",\n        \"end_date\": null,\n        \"unit_measure_id\": 12,\n        \"production_type_id\": 1,\n        \"water_type_id\": 1,\n        \"site_id\": 90,\n        \"product_category_id\": 100192,\n        \"audit_data_permission\": true\n      }\n   ],\n   \"total\": 3\n}"}],"_postman_id":"df85252a-3134-4435-b341-8be0f6489906"},{"name":"Get batch","id":"5e52d9d8-db15-4070-a1ee-bfa77fc7c189","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/batches/:id","description":"<p>Get the batch data by id</p>\n","urlObject":{"path":["batches",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"eda37f04-df32-4dec-ba4b-d6e25c4ea5c0","description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"766fca6e-3b7c-4e3e-9d1b-9e1f4449ae34","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/batches/:id","host":["{{url}}"],"path":["batches",":id"],"variable":[{"key":"id","value":"99999","description":"Identificador del cultivo"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Identify not found\"\r\n}"},{"id":"e0a09be3-03d4-4b83-8f28-06f2025a0ede","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/batches/:id","host":["{{url}}"],"path":["batches",":id"],"variable":[{"key":"id","value":"2","description":"Identificador del cultivo"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"},{"id":"ba157eaa-cbb7-4cd3-a3a7-d6ba7ee58f36","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/batches/:id","host":["{{url}}"],"path":["batches",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\":1,\n    \"name\": \"Batch 1\",\n    \"description\": \"Batch 1\",\n    \"biomass\": 155.0,\n    \"biomass_harvest\": null,\n    \"organism_growth_phase\": 1000,\n    \"organism_harvest\": null,\n    \"expected_weight_harvest\": 0.13,\n    \"expected_biomass_harvest\": 130.0,\n    \"individuals_harvest\": null,\n    \"init_date\": \"2021-12-10\",\n    \"end_date\": null,\n    \"unit_measure_id\": 12,\n    \"production_type_id\": 1,\n    \"water_type_id\": 1,\n    \"site_id\": 90,\n    \"product_category_id\": 100192,\n    \"audit_data_permission\": true\n}"}],"_postman_id":"5e52d9d8-db15-4070-a1ee-bfa77fc7c189"},{"name":"Add batch","id":"275fe145-fe8a-419f-bcee-1e718daff760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Batch 1\",\r\n   \"description\":\"Batch 1\",\r\n   \"unit_measure_id\":12,\r\n   \"site_id\":1389,\r\n   \"production_type_id\":5,\r\n   \"biomass\":155.0,\r\n   \"biomass_harvest\":105.0,\r\n   \"organism_growth_phase\": 200,\r\n   \"organism_harvest\": 100,\r\n   \"expected_weight_harvest\": 0.17,\r\n   \"expected_biomass_harvest\": 34.0,\r\n   \"individuals_harvest\": 15.2,\r\n   \"water_type_id\":1,\r\n   \"product_category_id\":100192,\r\n   \"init_date\":\"2024-06-20\",\r\n   \"end_date\":\"2025-5-30\",\r\n   \"audit_data_permission\": false,\r\n    \"company_type\": \"Producer\",\r\n    \"group_member\": false,\r\n    \"pg_ggn\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/batches","description":"<p>Add new batch. A site must first be created as a batch is assigned to a site. Each batch shall have one type of a species. Please refer to GLOBALG.A.P. product ids of aquaculture species. This API is intended to capture input consumption metrics of only <strong>Grow-out</strong> phase of aquaculture production. Producer shall be aware of estimated number of organism at the beginning of the grow-out stage and expected average weight of organism at the time of harvest. Please also note that producers shall be asked if they are producing this batch as individual producer or producer group or member of the producer before creating a new batch.<br /><strong>Note</strong>:<br />Please keep \"audit_data_permission\" field to <strong>False</strong> for initial development.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Format</strong></th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>1</td>\n<td>String</td>\n<td>Name of the batch</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>description of the batch</td>\n</tr>\n<tr>\n<td>uunit_measure_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measure id. Accepted Value: 12</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Site_id on which this batch is being grown</td>\n</tr>\n<tr>\n<td>production_type_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Aquaculture production type id. Please refer to master data</td>\n</tr>\n<tr>\n<td>water_type_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Water type id. Please refer to water type master data.</td>\n</tr>\n<tr>\n<td>product_category_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>GG product id. Please refer to product master data</td>\n</tr>\n<tr>\n<td>biomass</td>\n<td>0</td>\n<td>Decimal</td>\n<td>biomass when the batch is being created</td>\n</tr>\n<tr>\n<td>biomass_harvest</td>\n<td>1 when end_date</td>\n<td>Decimal</td>\n<td>Actual biomass at the time of the harvest. Thie field is mandatory, when end_date of the batch is given.</td>\n</tr>\n<tr>\n<td>organism_growth_phase</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Estimated number of organism at the beginning of the grow-out stage</td>\n</tr>\n<tr>\n<td>organism_harvest</td>\n<td>0</td>\n<td>Decimal</td>\n<td>Estimated number of organism at harvest</td>\n</tr>\n<tr>\n<td>expected_weight_harvest</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Expected average weight of individual organism at harvest</td>\n</tr>\n<tr>\n<td>expected_biomass_harvest</td>\n<td>0</td>\n<td>Decimal</td>\n<td>expected biomass at the time of harvest. When this field is not given, system will calculate expected biomass using estimated number of organism and expected average of individual.</td>\n</tr>\n<tr>\n<td>individuals_harvest</td>\n<td>0</td>\n<td>Integer</td>\n<td>Actual number of Individuals at the time of harvest</td>\n</tr>\n<tr>\n<td>init_date</td>\n<td>0</td>\n<td>Date  <br />Format: YYYY-mm-DD</td>\n<td>Start date of the batch. When the start date is not given, system will assign today's date by default.</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>0</td>\n<td>Date  <br />Format: YYYY-mm-DD</td>\n<td>End date of the batch. When the batch has been harvested</td>\n</tr>\n<tr>\n<td>recognition_id</td>\n<td>0</td>\n<td>Integer</td>\n<td>To which GLOBALG.A.P. Farm assurance product the grown batch is aspiring to be certified . For batches, recognition id is automatically assigned id of IDA Add-on Aquaculture.  <br />Accepted value : IDA Add-on Aquaculture: 3</td>\n</tr>\n<tr>\n<td>audit_data_permission</td>\n<td>1</td>\n<td>Boolean</td>\n<td>Permission to share the data for auditing purpose</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["batches"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"f7448df6-6b68-4246-98ec-0d45e65d36c6","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Batch 1\",\r\n   \"description\":\"Batch 1\",\r\n   \"unit_measure_id\":12,\r\n   \"site_id\":1,\r\n   \"production_type_id\":1,\r\n   \"biomass\":155.0,\r\n   \"water_type_id\":1,\r\n   \"product_category_id\":100192,\r\n   \"organism_growth_phase\": 100,\r\n   \"expected_weight_harvest\": 0.13,\r\n   \"audit_data_permission\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/batches"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\":1,\n    \"name\": \"Batch 1\",\n    \"description\": \"Batch 1\",\n    \"biomass\": 155.0,\n    \"biomass_harvest\": null,\n    \"organism_growth_phase\": 1000,\n    \"organism_harvest\": null,\n    \"expected_weight_harvest\": 0.13,\n    \"expected_biomass_harvest\": 130.0,\n    \"individuals_harvest\": null,\n    \"init_date\": \"2021-12-10\",\n    \"end_date\": null,\n    \"unit_measure_id\": 12,\n    \"production_type_id\": 1,\n    \"water_type_id\": 1,\n    \"site_id\": 90,\n    \"product_category_id\": 100192,\n    \"audit_data_permission\": true\n}"}],"_postman_id":"275fe145-fe8a-419f-bcee-1e718daff760"},{"name":"Batch Mixing","id":"b48c77cd-0cbf-49de-85ed-c385367dbbbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"source_batch\":\"6\",\r\n   \"proportion\":\"10\",\r\n   \"target_batch\": 13\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/batches/mixing","description":"<p>Batch mixing method to facilitate mixing of batches in<br />aquaculture. It requires three parameters, source batch id, target batch id and proportion which will be transferred. When target batch id is not given, system<br />will assume that no target batch exists and it will create a new batch. Rest of the fields of batch data model will be copied to the new (or target) batch based on the percentage of proportion mentioned.</p>\n","urlObject":{"path":["batches","mixing"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"6beb50d3-f7ef-4f31-99f2-144db1b747eb","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"source_batch\":\"1\",\r\n   \"proportion\":\"35.55\",\r\n   \"production_type_id\":1,\r\n   \"water_type_id\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/batches/mixing"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"Poppy batch 1\",\n    \"description\": \"Poppy batch 1\",\n    \"biomass\": 55.1,\n    \"biomass_harvest\": null,\n    \"organism_growth_phase\": 110,\n    \"organism_harvest\": null,\n    \"expected_weight_harvest\": 0.13,\n    \"expected_biomass_harvest\": 14.3,\n    \"individuals_harvest\": null,\n    \"init_date\": \"2021-12-10\",\n    \"end_date\": null,\n    \"unit_measure_id\": 12,\n    \"production_type_id\": 1,\n    \"water_type_id\": 1,\n    \"site_id\": 90,\n    \"product_category_id\": 100192,\n    \"audit_data_permission\": null\n}"}],"_postman_id":"b48c77cd-0cbf-49de-85ed-c385367dbbbc"},{"name":"Delete batch","id":"2e949714-dc28-4ba8-bca0-a3a559274f49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/batches/:id","description":"<p>Delete the batch data</p>\n","urlObject":{"path":["batches",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"38007c0f-7546-4c68-b4dd-9396489249eb","description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"5152ceb2-d5cb-4006-bab7-c6a9db5deb2e","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/batches/:id","host":["{{url}}"],"path":["batches",":id"],"variable":[{"key":"id","value":"1","description":"Crop identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2e949714-dc28-4ba8-bca0-a3a559274f49"},{"name":"Modify batch","id":"5a59ec8e-8f3e-4401-9317-c2c3c7dcd8d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Batch 1\",\r\n   \"description\":\"Batch 1\",\r\n   \"organism_growth_phase\": 110\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/batches/:id","description":"<p>Modify the batch data.</p>\n","urlObject":{"path":["batches",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"ecefdfbf-fcc3-4d55-838f-a6a925e5127d","description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"c1f9f0c4-1384-4172-873a-51b7c79b4052","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Batch 1\",\r\n   \"description\":\"Batch 1\",\r\n   \"organism_growth_phase\": 110\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/batches/:id","host":["{{url}}"],"path":["batches",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 14,\r\n    \"name\": \"Poppy batch 1\",\r\n    \"description\": \"Poppy batch 1\",\r\n    \"biomass\": 155.0,\r\n    \"biomass_harvest\": null,\r\n    \"organism_growth_phase\": 110,\r\n    \"organism_harvest\": null,\r\n    \"expected_weight_harvest\": 0.13,\r\n    \"expected_biomass_harvest\": 14.3,\r\n    \"individuals_harvest\": null,\r\n    \"init_date\": \"2021-12-10\",\r\n    \"end_date\": null,\r\n    \"unit_measure_id\": 12,\r\n    \"production_type_id\": 1,\r\n    \"water_type_id\": 1,\r\n    \"site_id\": 90,\r\n    \"product_category_id\": 100192,\r\n    \"audit_data_permission\": true\r\n}"}],"_postman_id":"5a59ec8e-8f3e-4401-9317-c2c3c7dcd8d0"}],"id":"e0f6ca73-ee23-40c7-ad09-029a86ada7f9","description":"<p>Module to manage batches in Aquaculture production. Please refer to Product folder to get<br />GLOBALG.A.P. product ids for Aquaculture products. Please refer to master data get ids for various fields such Water_type, production_type_id, recognition_id</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1fea0ec3-1f6f-4547-a324-d3c7dce98c14"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a74f2e62-0754-4015-9941-e74741e14ebc"}}],"_postman_id":"e0f6ca73-ee23-40c7-ad09-029a86ada7f9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Input consumption Metrics","item":[{"name":"Mortality","item":[{"name":"Mortality causes","item":[{"name":"List the mortalities causes","id":"8c4836dd-eaec-4ab3-b4ad-c5a3ba284ec0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/MortalityCauses","description":"<p>Returns a list of production soils type you’ve previously loaded. The production soils type are returned in sorted order.</p>\n","urlObject":{"path":["MortalityCauses"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1645a3c2-b24a-4673-960a-a36e705394cb","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/mortality_causes?limit=2","host":["{{url}}"],"path":["mortality_causes"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n        {\n            \"id\": 1,\n            \"name\": \"Known disease\",\n            \"description\": \"Known disease\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Undetermined reason\",\n            \"description\": \"Undetermined reason\"\n        }\n   ],\n   \"total\":4\n}"}],"_postman_id":"8c4836dd-eaec-4ab3-b4ad-c5a3ba284ec0"},{"name":"Get mortality cause","id":"c82aa38a-1ecd-4754-835d-0f189ea34d79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/mortality_causes/:id","description":"<p>Get a list of production soil types</p>\n","urlObject":{"path":["mortality_causes",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"31eddeeb-a6f0-459a-8ead-17ef7d632d30","description":{"content":"<p>Production soil type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"ca3fba90-8067-4376-87ed-cd9c4035ec79","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}mortality_causes/:id","host":["{{url}}mortality_causes"],"path":[":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Known disease\",\n    \"description\": \"Known disease\"\n}"}],"_postman_id":"c82aa38a-1ecd-4754-835d-0f189ea34d79"}],"id":"d39574b1-242c-43a4-a172-6ba2a1e6ed58","_postman_id":"d39574b1-242c-43a4-a172-6ba2a1e6ed58","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Add Mortality","id":"ef6f360e-b99a-490d-8300-50d8bd9d7ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"test batch\",\r\n    \"registered_at\": \"2024-09-27\",\r\n    \"biomass\": 120.12,\r\n    \"unit_measure_id\":12,\r\n    \"average_individual_biomass\":0.001,\r\n    \"mortality_cause\":2,\r\n    \"mortality_description\":\"\",\r\n    \"nr_mortalities\":10,\r\n    \"batch_id\":21\r\n}"},"url":"{{URL}}/ida_aq_v1.0/aquaculture/mortality","description":"<p>Add recording of mortality. Producer must record mortality either in terms of biomass or in terms of number of individuals died. When they enter number of individuals, they shall also provide estimated average weight of individual.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registered_at</td>\n<td>1</td>\n<td>Date</td>\n<td>Registration date when mortality has been registered</td>\n</tr>\n<tr>\n<td>biomass</td>\n<td>0</td>\n<td>Decimals</td>\n<td>Mortality in terms of biomass. in tonnes</td>\n</tr>\n<tr>\n<td>unit_measure</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measurement. Accepted value: 12</td>\n</tr>\n<tr>\n<td>average_individual_biomass</td>\n<td>1 when no_mortalities</td>\n<td>Integer</td>\n<td>Average biomass of a deceased individual</td>\n</tr>\n<tr>\n<td>mortality_cause</td>\n<td>1</td>\n<td>Integer</td>\n<td>Cause of the mortality. Please refer to Mortality causes folder to see different options for mortality causes.</td>\n</tr>\n<tr>\n<td>mortality_description</td>\n<td>0</td>\n<td>String</td>\n<td>Further elaboration on the cause of the mortality.</td>\n</tr>\n<tr>\n<td>nr_mortalities</td>\n<td>0</td>\n<td>Integer</td>\n<td>Number of deceased individuals</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>description</td>\n</tr>\n<tr>\n<td>batch_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which batch this mortality has been recorded</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ida_aq_v1.0","aquaculture","mortality"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"6ddbb846-f795-41ed-9779-7c8cc6586b9a","name":"Ok","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-02-17\",\r\n    \"biomass\": 120.12,\r\n    \"unit_measure_id\":12,\r\n    \"average_individual_biomass\":0.001,\r\n    \"mortality_cause\":1,\r\n    \"no_mortalities\":10,\r\n    \"batch_id\":5   \r\n\r\n}"},"url":"{{URL}}/ida_aq_v1.0/aquaculture/mortality"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Mar 2022 11:34:58 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"165"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 381,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-02-17\",\n    \"biomass\": 120.12,\n    \"unit_measure_id\": 12,\n    \"average_individual_biomass\": 0.001,\n    \"mortality_cause\": 1,\n    \"no_mortalities\": 10\n}"}],"_postman_id":"ef6f360e-b99a-490d-8300-50d8bd9d7ccf"},{"name":"Get Mortality","id":"5c1244a2-283b-402f-80c1-57486afc8c70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/mortality/:id","description":"<p>Get previously recorded mortality by id</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","mortality",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"344","key":"id"}]}},"response":[{"id":"9e98eb4f-653f-46c3-8d81-3e2a132a47d4","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/mortality/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","mortality",":id"],"variable":[{"key":"id","value":"344"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 15:49:58 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"178"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 344,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-01-17\",\n    \"biomass\": 0.02,\n    \"unit_measure_id\": 12,\n    \"average_individual_biomass\": 0.002,\n    \"mortality_id\": 1,\n    \"mortalities\": 10,\n    \"description\": \"Test\"\n}"}],"_postman_id":"5c1244a2-283b-402f-80c1-57486afc8c70"},{"name":"List the mortality","id":"faa9a17d-266e-4464-a2f5-00fad88ff80f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/mortality","urlObject":{"path":["ida_aq_v1.0","aquaculture","mortality"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"437835b5-dc81-4e80-8863-c2a9615b9e14","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/mortality"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 14:57:59 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"378"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 344,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-17\",\n            \"biomass\": 0.02,\n            \"unit_measure_id\": 12,\n            \"average_individual_biomass\": 0.002,\n            \"mortality_id\": 1,\n            \"mortalities\": 10,\n            \"description\": \"Test\"\n        },\n        {\n            \"id\": 345,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-02-01\",\n            \"biomass\": 0.02,\n            \"unit_measure_id\": 12,\n            \"average_individual_biomass\": 0.002,\n            \"mortality_id\": 1,\n            \"mortalities\": 10,\n            \"description\": \"Test\"\n        }\n    ],\n    \"total\": 2\n}"}],"_postman_id":"faa9a17d-266e-4464-a2f5-00fad88ff80f"},{"name":"Modify Mortality","id":"35c1919f-48b4-4f5d-80a0-3b69dfbf80a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-01-17\",\r\n    \"biomass\": 0.01,\r\n    \"unit_measure_id\":12,\r\n    \"average_individual_biomass\":0.001,\r\n    \"mortality_id\":1,\r\n    \"mortalities\":10\r\n}"},"url":"{{URL}}/ida_aq_v1.0/aquaculture/mortality/:id","description":"<p>Modify mortality record by id.</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","mortality",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"381","key":"id"}]}},"response":[{"id":"c5a195e9-2462-48c0-8e95-cd7cc148c002","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-01-17\",\r\n    \"biomass\": 0.01,\r\n    \"unit_measure_id\":12,\r\n    \"average_individual_biomass\":0.001,\r\n    \"mortality_id\":1,\r\n    \"mortalities\":10\r\n}"},"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/mortality/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","mortality",":id"],"variable":[{"key":"id","value":"344"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 15:53:07 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"193"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 344,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-01-17\",\n    \"biomass\": 0.01,\n    \"unit_measure_id\": \"t\",\n    \"average_individual_biomass\": 0.001,\n    \"mortality_id\": \"Known disease\",\n    \"mortalities\": 10,\n    \"description\": \"Test\"\n}"}],"_postman_id":"35c1919f-48b4-4f5d-80a0-3b69dfbf80a9"},{"name":"Del Mortality","id":"966f9d27-e408-4d94-afeb-2c87c457eca8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/mortality/:id","urlObject":{"path":["ida_aq_v1.0","aquaculture","mortality",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"345","key":"id"}]}},"response":[{"id":"17c3ea30-c793-4271-bc98-a0e3b7f6c20f","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/mortality/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","mortality",":id"],"variable":[{"key":"id","value":"345"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Tue, 01 Mar 2022 15:55:29 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"966f9d27-e408-4d94-afeb-2c87c457eca8"}],"id":"0c90fd62-a0e6-4de5-a649-611d650f0b1a","description":"<p>Module to manage Mortalities</p>\n","_postman_id":"0c90fd62-a0e6-4de5-a649-611d650f0b1a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Escapes","item":[{"name":"Add Escapes","id":"342df2f9-ce7e-4f6c-95a3-7d17e2f232b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Test\",\r\n    \"registered_at\": \"2024-06-22\",  \r\n    \"escaped_individuals_under_treatment\": false,\r\n    \"escapes_number\": 2,\r\n    \"average_individual_biomass\": 0.10,\r\n    \"measurement_unit\": 12,\r\n    \"cause_of_escape\": \"external influence\",\r\n    \"batch_id\":21\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/escapes","description":"<p>Add escapes of individuals in the aquaculture. Producer must record escapes either in terms of biomass or in terms of number of individuals escaped. When they enter number of individuals, they shall also provide estimated average weight of individual.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registered_at</td>\n<td>1</td>\n<td>Date  <br />Format: YYYY-MM-DD</td>\n<td>Registration date when escape has been registered</td>\n</tr>\n<tr>\n<td>escapes_biomass</td>\n<td>0</td>\n<td>Decimals</td>\n<td>Estimated biomass that escaped from the production facility.</td>\n</tr>\n<tr>\n<td>measurement_unit</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measurement. Accepted value: 12</td>\n</tr>\n<tr>\n<td>escaped_individuals_under_treatment</td>\n<td>1</td>\n<td>Boolean</td>\n<td>Were escaped individuals had some treatment. True or False</td>\n</tr>\n<tr>\n<td>escapes_number</td>\n<td>0</td>\n<td>Integer</td>\n<td>Estimated number of individuals who escaped</td>\n</tr>\n<tr>\n<td>average_individual_biomass</td>\n<td>0</td>\n<td>Decimal</td>\n<td>Average estimated biomass of escaped single individual</td>\n</tr>\n<tr>\n<td>cause_of_escape</td>\n<td>1</td>\n<td>String</td>\n<td>Cause of escapes such as weather, technical failure, external influence, predator</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>Description</td>\n</tr>\n<tr>\n<td>batch_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which batch this escape has been recorded</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ida_aq_v1.0","aquaculture","escapes"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"db5ee8dc-403f-4dcc-8810-2616d7d7f7ae","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-01-12\",\r\n    \"escapes_biomass\": 0.122,\r\n    \"measurement_unit\":12,    \r\n    \"treatment\": false,\r\n     \"escapes_number\": 2,\r\n    \"average_individual_biomass\": 0.10,\r\n    \"cause_of_escape\": \"external influence\",\r\n    \"batch_id\":5\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_aq_v1.0/aquaculture/escapes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 14:25:45 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"226"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 365,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-01-12\",\n    \"escapes_biomass\": 0.122,\n    \"measurement_unit\": 12,\n    \"escapes_number\": 2,\n    \"average_individual_biomass\": 0.1,\n    \"treatment\": false,\n    \"description\": null,\n    \"cause_of_escape\": \"external influence\"\n}"}],"_postman_id":"342df2f9-ce7e-4f6c-95a3-7d17e2f232b0"},{"name":"Get List Escapes","id":"041a8fc0-e748-45d4-9977-499d97214f58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-01-12\",\r\n    \"escapes_biomass\": 0.122,\r\n    \"measurement_unit\":12,    \r\n    \"treatment\": false,\r\n     \"escapes_number\": 2,\r\n    \"average_individual_biomass\": 0.10,\r\n    \"batch_id\":5\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/escapes","description":"<p>Get the list of previously recorded escapes by the producer.</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","escapes"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"9151ebb9-4f4f-4310-96cc-9757e2cdd519","name":"OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-01-12\",\r\n    \"escapes_biomass\": 0.122,\r\n    \"measurement_unit\":12,    \r\n    \"treatment\": false,\r\n     \"escapes_number\": 2,\r\n    \"average_individual_biomass\": 0.10,\r\n    \"batch_id\":5\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/escapes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 16:08:15 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"810"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 293,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-12\",\n            \"escapes_biomass\": 0.122,\n            \"measurement_unit\": \"t\",\n            \"escapes_number\": 2,\n            \"average_individual_biomass\": 0.1,\n            \"treatment\": false,\n            \"description\": null\n        },\n        {\n            \"id\": 346,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-21\",\n            \"escapes_biomass\": 0.1,\n            \"measurement_unit\": 12,\n            \"escapes_number\": 10,\n            \"average_individual_biomass\": 0.01,\n            \"treatment\": true,\n            \"description\": null\n        },\n        {\n            \"id\": 347,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-02-01\",\n            \"escapes_biomass\": 0.1,\n            \"measurement_unit\": 12,\n            \"escapes_number\": 10,\n            \"average_individual_biomass\": 0.01,\n            \"treatment\": true,\n            \"description\": null\n        },\n        {\n            \"id\": 365,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-12\",\n            \"escapes_biomass\": 0.122,\n            \"measurement_unit\": 12,\n            \"escapes_number\": 2,\n            \"average_individual_biomass\": 0.1,\n            \"treatment\": false,\n            \"description\": null,\n            \"cause_of_escape\": \"external influence\"\n        }\n    ],\n    \"total\": 4\n}"}],"_postman_id":"041a8fc0-e748-45d4-9977-499d97214f58"},{"name":"Get Escapes","id":"bd6b32e6-2d8f-41ed-8352-d546e5d21053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-01-12\",\r\n    \"escapes_biomass\": 0.122,\r\n    \"measurement_unit\":12,    \r\n    \"treatment\": false,\r\n     \"escapes_number\": 2,\r\n    \"average_individual_biomass\": 0.10,\r\n    \"batch_id\":5\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/escapes/:id","description":"<p>Get escape record by id.</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","escapes",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"365","key":"id"}]}},"response":[{"id":"6f4c193e-0699-4c02-b325-0ee23e5781ca","name":"OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-01-12\",\r\n    \"escapes_biomass\": 0.122,\r\n    \"measurement_unit\":12,    \r\n    \"treatment\": false,\r\n     \"escapes_number\": 2,\r\n    \"average_individual_biomass\": 0.10,\r\n    \"batch_id\":5\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/escapes/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","escapes",":id"],"variable":[{"key":"id","value":"365"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 16:10:12 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"226"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 365,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-01-12\",\n    \"escapes_biomass\": 0.122,\n    \"measurement_unit\": 12,\n    \"escapes_number\": 2,\n    \"average_individual_biomass\": 0.1,\n    \"treatment\": false,\n    \"description\": null,\n    \"cause_of_escape\": \"external influence\"\n}"}],"_postman_id":"bd6b32e6-2d8f-41ed-8352-d546e5d21053"},{"name":"Modify Escapes","id":"3e022af6-8eea-4f25-8857-d1c39fe1b9f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"cause_of_escape\": \"external influence\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/escapes/:id","urlObject":{"path":["ida_aq_v1.0","aquaculture","escapes",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"347","key":"id"}]}},"response":[{"id":"b082fc10-404c-4a17-a6a6-5c71b53fa4cc","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"cause_of_escape\": \"external influence\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/escapes/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","escapes",":id"],"variable":[{"key":"id","value":"347"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 16:13:21 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"225"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 347,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-02-01\",\n    \"escapes_biomass\": 0.1,\n    \"measurement_unit\": 12,\n    \"escapes_number\": 10,\n    \"average_individual_biomass\": 0.01,\n    \"treatment\": true,\n    \"description\": null,\n    \"cause_of_escape\": \"external influence\"\n}"}],"_postman_id":"3e022af6-8eea-4f25-8857-d1c39fe1b9f0"},{"name":"Delete Escapes","id":"7f57b8dc-bbcf-4c43-be9f-a01d68dc624e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/escapes/:id","urlObject":{"path":["ida_aq_v1.0","aquaculture","escapes",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"346","key":"id"}]}},"response":[{"id":"756ce5da-7741-402c-bd30-c106828101d5","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/escapes/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","escapes",":id"],"variable":[{"key":"id","value":"293"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Tue, 01 Mar 2022 16:15:01 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7f57b8dc-bbcf-4c43-be9f-a01d68dc624e"}],"id":"7960db1e-44d6-41cb-94dd-92e9202919ba","description":"<p>Module to manage escape metric.</p>\n","_postman_id":"7960db1e-44d6-41cb-94dd-92e9202919ba","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Fishmeal","item":[{"name":"Add Fishmeal","id":"36f45d0d-ec4a-4aea-83d7-6a9fbd9c7134","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Test\",\r\n    \"registered_at\":\"2024-08-22\",\r\n    \"compound_feed_amount\": 2 ,\r\n    \"measurement_unit\":12,\r\n    \"percentage_fish_meal\":11.1,\r\n    \"wild_foraged_catch_percentage\" : 10,\r\n    \"eFCR\":12.11,\r\n    \"FIFO\":34.23,\r\n    \"FFDR\":55.1,\r\n    \"batch_id\": 21\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal","description":"<p>Add fishmeal in aquaculture production activities in the grow-out phase.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registered_at</td>\n<td>1</td>\n<td>Date  <br />Format: YYYY-MM-DD</td>\n<td>Registration date when fishmeal has been registered</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>Description of this data entry.</td>\n</tr>\n<tr>\n<td>compound_feed_amount</td>\n<td>1</td>\n<td>decimals</td>\n<td>Amount of of compound feed in feed</td>\n</tr>\n<tr>\n<td>measurement_unit</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measurement. Accepted value: 12</td>\n</tr>\n<tr>\n<td>percentage_fish_meal</td>\n<td>1</td>\n<td>decimal</td>\n<td>Percentage of fishmeal in feed</td>\n</tr>\n<tr>\n<td>wild_foraged_catch_percentage</td>\n<td>1</td>\n<td>decimal</td>\n<td>Percentage of wild foraged catch in feed</td>\n</tr>\n<tr>\n<td>eFCR</td>\n<td>1</td>\n<td>Float</td>\n<td>Economic feed conversion ration</td>\n</tr>\n<tr>\n<td>FIFO</td>\n<td>1</td>\n<td>Float</td>\n<td>Fish In : Fish Out ratios</td>\n</tr>\n<tr>\n<td>FFDR</td>\n<td>1</td>\n<td>Float</td>\n<td>Forage Fish Dependency Ratio.</td>\n</tr>\n<tr>\n<td>batch_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which batch this fishmeal has been recorded</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ida_aq_v1.0","aquaculture","fishmeal"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"3a415f41-f36c-446c-9d47-fd9e21686830","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\":\"2022-01-02\",\r\n    \"compound_feed_amount\": 2 ,\r\n    \"measurement_unit\":12,\r\n    \"percentage_fish_meal\":11.1,\r\n    \"wild_foraged_catch_percentage\" : 10,\r\n    \"batch_id\": 13\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Mar 2022 14:22:43 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"167"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 364,\n    \"batch_id\": 13,\n    \"registered_at\": \"2022-01-02\",\n    \"compound_feed_amount\": 2,\n    \"measurement_unit\": 12,\n    \"percentage_fish_meal\": 11.1,\n    \"wild_foraged_catch_percentage\": 10\n}"}],"_postman_id":"36f45d0d-ec4a-4aea-83d7-6a9fbd9c7134"},{"name":"List the Fishmeal","id":"819c8b1f-d7af-40ab-9524-d64dd1675d25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal","urlObject":{"path":["ida_aq_v1.0","aquaculture","fishmeal"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"f005ccc5-ec8f-48a5-8ef5-cd6435c1028f","name":"OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Mar 2022 14:34:09 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"291"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 350,\n            \"batch_id\": 13,\n            \"registered_at\": \"2022-01-02\",\n            \"compound_feed_amount\": 2,\n            \"measurement_unit\": 12\n        },\n        {\n            \"id\": 364,\n            \"batch_id\": 13,\n            \"registered_at\": \"2022-01-02\",\n            \"compound_feed_amount\": 2,\n            \"measurement_unit\": 12,\n            \"percentage_fish_meal\": 11.1,\n            \"wild_foraged_catch_percentage\": 10\n        }\n    ],\n    \"total\": 2\n}"}],"_postman_id":"819c8b1f-d7af-40ab-9524-d64dd1675d25"},{"name":"Get Fishmeal","id":"bf9e8c37-ad12-4bc4-9948-b42681ec375e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq1}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal/:id","urlObject":{"path":["ida_aq_v1.0","aquaculture","fishmeal",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"350","key":"id"}]}},"response":[{"id":"6af1656c-c116-4558-8c39-9b7048a2406e","name":"OK","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","fishmeal",":id"],"variable":[{"key":"id","value":"350"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Mar 2022 14:34:44 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"102"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 350,\n    \"batch_id\": 13,\n    \"registered_at\": \"2022-01-02\",\n    \"compound_feed_amount\": 2,\n    \"measurement_unit\": 12\n}"}],"_postman_id":"bf9e8c37-ad12-4bc4-9948-b42681ec375e"},{"name":"Modify Fishmeal","id":"472b4396-d77b-4b2e-99cb-0e99dffcd080","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq1}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n     \"percentage_fish_meal\": 14.1,\r\n     \"wild_foraged_catch_percentage\": 7.0\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal/:id","urlObject":{"path":["ida_aq_v1.0","aquaculture","fishmeal",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"350","key":"id"}]}},"response":[{"id":"0ab655e5-bb79-4d24-8c7c-c49d8c838948","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n     \"percentage_fish_meal\": 14.1,\r\n     \"wild_foraged_catch_percentage\": 7.0\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","fishmeal",":id"],"variable":[{"key":"id","value":"350"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Mar 2022 14:36:42 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"166"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 350,\n    \"batch_id\": 13,\n    \"registered_at\": \"2022-01-02\",\n    \"compound_feed_amount\": 2,\n    \"measurement_unit\": 12,\n    \"percentage_fish_meal\": 14.1,\n    \"wild_foraged_catch_percentage\": 7\n}"}],"_postman_id":"472b4396-d77b-4b2e-99cb-0e99dffcd080"},{"name":"Delete Fishmeal","id":"916f4833-8b83-453c-88a2-f1eb3a6fd874","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq1}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal/:id","urlObject":{"path":["ida_aq_v1.0","aquaculture","fishmeal",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"367","key":"id"}]}},"response":[{"id":"4b064888-4a91-4919-96d2-4442d6d0bb65","name":"OK","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/fishmeal/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","fishmeal",":id"],"variable":[{"key":"id","value":"367"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Wed, 02 Mar 2022 14:37:25 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"916f4833-8b83-453c-88a2-f1eb3a6fd874"}],"id":"35e1ebd9-4127-4740-88c0-f6c47f4cee87","description":"<p>Module to manage Fishmeal in aquaculture.</p>\n","_postman_id":"35e1ebd9-4127-4740-88c0-f6c47f4cee87","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Energy","item":[{"name":"Source","item":[{"name":"List the energies sources","id":"e9885f71-0cde-40ed-8526-90bcb4bfa978","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/energy/source","description":"<p>Returns a list of energies sources you’ve previously loaded. The energies sources are returned in sorted order.</p>\n","urlObject":{"path":["energy","source"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"47b86562-51dd-4eb1-943e-af89b3121e92","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/energy/source?limit=2","host":["{{url}}"],"path":["energy","source"],"query":[{"key":"limit","value":"2","description":"The number of items to list in the response. Default 100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Diesel\",\n            \"description\": \"Diesel\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Natural gas\",\n            \"description\": \"Natural gas\"\n        }\n    ],\n    \"total\": 3\n}"}],"_postman_id":"e9885f71-0cde-40ed-8526-90bcb4bfa978"},{"name":"Get energy source","id":"21c60e92-dbe5-4a08-98b5-75b636893b03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/energy/source/:id","description":"<p>Get the energy source</p>\n","urlObject":{"path":["energy","source",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"88f60ed0-1449-4f1c-bcaa-97f280e95cac","description":{"content":"<p>Energy source identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"457f629e-77dc-46c1-9e25-1521d490a555","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/energy/source/:id","host":["{{url}}"],"path":["energy","source",":id"],"variable":[{"key":"id","value":"55","description":"Energy source identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"source\": {\n        \"id\": 2,\n        \"name\": \"Diesel\",\n        \"description\": \"Diesel\"\n    }\n}"}],"_postman_id":"21c60e92-dbe5-4a08-98b5-75b636893b03"}],"id":"ad8bdeee-bed4-4c0a-8bfd-95d36a2c8bac","description":"<p>Module to manage the energy sources</p>\n","_postman_id":"ad8bdeee-bed4-4c0a-8bfd-95d36a2c8bac","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Add Energy use","id":"beb3ec54-44b8-4096-bd96-5a37aac5371a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Test\",\r\n    \"registered_at\":\"2024-09-03\",\r\n    \"source_id\": 9,\r\n    \"amount_energy_consumed\": 12.12,\r\n    \"unit_measurement\":5,\r\n    \"amount_renewable\": 6,\r\n    \"batch_id\": 21\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua","description":"<p>Add energy use in aquaculture. API partners shall take care of converting amount of fuel used into IDA acceptable unit which kWH.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date_registered</td>\n<td>1</td>\n<td>Date  <br />YYYY-MM-DD</td>\n<td>Registration date when recorded energy has been used</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>Description of this data entry</td>\n</tr>\n<tr>\n<td>source_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Source of energy</td>\n</tr>\n<tr>\n<td>amount_energy_consumed</td>\n<td>1</td>\n<td>Decimal</td>\n<td>How much energy was consumed from that source</td>\n</tr>\n<tr>\n<td>unit_measurement</td>\n<td>1</td>\n<td>Integer</td>\n<td>unit measurment. Accepted value: 5</td>\n</tr>\n<tr>\n<td>amount_renewable</td>\n<td>1</td>\n<td>decimal</td>\n<td>Amount of renewable energy from the source</td>\n</tr>\n<tr>\n<td>batch_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which batch id this energy consumption was recorded</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>0</td>\n<td>Integer</td>\n<td>To which site id this energy consumption was recorded</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ida_aq_v1.0","aquaculture","energy_use_aqua"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"61962fc5-b7a4-45e6-8707-a15e46ece32b","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"date_registered\":\"2022-01-03\",\r\n    \"source_id\": 9,\r\n    \"amount_energy_consumed\": 12.12,\r\n    \"unit_measurement\":5,\r\n    \"amount_renewable\": 6,\r\n    \"site_id\": 14\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 15:05:46 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"143"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 369,\n    \"site_id\": 14,\n    \"date_registered\": \"2022-01-03\",\n    \"source_id\": 9,\n    \"amount_energy_consumed\": 12.12,\n    \"unit_measurement\": 5,\n    \"amount_renewable\": 6\n}"}],"_postman_id":"beb3ec54-44b8-4096-bd96-5a37aac5371a"},{"name":"Get List Energy use","id":"11e138f8-39cb-4c6d-965e-fe7bd11a4e4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua","description":"<p>Get list of all recorded energy use recorded by the producer.</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","energy_use_aqua"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"86ef69b5-e0f5-4eb7-9ec0-37c82492e181","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 15:04:32 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"307"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 294,\n            \"site_id\": 14,\n            \"date_registered\": \"2022-01-03\",\n            \"source_id\": 9,\n            \"amount_energy_consumed\": 12.12,\n            \"unit_measurement\": 5,\n            \"amount_renewable\": 6\n        },\n        {\n            \"id\": 349,\n            \"site_id\": 14,\n            \"date_registered\": \"2022-02-07\",\n            \"source_id\": 9,\n            \"amount_energy_consumed\": 10,\n            \"unit_measurement\": 5,\n            \"amount_renewable\": 6\n        }\n    ],\n    \"total\": 2\n}"}],"_postman_id":"11e138f8-39cb-4c6d-965e-fe7bd11a4e4c"},{"name":"Get Energy use","id":"41988e2d-e203-4849-beba-26c56c99d909","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua/:id","urlObject":{"path":["ida_aq_v1.0","aquaculture","energy_use_aqua",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112551","key":"id"}]}},"response":[{"id":"2b856716-ad58-4cc3-a486-9155a8ee929d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","energy_use_aqua",":id"],"variable":[{"id":"e96368fc-ffd5-42ff-a442-5046328930f8","key":"id","value":"294"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 15:05:27 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"143"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 294,\n    \"site_id\": 14,\n    \"date_registered\": \"2022-01-03\",\n    \"source_id\": 9,\n    \"amount_energy_consumed\": 12.12,\n    \"unit_measurement\": 5,\n    \"amount_renewable\": 6\n}"}],"_postman_id":"41988e2d-e203-4849-beba-26c56c99d909"},{"name":"Modify Energy use","id":"b22cf051-6ee5-43f6-8b54-41b64a0e57ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua/:id","description":"<p>Modify energy use record by id.</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","energy_use_aqua",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"0c2ef2a1-78dd-403b-ac84-d426d1896698","type":"any","value":"294","key":"id"}]}},"response":[{"id":"02af2e96-addf-49bf-b893-5bf9b936a813","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","energy_use_aqua",":id"],"variable":[{"id":"0c2ef2a1-78dd-403b-ac84-d426d1896698","key":"id","value":"294"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 15:06:16 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"143"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 294,\n    \"site_id\": 14,\n    \"date_registered\": \"2022-01-03\",\n    \"source_id\": 9,\n    \"amount_energy_consumed\": 12.12,\n    \"unit_measurement\": 5,\n    \"amount_renewable\": 6\n}"}],"_postman_id":"b22cf051-6ee5-43f6-8b54-41b64a0e57ff"},{"name":"Delete Energy use","id":"ddd25732-96a3-4e0b-a2d3-8ee3a3b7f488","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua/:id","description":"<p>Delete energy use record by id.</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","energy_use_aqua",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"9251847c-c8cc-4c4a-80a2-c420b9f3e4f5","type":"any","value":"294","key":"id"}]}},"response":[{"id":"c111e9c9-a588-4f59-ab50-3fe30978b6e9","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/energy_use_aqua/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","energy_use_aqua",":id"],"variable":[{"id":"9251847c-c8cc-4c4a-80a2-c420b9f3e4f5","key":"id","value":"294"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ddd25732-96a3-4e0b-a2d3-8ee3a3b7f488"}],"id":"678492f5-81b4-4e0f-b371-9d112412ce98","description":"<p>Module to manage energy usage in Aquaculture productions. Concerns all energy use that can be recorded. Please see \"Source\" for different energy sources covered by the Impact-Driven Approach API.</p>\n","_postman_id":"678492f5-81b4-4e0f-b371-9d112412ce98","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Treatments","item":[{"name":"Add Treatment","id":"23db02c1-03dc-498c-96b7-dd281d50e289","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Test\",\r\n    \"registered_at\": \"2024-08-22\",\r\n    \"category\":1,\r\n    \"treatment_used\": false,\r\n    \"cas_used\":\"0-00-0000\",\r\n    \"commercial_name_antimicrobial\":\"Test Name\",\r\n    \"diagnosed_disease\": \"Sea lice\", \r\n    \"amount\": 0.001,\r\n    \"unit_measurement\": 3,\r\n    \"batch_id\": 21\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/treatments","description":"<p>Add treatment records in aquaculture production activities in grow-out phase</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registered_at</td>\n<td>1</td>\n<td>Date  <br />Format: YYYY-MM-DD</td>\n<td>Registration date when treatment has been registered</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>1</td>\n<td>Float</td>\n<td>Amount used in treatment.</td>\n</tr>\n<tr>\n<td>category</td>\n<td>1</td>\n<td>Integer</td>\n<td>Treatment Categories:  <br />1 - Antimicrobial Treatment  <br />2 -  <br />Other Treatment</td>\n</tr>\n<tr>\n<td>diagnosed_disease</td>\n<td>1</td>\n<td>String</td>\n<td>for which disease organism were treated with vaccine</td>\n</tr>\n<tr>\n<td>cas_used</td>\n<td>1</td>\n<td>String</td>\n<td>CAS (Chemical Abstracts Service) Registry Numbers shall be used to indicate the applied active ingredient. CAS Registry Numbers are universal and GLOBALG.A.P. will not hold a separate registry of CAS Registry Numbers</td>\n</tr>\n<tr>\n<td>unit_measurement</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measurement</td>\n</tr>\n<tr>\n<td>commercial_name_antimicrobial</td>\n<td>0</td>\n<td>String</td>\n<td>The commercial name of the antimicrobial used in treatment</td>\n</tr>\n<tr>\n<td>treatment_used</td>\n<td>1</td>\n<td>Boolean</td>\n<td>Before treatments were administered, was a vaccination given to the orgnism? N/A if no vaccination exists for the specific disease. True / False / null</td>\n</tr>\n<tr>\n<td>batch_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which batch this treatmenthas been recorded</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ida_aq_v1.0","aquaculture","treatments"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"a7fcd089-b703-433f-b394-e3d792749edb","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2022-01-12\",\r\n    \"antimicrobial_used\": 3,    \r\n    \"diagnosed_disease\": \"no idea what disease\",    \r\n    \"amount_antimicrobial\": 1.1,\r\n    \"unit_measurement\": 3,\r\n    \"batch_id\": 5,\r\n    \"was_vaccinated\": false,\r\n    \"was_vaccine_effective\": false,\r\n    \"diagnosed_illness\": \"some text\",\r\n    \"effectiveness_of_the_vaccine\": \"some text\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/treatments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 14:46:27 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"262"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 368,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-01-12\",\n    \"antimicrobial_used\": 3,\n    \"was_vaccinated\": false,\n    \"diagnosed_disease\": \"no idea what disease\",\n    \"was_vaccine_effective\": false,\n    \"amount_antimicrobial\": 1.1,\n    \"unit_measurement\": 3,\n    \"effectiveness_of_the_vaccine\": \"some text\"\n}"}],"_postman_id":"23db02c1-03dc-498c-96b7-dd281d50e289"},{"name":"Get Treatment","id":"b4c9723a-c01c-4710-b56d-ce0022bd31b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/treatments/:id","description":"<p>Get record of treatment by id</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","treatments",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112550","key":"id"}]}},"response":[{"id":"875dc600-d780-4a48-a98d-7b9b2d96a2e5","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/treatments/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","treatments",":id"],"variable":[{"key":"id","value":"368"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 14:47:23 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"262"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 368,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-01-12\",\n    \"antimicrobial_used\": 3,\n    \"was_vaccinated\": false,\n    \"diagnosed_disease\": \"no idea what disease\",\n    \"was_vaccine_effective\": false,\n    \"amount_antimicrobial\": 1.1,\n    \"unit_measurement\": 3,\n    \"effectiveness_of_the_vaccine\": \"some text\"\n}"}],"_postman_id":"b4c9723a-c01c-4710-b56d-ce0022bd31b8"},{"name":"Modify Treatment","id":"29df190e-d96b-4866-ae5a-200dda540ffa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":" {\r\n            \"batch_id\": 5,\r\n            \"registered_at\": \"2022-01-11\",\r\n            \"antimicrobial_used\": 3,\r\n            \"vaccines\": true,\r\n            \"disease\": \"test disease\",\r\n            \"was_vaccine_effective\": false,\r\n            \"amount_antimicrobial\": 1.1,\r\n            \"unit_measurement\": 3\r\n }","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_aq_v1.0/aquaculture/treatments/:id","urlObject":{"path":["ida_aq_v1.0","aquaculture","treatments",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"385","key":"id"}]}},"response":[{"id":"f0d85036-fa6e-4213-984c-5de237f7bce8","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":" {\r\n            \"batch_id\": 5,\r\n            \"registered_at\": \"2022-01-11\",\r\n            \"antimicrobial_used\": 3,\r\n            \"vaccines\": true,\r\n            \"disease\": \"test disease\",\r\n            \"was_vaccine_effective\": false,\r\n            \"amount_antimicrobial\": 1.1,\r\n            \"unit_measurement\": 3\r\n }","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/treatments/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","treatments",":id"],"variable":[{"key":"id","value":"290"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 14:48:36 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"241"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 290,\n    \"batch_id\": 5,\n    \"registered_at\": \"2022-01-11\",\n    \"antimicrobial_used\": \"3\",\n    \"was_vaccinated\": null,\n    \"diagnosed_disease\": null,\n    \"was_vaccine_effective\": false,\n    \"amount_antimicrobial\": 1.1,\n    \"unit_measurement\": \"kg\",\n    \"effectiveness_of_the_vaccine\": null\n}"}],"_postman_id":"29df190e-d96b-4866-ae5a-200dda540ffa"},{"name":"Get List Treatment","id":"dc2a8b6c-644e-4a32-a6e4-3bc3c476dbef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token_aq}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/treatments","description":"<p>Get list of all treatments recorded by the producer</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","treatments"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"a6f3a1d2-08d9-4439-a053-94ed611140f0","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/treatments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 14:49:22 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"829"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 290,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-11\",\n            \"antimicrobial_used\": \"3\",\n            \"was_vaccinated\": null,\n            \"diagnosed_disease\": null,\n            \"was_vaccine_effective\": false,\n            \"amount_antimicrobial\": 1.1,\n            \"unit_measurement\": \"kg\",\n            \"effectiveness_of_the_vaccine\": null\n        },\n        {\n            \"id\": 291,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-12\",\n            \"antimicrobial_used\": 3\n        },\n        {\n            \"id\": 348,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-02-02\",\n            \"antimicrobial_used\": 4\n        },\n        {\n            \"id\": 362,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-12\",\n            \"antimicrobial_used\": 3\n        },\n        {\n            \"id\": 363,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-12\",\n            \"antimicrobial_used\": 3\n        },\n        {\n            \"id\": 368,\n            \"batch_id\": 5,\n            \"registered_at\": \"2022-01-12\",\n            \"antimicrobial_used\": 3,\n            \"was_vaccinated\": false,\n            \"diagnosed_disease\": \"no idea what disease\",\n            \"was_vaccine_effective\": false,\n            \"amount_antimicrobial\": 1.1,\n            \"unit_measurement\": 3,\n            \"effectiveness_of_the_vaccine\": \"some text\"\n        }\n    ],\n    \"total\": 6\n}"}],"_postman_id":"dc2a8b6c-644e-4a32-a6e4-3bc3c476dbef"},{"name":"Delete Treatment","id":"8f53588d-cda0-46bc-8aef-43b83ea36458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/treatments/:id","description":"<p>Delete treatment by id</p>\n","urlObject":{"path":["ida_aq_v1.0","aquaculture","treatments",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"290","key":"id"}]}},"response":[{"id":"97b57e57-3438-42bd-9031-4475b689aa6b","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{URL}}/ida_aq_v1.0/aquaculture/treatments/:id","host":["{{URL}}"],"path":["ida_aq_v1.0","aquaculture","treatments",":id"],"variable":[{"key":"id","value":"290"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 03 Mar 2022 14:50:50 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8f53588d-cda0-46bc-8aef-43b83ea36458"}],"id":"cbf682c5-cc05-4870-920c-9b315978cebc","description":"<p>Module to manage treatments in Aquaculture.</p>\n","_postman_id":"cbf682c5-cc05-4870-920c-9b315978cebc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Vaccinations","item":[{"name":"Add Vaccination","id":"1aec77e9-7c23-4929-afd1-819eafe86b88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Test\",\r\n    \"registered_at\": \"2024-08-22\",\r\n    \"batch_id\": 21, \r\n    \"was_vaccinated\": true,\r\n    \"vaccination_commercial_name\":\"test\",\r\n    \"target_pathogens\":\"test\",\r\n    \"amount_vaccination\":1,\r\n    \"nr_individuals_vaccinated\":22,\r\n    \"effectiveness_of_the_vaccine\": \"some text\",\r\n    \"unit_measurement\": 3 \r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_aq_v1.0/aquaculture/vaccinations","description":"<h3 id=\"aquaculture-vaccinations\">Aquaculture Vaccinations</h3>\n<p>This endpoint allows you to create a new vaccination record for aquaculture.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>description</code> (string): A description of the vaccination.</p>\n</li>\n<li><p><code>registered_at</code> (string): The date when the vaccination was registered.</p>\n</li>\n<li><p><code>batch_id</code> (number): The ID of the vaccination batch.</p>\n</li>\n<li><p><code>was_vaccinated</code> (boolean): Indicates whether the individuals were vaccinated.</p>\n</li>\n<li><p><code>vaccination_commercial_name</code> (string): The commercial name of the vaccination.</p>\n</li>\n<li><p><code>target_pathogens</code> (string): The pathogens targeted by the vaccination.</p>\n</li>\n<li><p><code>amount_vaccination</code> (number): The amount of vaccination administered.</p>\n</li>\n<li><p><code>nr_individuals_vaccinated</code> (number): The number of individuals vaccinated.</p>\n</li>\n<li><p><code>effectiveness_of_the_vaccine</code> (string): The effectiveness of the vaccine.</p>\n</li>\n<li><p><code>unit_measurement</code> (number): The unit of measurement for the vaccination.</p>\n</li>\n</ul>\n<h4 id=\"response-json-schema\">Response (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"object\",\n    \"properties\": {\n        \"id\": { \"type\": \"number\" },\n        \"batch_id\": { \"type\": \"number\" },\n        \"registered_at\": { \"type\": \"string\" },\n        \"was_vaccinated\": { \"type\": \"boolean\" },\n        \"vaccination_commercial_name\": { \"type\": \"string\" },\n        \"target_pathogens\": { \"type\": \"string\" },\n        \"amount_vaccination\": { \"type\": \"number\" },\n        \"effectiveness_of_the_vaccine\": { \"type\": \"string\" },\n        \"unit_measurement\": { \"type\": \"number\" },\n        \"description\": { \"type\": \"string\" },\n        \"nr_individuals_vaccinated\": { \"type\": \"number\" }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}},"urlObject":{"path":["ida_aq_v1.0","aquaculture","vaccinations"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1aec77e9-7c23-4929-afd1-819eafe86b88"},{"name":"Get Vaccination","id":"f2647874-74b8-4061-b0c0-18e24a7a5580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/ida_aq_v1.0/aquaculture/vaccinations/:id","description":"<h3 id=\"get-aquaculture-vaccination-by-id\">Get Aquaculture Vaccination by ID</h3>\n<p>This endpoint retrieves the details of an aquaculture vaccination by its unique ID.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{url}}/ida_aq_v1.0/aquaculture/vaccinations/:id</code></p>\n</li>\n<li><p>Path Parameters:</p>\n<ul>\n<li><code>id</code> (string, required): The unique ID of the aquaculture vaccination.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": {\n      \"type\": \"string\"\n    },\n    \"date\": {\n      \"type\": \"string\",\n      \"format\": \"date\"\n    },\n    \"fish_species\": {\n      \"type\": \"string\"\n    },\n    \"vaccine_name\": {\n      \"type\": \"string\"\n    },\n    \"method\": {\n      \"type\": \"string\"\n    },\n    \"dose\": {\n      \"type\": \"number\"\n    },\n    \"batch_number\": {\n      \"type\": \"string\"\n    },\n    \"veterinarian\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}},"urlObject":{"path":["ida_aq_v1.0","aquaculture","vaccinations",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"21619","key":"id"}]}},"response":[],"_postman_id":"f2647874-74b8-4061-b0c0-18e24a7a5580"},{"name":"Modify Vaccination","id":"26fb4523-c3a7-4236-8717-4bf6c0eda4f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"registered_at\": \"2024-08-23\",\r\n    \"batch_id\": 15, \r\n\r\n    \"was_vaccinated\": true,\r\n    \"vaccination_commercial_name\":\"test\",\r\n    \"target_pathogens\":\"test\",\r\n    \"amount_vaccination\":1,\r\n    \"biomass_vaccination\":2,\r\n    \"effectiveness_of_the_vaccine\": \"some text\",\r\n    \"was_vaccine_effective\":true,\r\n\r\n\r\n    \"unit_measurement\": 4\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_aq_v1.0/aquaculture/vaccinations/:id","description":"<h3 id=\"update-aquaculture-vaccination\">Update Aquaculture Vaccination</h3>\n<p>This endpoint allows the user to update the vaccination details for a specific aquaculture entry.</p>\n<p><strong>Request Body</strong></p>\n<ul>\n<li><p><code>registered_at</code> (string): The date when the vaccination was registered.</p>\n</li>\n<li><p><code>batch_id</code> (number): The ID of the vaccination batch.</p>\n</li>\n<li><p><code>was_vaccinated</code> (boolean): Indicates whether the aquaculture was vaccinated.</p>\n</li>\n<li><p><code>vaccination_commercial_name</code> (string): The commercial name of the vaccination.</p>\n</li>\n<li><p><code>target_pathogens</code> (string): The pathogens targeted by the vaccination.</p>\n</li>\n<li><p><code>amount_vaccination</code> (number): The amount of vaccination administered.</p>\n</li>\n<li><p><code>biomass_vaccination</code> (number): The biomass at the time of vaccination.</p>\n</li>\n<li><p><code>effectiveness_of_the_vaccine</code> (string): Description of the vaccine's effectiveness.</p>\n</li>\n<li><p><code>was_vaccine_effective</code> (boolean): Indicates whether the vaccine was effective.</p>\n</li>\n<li><p><code>unit_measurement</code> (number): The unit of measurement for the vaccination.</p>\n</li>\n</ul>\n<p><strong>Response</strong><br />The response will contain the updated details of the aquaculture vaccination entry.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}},"urlObject":{"path":["ida_aq_v1.0","aquaculture","vaccinations",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"21619","key":"id"}]}},"response":[],"_postman_id":"26fb4523-c3a7-4236-8717-4bf6c0eda4f1"},{"name":"List Vaccination","id":"6cc65b5a-1091-4bdc-8b2c-e1a641a3285b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/vaccinations","description":"<h3 id=\"get-aquaculture-vaccinations\">Get Aquaculture Vaccinations</h3>\n<p>This endpoint retrieves the list of aquaculture vaccinations.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: <code>GET</code></p>\n</li>\n<li><p>URL: <code>{{URL}}/ida_aq_v1.0/aquaculture/vaccinations</code></p>\n</li>\n<li><p>Headers:</p>\n<ul>\n<li><p>Content-Type: <code>application/json</code></p>\n</li>\n<li><p>Authorization: <code>Bearer your_access_token</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request can be documented as a JSON schema to describe the structure of the data returned by the endpoint.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}},"urlObject":{"path":["ida_aq_v1.0","aquaculture","vaccinations"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cc65b5a-1091-4bdc-8b2c-e1a641a3285b"},{"name":"Delete Vaccination","id":"afe96156-9025-4b81-a418-6d6dec00449e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{URL}}/ida_aq_v1.0/aquaculture/vaccinations","description":"<p>This endpoint is used to delete a specific vaccination record related to aquaculture. Upon a successful deletion, the response will be in JSON format and will adhere to the JSON schema.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}},"urlObject":{"path":["ida_aq_v1.0","aquaculture","vaccinations"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"afe96156-9025-4b81-a418-6d6dec00449e"}],"id":"38b52208-141e-43e0-b983-a7d68afd31b3","description":"<p>Module to manage recording of water usage in whole agricultural production activity.<br /><strong>Minimum Frequency to report to GLOBALG.A.P. : Monthly – at the end of a calendar month</strong></p>\n","_postman_id":"38b52208-141e-43e0-b983-a7d68afd31b3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"d008dd7e-8a81-423c-86b8-bc056cedd11f","description":"<p>Module which covers all input consumption metrics of Aquaculture.</p>\n<p><strong>Minimum frequency to report GLOBALG.A.P. : Monthly, at the end of the calendar month</strong></p>\n","_postman_id":"d008dd7e-8a81-423c-86b8-bc056cedd11f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Benchmark","item":[],"id":"a4993d5d-8afd-4f42-9491-b4c13001eb2b","_postman_id":"a4993d5d-8afd-4f42-9491-b4c13001eb2b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"20288afa-5184-45f5-91bd-ab6f46699dfc","description":"<h3 id=\"impact-driven-approach-aquaculture\">Impact-Driven Approach Aquaculture</h3>\n<p>This section is dedicated to IDA Add-on for Aquaculture.</p>\n<h2 id=\"basic-steps-for-registering-aquaculture-producer\">Basic steps for registering Aquaculture producer:</h2>\n<h2 id=\"step-1\">Step 1:</h2>\n<p>Every producer has its own unique access token for this API. A producer may be aspiring for a GLOBALG.A.P. Farm assurance products (certifications) individually or in a group of producers. As rest of the registration of sites and crops depend on this access token, API partners shall ask producers their individual GGN/GLN and also their producer group’s GGN. Please also see Json Web token in Authorization section for details of each individual cases to generate jwt token.</p>\n<h2 id=\"step-2\">Step 2:</h2>\n<p>Every producer has to register at least one physical site. The physical site should be a representation of real-life sites the producer has and over that large physical site (or farm ) can be many logical sites on which many different batches of species are grown. Please refer to physical site module to know the data-model to register physical site.</p>\n<h2 id=\"step-3\">Step 3:</h2>\n<p>Once producer has registered physical site(s), it can add logical site(s) and associate logical site to any one of the physical site. Please refer to site module to know the data-model to register physical site.</p>\n<h2 id=\"step-4\">Step 4:</h2>\n<p>Now, producer has to start registering batch(es) grown on top of these logical site(s). GLOBALG.A.P. Impact-Driven API intends to ask producer whether they would give <strong>permission</strong>** to share their farm level data for auditing purpose. This permission shall be made per batch level. Their data shall be shared with the auditors (or Certifciation Bodies) for auditing purpose only after their consent. They also need to specify for which certification they are aspiring for and if they are aspiring as an individual producer or in a group of producers for that particular product. Please refer to batch section to know how to record batch data. Also, please consider 3 different scenarios mentioned in JWT before adding a batch.</p>\n<p>**Note: This feature is still under development. Hence, initially API partners can set the value to “False”</p>\n<h2 id=\"step-5\">Step 5:</h2>\n<p>Once site(s) and batch(es) have been registered, now, producer can start recording input consumption metrics for their batch(es). Please refer to metrics section to know all the data points that producer needs to record.</p>\n","_postman_id":"20288afa-5184-45f5-91bd-ab6f46699dfc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"IDA Plants","item":[{"name":"Physical Sites","item":[{"name":"Get physical site","id":"c3c6e30d-55fe-4dc7-b568-05fb6999c2f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site/:id","description":"<p>Get the physical site by id.</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"86605f0e-4b83-4b7b-956d-5083d604f90d","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"65f68a84-a690-4559-9b61-ee435a701442","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"e1c7da00-742b-4045-b004-35942fd038a0","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"}],"_postman_id":"c3c6e30d-55fe-4dc7-b568-05fb6999c2f3"},{"name":"Get List physical sites","id":"abbcd1c5-0ec6-4cca-b885-5749c1ae1d27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site","description":"<p>Get list of physical sites of the producer.</p>\n","urlObject":{"path":["physical_site"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"4e1b1b82-4b98-40fb-bc6b-cbbe7b776988","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"ce9a9964-b140-4ae9-88f1-26e7d14abe3e","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"8eb50ae5-30f0-4271-91a9-d67c17ea4199","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"}],"_postman_id":"abbcd1c5-0ec6-4cca-b885-5749c1ae1d27"},{"name":"Add physical site","id":"a2fe4646-40a5-499b-adff-5ce52d277fd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Live Test\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": 32.4038,\r\n    \"longitude\": 158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/physical_site","description":"<p>Add a new physical site of producer. Physical site can also be registered site of a producer in GG database. Physical site can also be site where produce handling takes place.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of physical site</td>\n</tr>\n<tr>\n<td>street</td>\n<td>0</td>\n<td>String</td>\n<td>Street address of physical site</td>\n</tr>\n<tr>\n<td>number</td>\n<td>0</td>\n<td>Integer</td>\n<td>Plot number</td>\n</tr>\n<tr>\n<td>zip_code</td>\n<td>0</td>\n<td>String</td>\n<td>Zipcode of physical site</td>\n</tr>\n<tr>\n<td>city</td>\n<td>0</td>\n<td>String</td>\n<td>City of physical site</td>\n</tr>\n<tr>\n<td>country</td>\n<td>0</td>\n<td>String</td>\n<td>Country</td>\n</tr>\n<tr>\n<td>latitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Geolocation of the site in terms of latitude: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n<tr>\n<td>longitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Geolocation of the site in terms of Longitude: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log</h1>\n<p>This call is entirely new. As such no changes have been made since the last version of the API.</p>\n","urlObject":{"path":["physical_site"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"f3d89b0f-6027-44ae-bde8-96be8db948d6","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/physical_site"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"43d5ea6a-b01b-477d-a41a-153765db6ac1","name":"Invalid jwt token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/physical_site"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Feb 2022 13:48:11 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"30"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid jwt token\"\n}"},{"id":"dced6399-19a3-4784-b2c8-6d2a1d790fa1","name":"Add physical site","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/physical_site"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:12:10 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"174"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 608,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"}],"_postman_id":"a2fe4646-40a5-499b-adff-5ce52d277fd3"},{"name":"Delete physical site","id":"8390a1d1-4cdb-47a2-bd3e-26095a2447fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site/:id","description":"<p>Delete a physical site by id</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"a09e92a6-ef1b-4414-820c-12a89b23ffa9","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"2d71e23f-8fc6-49ad-b7ad-4a2dd17e15fe","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8390a1d1-4cdb-47a2-bd3e-26095a2447fb"},{"name":"Modify physical site","id":"543eb994-df39-42bc-9426-2e728c106171","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n            \"name\": \"Producer physical site\",\r\n            \"street\": \"abc street\",\r\n            \"number\": 22,\r\n            \"zip_code\": 20222,\r\n            \"city\": \"Köln\",\r\n            \"country\": \"Germany\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/physical_site/:id","description":"<p>Modify physical site data</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"a5f3e11b-3751-43c3-8ec8-65f6518511b0","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"number\":125\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 1,\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 125,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}"}],"_postman_id":"543eb994-df39-42bc-9426-2e728c106171"}],"id":"bb0e9fd1-0938-475a-b08f-3b132e460dd8","description":"<p>Module to manage physical sites.</p>\n<p>The physical site should be a representation of real-life sites the producer has and over that large physical site (or farm ) can be many logical sites on which many different crops are grown. Please refer to physical site module to know the data-model to register physical site.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b9333df3-7570-400b-a2a0-15460b99cc65"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"84d853f1-69b6-4df6-b041-67ebd77c3448"}}],"_postman_id":"bb0e9fd1-0938-475a-b08f-3b132e460dd8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Sites","item":[{"name":"List sites","id":"8e7a6234-f623-4c3f-a496-e5c76df9f217","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{URL}}/sites?limit=5000&offset=&sort_by=&sort_order=","description":"<p>Returns a list of active sites you’ve previously created. The sites applications are returned in sorted order.</p>\n","urlObject":{"path":["sites"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":"5000"},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"8edd0404-e23a-4499-b592-8f73184bb536","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites?limit=2","host":["{{url}}"],"path":["sites"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Madrid\",\n         \"description\":\"Description 1\",\n         \"total_area\":175,\n         \"net_area\":125,          //Calculated using the “area” field from the Crop entity\n         \"unit_measure_id\":2,     //Unit of measure is hectares\n         \"fmis_id\":1,\n         \"producer_id\":1,\n         \"geoname_id\":1\n      },\n      {\n         \"id\":2,\n         \"name\":\"Sevilla\",\n         \"description\":\"Description 2\",\n         \"total_area\":150,\n         \"net_area\":125,          //Calculated using the “area” field from the Crop entity\n         \"unit_measure_id\":2,     //Unit of measure is hectares\n         \"fmis_id\":1,\n         \"producer_id\":1,\n         \"geoname_id\":1\n      }\n   ],\n   \"total\":3\n}"},{"id":"7b6ef77b-7ac1-4f61-8002-1155ebeed4a9","name":"List sites","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/sites?limit=&offset=&sort_by=&sort_order=","host":["{{url}}"],"path":["sites"],"query":[{"key":"limit","value":"","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":"","description":"The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0"},{"key":"sort_by","value":"","description":"Sort the items by a field"},{"key":"sort_order","value":"","description":"Sorts the list in the response in descending/ascending order. Default ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Feb 2022 13:29:29 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"2078"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"The gangarras\",\n            \"type\": \"Aqua\",\n            \"description\": \"The gangarras\",\n            \"total_area\": 10,\n            \"net_area\": 0,\n            \"unit_measure_id\": 2,\n            \"fmis_id\": 3,\n            \"geoname\": {\n                \"id\": 1,\n                \"latitude\": 53.7176,\n                \"longitude\": -123.2325,\n                \"name\": \"Regional District of Fraser-Fort George\",\n                \"country_code\": \"CA\",\n                \"admin1\": \"02\",\n                \"admin2\": \"5953\",\n                \"admin3\": \"\",\n                \"admin4\": \"\"\n            },\n            \"physical_site_id\": null\n        },\n        {\n            \"id\": 11,\n            \"name\": \"The gangarras\",\n            \"type\": \"Plant\",\n            \"description\": \"The gangarras\",\n            \"total_area\": 10,\n            \"net_area\": 0.001,\n            \"unit_measure_id\": 2,\n            \"fmis_id\": 3,\n            \"geoname\": {\n                \"id\": 11,\n                \"latitude\": 34.3375,\n                \"longitude\": -12.1168,\n                \"name\": \"The gangarras\",\n                \"country_code\": \"\",\n                \"admin1\": null,\n                \"admin2\": null,\n                \"admin3\": null,\n                \"admin4\": null\n            },\n            \"physical_site_id\": 3\n        },\n        {\n            \"id\": 17,\n            \"name\": \"The gangarras\",\n            \"type\": \"Plant\",\n            \"description\": \"The gangarras\",\n            \"total_area\": 250,\n            \"net_area\": 125,\n            \"unit_measure_id\": 2,\n            \"fmis_id\": 3,\n            \"geoname\": {\n                \"id\": 19,\n                \"latitude\": -32.8053,\n                \"longitude\": -54.2624,\n                \"name\": \"Departamento de Treinta y Tres\",\n                \"country_code\": \"UY\",\n                \"admin1\": \"19\",\n                \"admin2\": \"\",\n                \"admin3\": \"\",\n                \"admin4\": \"\"\n            },\n            \"physical_site_id\": 3\n        },\n        {\n            \"id\": 19,\n            \"name\": \"FV plant site\",\n            \"type\": \"Plant\",\n            \"description\": \"For testing producer gm\",\n            \"total_area\": 200,\n            \"net_area\": 0,\n            \"unit_measure_id\": 2,\n            \"fmis_id\": 1,\n            \"geoname\": {\n                \"id\": 23,\n                \"latitude\": 49.485074,\n                \"longitude\": 7.535364,\n                \"name\": \"Kottweiler-Schwanden\",\n                \"country_code\": \"DE\",\n                \"admin1\": \"08\",\n                \"admin2\": \"00\",\n                \"admin3\": \"07335\",\n                \"admin4\": \"07335020\"\n            },\n            \"physical_site_id\": 3\n        },\n        {\n            \"id\": 20,\n            \"name\": \"FV plant site\",\n            \"type\": \"Plant\",\n            \"description\": \"For testing producer gm\",\n            \"total_area\": 200,\n            \"net_area\": 0,\n            \"unit_measure_id\": 2,\n            \"fmis_id\": 1,\n            \"geoname\": {\n                \"id\": 24,\n                \"latitude\": 49.485074,\n                \"longitude\": 7.535364,\n                \"name\": \"Kottweiler-Schwanden\",\n                \"country_code\": \"DE\",\n                \"admin1\": \"08\",\n                \"admin2\": \"00\",\n                \"admin3\": \"07335\",\n                \"admin4\": \"07335020\"\n            },\n            \"physical_site_id\": 3\n        },\n        {\n            \"id\": 21,\n            \"name\": \"FV plant site\",\n            \"type\": \"Plant\",\n            \"description\": \"For testing producer\",\n            \"total_area\": 200,\n            \"net_area\": 0.006,\n            \"unit_measure_id\": 2,\n            \"fmis_id\": 1,\n            \"geoname\": {\n                \"id\": 25,\n                \"latitude\": 49.485074,\n                \"longitude\": 7.535364,\n                \"name\": \"Kottweiler-Schwanden\",\n                \"country_code\": \"DE\",\n                \"admin1\": \"08\",\n                \"admin2\": \"00\",\n                \"admin3\": \"07335\",\n                \"admin4\": \"07335020\"\n            },\n            \"physical_site_id\": 3\n        }\n    ],\n    \"total\": 6\n}"}],"_postman_id":"8e7a6234-f623-4c3f-a496-e5c76df9f217"},{"name":"Get site","id":"98e93af4-da84-4018-a132-2528d40e0437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/sites/:id","description":"<p>Get site data by id</p>\n","urlObject":{"path":["sites",":id"],"host":["{{URL}}"],"query":[],"variable":[{"description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"4a0711dc-47a5-4b64-afe8-e8691c82ffcb","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"fe89ecbb-58ab-4ef2-bbff-53aa7d8da913","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"},{"id":"a6e62a34-f46c-4ae4-93fd-cf4821c5a04a","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Madrid\",\n   \"description\":\"Description 1\",\n   \"total_area\":120,\n   \"net_area\":100,          //Calculated using the “area” field from the Crop entity\n   \"unit_measure_id\":2,     //Unit of measure is hectares\n   \"fmis_id\":1,\n   \"producer_id\":1,\n   \"geoname_id\":1\n}"}],"_postman_id":"98e93af4-da84-4018-a132-2528d40e0437"},{"name":"Add site","id":"366e8383-bf8a-4a44-8173-d7ae6de91905","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"            {\r\n            \"name\": \"Greenhouse X\",\r\n            \"type\": \"Plant\",\r\n            \"description\": \"1/3 Greenhouse\",\r\n            \"total_area\": 5000.0,            \r\n            \"unit_measure_id\": 2,\r\n            \"longitude\" : 158.843,\r\n            \"latitude\" : 32.4038,\r\n            \"physical_site_id\":611\r\n            }","options":{"raw":{"language":"json"}}},"url":"{{URL}}/sites","description":"<p>Add a new site where production takes place. Crops are assigned to a site and therefore site must be created first. Also, physical site must be created before creating a site because every (logical) site must be associated with one physical site.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the site</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>Description of the site</td>\n</tr>\n<tr>\n<td>type</td>\n<td>0</td>\n<td>String</td>\n<td>Type of the site, if the site used for Plant’s produce, accepted value is “Plant”. By default, type is Plant</td>\n</tr>\n<tr>\n<td>total_area</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Total gross area</td>\n</tr>\n<tr>\n<td>unit_measure_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measurement of total area, in Hectare:  <br />Accepted value: 2</td>\n</tr>\n<tr>\n<td>Longitude/latitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Coordinates to indicate location of site: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n<tr>\n<td>physical_site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which physical site this site is associated with.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"change-log\">Change Log</h4>\n<p><strong>New datapoints:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>0</td>\n<td>String</td>\n<td>Type of the site, if the site used for Plant’s produce, accepted value is “Plant”. By default, type is Plant.</td>\n</tr>\n<tr>\n<td>unit_measure_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measurement of total area, in Hectare:  <br />Accepted value: 2</td>\n</tr>\n<tr>\n<td>physical_site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which physical site this site is associated with.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Deleted or modified datapoints:</strong></p>\n<p>No datapoints have been deleted or modified.</p>\n","urlObject":{"path":["sites"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"94d34703-411a-47df-9af2-6565750cbdf8","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"            {\r\n            \"name\": \"The gangarras\",\r\n            \"type\": \"Plant\",\r\n            \"description\": \"The gangarras\",\r\n            \"total_area\": 10.0,            \r\n            \"unit_measure_id\": 2,\r\n            \"longitude\" : -3.703790,\r\n            \"latitude\" : 40.416775,\r\n            \"physical_site_id\":608\r\n            }","options":{"raw":{"language":"json"}}},"url":"{{URL}}/sites"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:12:26 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"320"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 984,\n    \"name\": \"The gangarras\",\n    \"type\": \"Plant\",\n    \"description\": \"The gangarras\",\n    \"total_area\": 10,\n    \"net_area\": 0,\n    \"unit_measure_id\": 2,\n    \"fmis_id\": 2,\n    \"geoname\": {\n        \"id\": 994,\n        \"latitude\": 40.416775,\n        \"longitude\": -3.70379,\n        \"name\": \"Centro\",\n        \"country_code\": \"ES\",\n        \"admin1\": \"29\",\n        \"admin2\": \"M\",\n        \"admin3\": \"28079\",\n        \"admin4\": \"1\"\n    },\n    \"physical_site_id\": 608\n}"}],"_postman_id":"366e8383-bf8a-4a44-8173-d7ae6de91905"},{"name":"Delete site","id":"6c3c0430-b9ee-431d-88b0-199210ea2efb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/sites/:id","description":"<p>Delete a site by id</p>\n","urlObject":{"path":["sites",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"774391ff-6d7c-4193-9621-eae0d851c9d7","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"e0958333-6aa9-4428-bad0-8154e6440236","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6c3c0430-b9ee-431d-88b0-199210ea2efb"},{"name":"Modify site","id":"7192b0b0-2cdb-49c2-88a3-ff077a656005","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Las gangarras\",\r\n   \"description\":\"Description\",\r\n   \"longitude\": 39.535364,\r\n   \"latitude\": -5.485074,\r\n   \"total_area\":150\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/sites/:id","description":"<p>Modify site data</p>\n","urlObject":{"path":["sites",":id"],"host":["{{URL}}"],"query":[],"variable":[{"description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"25","key":"id"}]}},"response":[{"id":"76c1e4dc-9255-432c-91b0-3304055177a4","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Las gangarras\",\r\n   \"description\":\"Description\",\r\n   \"longitude\": 39.535364,\r\n   \"latitude\": -5.485074,\r\n   \"total_area\":150\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"25","description":"Site identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Feb 2022 13:58:42 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"316"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 25,\n    \"name\": \"Las gangarras\",\n    \"type\": \"Plant\",\n    \"description\": \"Description\",\n    \"total_area\": 150,\n    \"net_area\": 0,\n    \"unit_measure_id\": 2,\n    \"fmis_id\": 3,\n    \"geoname\": {\n        \"id\": 30,\n        \"latitude\": -5.485074,\n        \"longitude\": 39.535364,\n        \"name\": \"Centro\",\n        \"country_code\": \"ES\",\n        \"admin1\": \"29\",\n        \"admin2\": \"M\",\n        \"admin3\": \"28079\",\n        \"admin4\": \"1\"\n    },\n    \"physical_site_id\": 5\n}"}],"_postman_id":"7192b0b0-2cdb-49c2-88a3-ff077a656005"}],"id":"36ebec96-155d-4e49-bf86-609652edfd86","description":"<p>Module to manage logical sites.</p>\n<p>Once producer has registered physical site(s), it can add logical site(s) and associate logical site to any one of his physical site.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"f73d2b5f-4602-4863-ab8b-615fc6307610"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"de7efde7-c34d-472e-ad84-f05a4aa707a1"}}],"_postman_id":"36ebec96-155d-4e49-bf86-609652edfd86","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Crops","item":[{"name":"Plants production type","item":[{"name":"List plant production types","id":"b274703a-29ee-4443-8962-c9fee6c8b4c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/production/type?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production types you’ve previously loaded. The production types are returned in sorted order. There are currently two types of production types in the Impact-Driven API: <strong>Covered</strong> and <strong>Open field</strong>.</p>\n","urlObject":{"path":["production","type"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"48391ebe-e783-46b7-813b-63d59f6b08e9","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type?limit=2","host":["{{url}}"],"path":["production","type"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Covered\",\n         \"description\":\"Crops where their production is covered\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Open field\",\n         \"description\":\"Crops where their production is open field\"\n      }\n   ],\n   \"total\":2\n}"}],"_postman_id":"b274703a-29ee-4443-8962-c9fee6c8b4c1"},{"name":"Get plant production type","id":"3fe64cfb-3332-4c9f-bc55-d1bb61a8a928","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/production/type/:id","description":"<p>Get the production type. Production types are <strong>covered</strong> and <strong>open field</strong></p>\n","urlObject":{"path":["production","type",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"9f1f8695-66a9-4d90-80e5-41fd12170c37","description":{"content":"<p>Production type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"ecaafebe-f60a-4cc9-892b-d9b1b725f0ee","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type/:id","host":["{{url}}"],"path":["production","type",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Covered\",\n   \"description\":\"Crops where their production is covered\"\n}"}],"_postman_id":"3fe64cfb-3332-4c9f-bc55-d1bb61a8a928"}],"id":"c5fac3ae-7f7f-4d1e-b03a-bf024a5737e9","description":"<p>Module to manage the production types</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"41f6f01e-c302-4a8b-8b30-a3fed4d7c7ed"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"593df630-d2db-4866-9801-c7e732e8c01d"}}],"_postman_id":"c5fac3ae-7f7f-4d1e-b03a-bf024a5737e9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Soil","item":[{"name":"Type","item":[{"name":"List the production soil type","id":"6273bea7-1d34-4b0c-aacc-bab409c49131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/soil/type?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production soils type you’ve previously loaded. The production soils type are returned in sorted order.</p>\n","urlObject":{"path":["soil","type"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"da926367-578f-4404-aadb-f09da98560df","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/soil/type?limit=&offset=&sort_by=&sort_order=","host":["{{url}}"],"path":["soil","type"],"query":[{"key":"limit","value":"","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":"","description":"The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0"},{"key":"sort_by","value":"","description":"Sort the items by a field"},{"key":"sort_order","value":"","description":"Sorts the list in the response in descending/ascending order. Default ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 18 Feb 2022 13:53:04 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"116"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Soil\",\n            \"description\": \"Soil\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Soilless\",\n            \"description\": \"Soilless\"\n        }\n    ],\n    \"total\": 2\n}"}],"_postman_id":"6273bea7-1d34-4b0c-aacc-bab409c49131"},{"name":"Get production soil type","id":"33662db0-dd1c-4652-9c93-93781f8beebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/soil/type/:id","description":"<p>Get the production soil type</p>\n","urlObject":{"path":["soil","type",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"92c3ab1d-bde7-423f-a371-4b1ebfd792e6","description":{"content":"<p>Production soil type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"4173bbc6-14e4-4783-b9f4-61cf34afb17c","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/soil/type/:id","host":["{{url}}"],"path":["soil","type",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Soil type 1\",\n   \"description\":\"Description 1\"\n}"}],"_postman_id":"33662db0-dd1c-4652-9c93-93781f8beebb"}],"id":"2433ff3e-7471-42b9-abda-71689cbc5e31","description":"<p>Module to manage the soils types</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7a9f26d1-6869-4d0e-b85f-f166a15650b8"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"7be3feb9-fee9-4bed-9493-f5fe074c96e1"}}],"_postman_id":"2433ff3e-7471-42b9-abda-71689cbc5e31","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"e83c59d1-e143-4154-a0db-3d7645edcfd2","description":"<p>Module to manage the soils</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"32af1d2d-bde0-4abf-9fa7-50a70bec62d7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"f3ec7bf5-9a01-47f1-93ec-9709737fb7c4"}}],"_postman_id":"e83c59d1-e143-4154-a0db-3d7645edcfd2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Product","item":[{"name":"Category","item":[{"name":"List of products","id":"564e9e44-fce8-4fa7-b959-b29c4f177f60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/product/category?limit=&offset=&sort_by=&sort_order=&supra_category=Fruit and vegetables","description":"<p>Returns a list of product categories . The product categoriess are returned in sorted order. To filter out Fruit and Vegetables products, please use \"Fruit and Vegetables\" value for query parameter \"supra_category\"</p>\n","urlObject":{"path":["product","category"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""},{"key":"supra_category","value":"Fruit and vegetables"}],"variable":[]}},"response":[{"id":"7ef30717-7b03-4c86-ac68-585fab943284","name":"Fruit and vegetables products","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/product/category?limit=&offset=&sort_by=&sort_order=&supra_category=Fruit and vegetables","host":["{{url}}"],"path":["product","category"],"query":[{"key":"limit","value":"","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":"","description":"The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0"},{"key":"sort_by","value":"","description":"Sort the items by a field"},{"key":"sort_order","value":"","description":"Sorts the list in the response in descending/ascending order. Default ASC"},{"key":"supra_category","value":"Fruit and vegetables","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 18 Feb 2022 13:51:10 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"9506"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Almond\",\n            \"description\": \"Almond\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Apple\",\n            \"description\": \"Apple\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Apricot\",\n            \"description\": \"Apricot\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Artichoke\",\n            \"description\": \"Artichoke\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Asparagus\",\n            \"description\": \"Asparagus\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Aubergine/Eggplant\",\n            \"description\": \"Aubergine/Eggplant\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Avocado\",\n            \"description\": \"Avocado\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Baby corn\",\n            \"description\": \"Baby corn\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Banana\",\n            \"description\": \"Banana\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Common bean\",\n            \"description\": \"Common bean\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Beetroot\",\n            \"description\": \"Beetroot\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 13,\n            \"name\": \"Black Salsify\",\n            \"description\": \"Black Salsify\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 14,\n            \"name\": \"Blackberry\",\n            \"description\": \"Blackberry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 15,\n            \"name\": \"Bilberry\",\n            \"description\": \"Bilberry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 16,\n            \"name\": \"Broccoli\",\n            \"description\": \"Broccoli\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 17,\n            \"name\": \"Brussel sprouts\",\n            \"description\": \"Brussel sprouts\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 18,\n            \"name\": \"Cabbage\",\n            \"description\": \"Cabbage\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 20,\n            \"name\": \"Carrot\",\n            \"description\": \"Carrot\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 21,\n            \"name\": \"Cauliflower\",\n            \"description\": \"Cauliflower\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 22,\n            \"name\": \"Celeriac (celery root)\",\n            \"description\": \"Celeriac (celery root)\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 23,\n            \"name\": \"Celery\",\n            \"description\": \"Celery\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 24,\n            \"name\": \"Chard\",\n            \"description\": \"Chard\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 25,\n            \"name\": \"Cherry\",\n            \"description\": \"Cherry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 26,\n            \"name\": \"Chestnut\",\n            \"description\": \"Chestnut\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 27,\n            \"name\": \"Chicory\",\n            \"description\": \"Chicory\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 30,\n            \"name\": \"Chive (herb)\",\n            \"description\": \"Chive (herb)\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 31,\n            \"name\": \"Clementine\",\n            \"description\": \"Clementine\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 32,\n            \"name\": \"Coconut\",\n            \"description\": \"Coconut\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 33,\n            \"name\": \"Coriander (herb)\",\n            \"description\": \"Coriander (herb)\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 34,\n            \"name\": \"Courgette (zucchini, marrow)\",\n            \"description\": \"Courgette (zucchini, marrow)\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 35,\n            \"name\": \"Cranberry\",\n            \"description\": \"Cranberry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 36,\n            \"name\": \"Garden cress\",\n            \"description\": \"Garden cress\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 37,\n            \"name\": \"Cucumber\",\n            \"description\": \"Cucumber\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 39,\n            \"name\": \"Custard apple/cherimoya\",\n            \"description\": \"Custard apple/cherimoya\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 40,\n            \"name\": \"Date\",\n            \"description\": \"Date\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 41,\n            \"name\": \"Endive\",\n            \"description\": \"Endive\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 42,\n            \"name\": \"Fennel\",\n            \"description\": \"Fennel\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 43,\n            \"name\": \"Fig\",\n            \"description\": \"Fig\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 44,\n            \"name\": \"Garlic\",\n            \"description\": \"Garlic\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 45,\n            \"name\": \"Gooseberry\",\n            \"description\": \"Gooseberry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 46,\n            \"name\": \"Gourd (edible)\",\n            \"description\": \"Gourd (edible)\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 47,\n            \"name\": \"Grapefruit\",\n            \"description\": \"Grapefruit\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 48,\n            \"name\": \"Grape (table)\",\n            \"description\": \"Grape (table)\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 51,\n            \"name\": \"Horseradish\",\n            \"description\": \"Horseradish\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 52,\n            \"name\": \"Jack Fruit\",\n            \"description\": \"Jack Fruit\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 54,\n            \"name\": \"Kiwano\",\n            \"description\": \"Kiwano\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 55,\n            \"name\": \"Kiwi\",\n            \"description\": \"Kiwi\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 56,\n            \"name\": \"Kohlrabi\",\n            \"description\": \"Kohlrabi\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 57,\n            \"name\": \"Kumquat\",\n            \"description\": \"Kumquat\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 58,\n            \"name\": \"Leek\",\n            \"description\": \"Leek\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 59,\n            \"name\": \"Lemongrass\",\n            \"description\": \"Lemongrass\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 60,\n            \"name\": \"Lemon\",\n            \"description\": \"Lemon\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 61,\n            \"name\": \"Lettuce\",\n            \"description\": \"Lettuce\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 62,\n            \"name\": \"Lime\",\n            \"description\": \"Lime\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 63,\n            \"name\": \"Litchi/Lychee\",\n            \"description\": \"Litchi/Lychee\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 64,\n            \"name\": \"Macadamia nut\",\n            \"description\": \"Macadamia nut\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 66,\n            \"name\": \"Mandarin\",\n            \"description\": \"Mandarin\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 67,\n            \"name\": \"Mangetout (pea pods)\",\n            \"description\": \"Mangetout (pea pods)\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 68,\n            \"name\": \"Mango\",\n            \"description\": \"Mango\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 71,\n            \"name\": \"Melon\",\n            \"description\": \"Melon\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 72,\n            \"name\": \"Minneola\",\n            \"description\": \"Minneola\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 73,\n            \"name\": \"Mulberry\",\n            \"description\": \"Mulberry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 74,\n            \"name\": \"Mushroom\",\n            \"description\": \"Mushroom\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 75,\n            \"name\": \"Mustard\",\n            \"description\": \"Mustard\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 76,\n            \"name\": \"Nectarine\",\n            \"description\": \"Nectarine\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 78,\n            \"name\": \"Okra\",\n            \"description\": \"Okra\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 79,\n            \"name\": \"Olive\",\n            \"description\": \"Olive\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 80,\n            \"name\": \"Onion\",\n            \"description\": \"Onion\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 81,\n            \"name\": \"Orange\",\n            \"description\": \"Orange\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 82,\n            \"name\": \"Pak choi\",\n            \"description\": \"Pak choi\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 83,\n            \"name\": \"Peach palm\",\n            \"description\": \"Peach palm\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 84,\n            \"name\": \"Papaya\",\n            \"description\": \"Papaya\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 85,\n            \"name\": \"Parsley (herb)\",\n            \"description\": \"Parsley (herb)\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 86,\n            \"name\": \"Parsnip\",\n            \"description\": \"Parsnip\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 88,\n            \"name\": \"Peach\",\n            \"description\": \"Peach\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 89,\n            \"name\": \"Pear\",\n            \"description\": \"Pear\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 90,\n            \"name\": \"Pea\",\n            \"description\": \"Pea\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 92,\n            \"name\": \"Persimmon/Kaki\",\n            \"description\": \"Persimmon/Kaki\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 93,\n            \"name\": \"Physalis/Cape gooseberry\",\n            \"description\": \"Physalis/Cape gooseberry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 94,\n            \"name\": \"Pineapple\",\n            \"description\": \"Pineapple\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 95,\n            \"name\": \"Plum\",\n            \"description\": \"Plum\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 96,\n            \"name\": \"Pomegranate\",\n            \"description\": \"Pomegranate\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 97,\n            \"name\": \"Pomelo\",\n            \"description\": \"Pomelo\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 98,\n            \"name\": \"Potato\",\n            \"description\": \"Potato\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 99,\n            \"name\": \"Prickly pear\",\n            \"description\": \"Prickly pear\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 100,\n            \"name\": \"Pumpkin\",\n            \"description\": \"Pumpkin\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 101,\n            \"name\": \"Quince\",\n            \"description\": \"Quince\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 102,\n            \"name\": \"Radish\",\n            \"description\": \"Radish\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 103,\n            \"name\": \"Raspberry\",\n            \"description\": \"Raspberry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 104,\n            \"name\": \"Rhubarb\",\n            \"description\": \"Rhubarb\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 105,\n            \"name\": \"Satsuma\",\n            \"description\": \"Satsuma\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 106,\n            \"name\": \"Shallot\",\n            \"description\": \"Shallot\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 108,\n            \"name\": \"Spinach\",\n            \"description\": \"Spinach\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 110,\n            \"name\": \"Squash\",\n            \"description\": \"Squash\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 112,\n            \"name\": \"Strawberry\",\n            \"description\": \"Strawberry\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 115,\n            \"name\": \"Rutabaga/Swede\",\n            \"description\": \"Rutabaga/Swede\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 116,\n            \"name\": \"Sweet Potato\",\n            \"description\": \"Sweet Potato\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 117,\n            \"name\": \"Sweetcorn\",\n            \"description\": \"Sweetcorn\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 118,\n            \"name\": \"Tamarillo\",\n            \"description\": \"Tamarillo\",\n            \"supra_category\": \"Fruit and vegetables\"\n        },\n        {\n            \"id\": 119,\n            \"name\": \"Tomato\",\n            \"description\": \"Tomato\",\n            \"supra_category\": \"Fruit and vegetables\"\n        }\n    ],\n    \"total\": 427\n}"}],"_postman_id":"564e9e44-fce8-4fa7-b959-b29c4f177f60"},{"name":"Get product by id","id":"6f13430e-8df2-43e6-a10c-0847fb71881a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/product/category/:id","description":"<p>Get an individual product based on id.</p>\n","urlObject":{"path":["product","category",":id"],"host":["{{URL}}"],"query":[],"variable":[{"description":{"content":"<p>Product category identifier</p>\n","type":"text/plain"},"type":"any","value":"119","key":"id"}]}},"response":[{"id":"a41658af-95d3-465e-9ec0-6f4373808b0b","name":"Get product by id","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/product/category/:id","host":["{{url}}"],"path":["product","category",":id"],"variable":[{"key":"id","value":"119","description":"Product category identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 18 Feb 2022 13:51:59 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"89"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 119,\n    \"name\": \"Tomato\",\n    \"description\": \"Tomato\",\n    \"supra_category\": \"Fruit and vegetables\"\n}"}],"_postman_id":"6f13430e-8df2-43e6-a10c-0847fb71881a"}],"id":"4b3d55f7-36be-4772-9ada-1e35c6932191","description":"<p>Module to manage the products categories</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"dfdff86a-449f-4718-985d-b4ebad4b35c4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"46e5c958-50e0-4048-a783-94f2c66a6a6b"}}],"_postman_id":"4b3d55f7-36be-4772-9ada-1e35c6932191","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"fee8837e-14d8-47ad-a2a9-e6afb038d2a8","description":"<p>Module to manage the products</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1cec51ff-288b-4f79-9b30-e816272698d1"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"33442b19-eb79-4ec0-9a08-fe86fc717eca"}}],"_postman_id":"fee8837e-14d8-47ad-a2a9-e6afb038d2a8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Genus","item":[{"name":"List the crop genus","id":"6ee4514b-0abd-467a-8e4d-4483d7d18f50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/crop/genus?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of crop genus you’ve previously loaded. The crop genus are returned in sorted order.</p>\n<p>GS1 Global Product Classification Class Code for Horticulture Plants will be used as the identifier of the crop. <a href=\"https://www.gs1.org/services/gpc-browser\">https://www.gs1.org/services/gpc-browser</a></p>\n","urlObject":{"path":["crop","genus"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"136730e0-f502-4c05-90eb-48f57ed86afd","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crop/genus?limit=2","host":["{{url}}"],"path":["crop","genus"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Genus 1\",\n         \"description\":\"Description 1\",\n         \"production_ref_small\":0.1,\n         \"production_ref_mid\":1,\n         \"production_ref_large\":5,\n         \"product_category_id\":1\n      },\n      {\n         \"id\":2,\n         \"name\":\"Genus 2\",\n         \"description\":\"Description 2\",\n         \"production_ref_small\":1,\n         \"production_ref_mid\":5,\n         \"production_ref_large\":15,\n         \"product_category_id\":1\n      }\n   ],\n   \"total\":5\n}"}],"_postman_id":"6ee4514b-0abd-467a-8e4d-4483d7d18f50"},{"name":"Get crop genus","id":"b1e56f95-7b10-4c5c-9c9d-cbe317066fb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/crop/genus/:id","description":"<p>Get individual crop genus based on id.</p>\n","urlObject":{"path":["crop","genus",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"1d9723bd-3d5e-4333-89de-f90186f6e7fc","description":{"content":"<p>Genus identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"aa1e4c2f-209e-49be-8658-1e53a2401630","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crop/genus/:id","host":["{{url}}"],"path":["crop","genus",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"genus\":\n   {\n      \"id\":1,\n      \"name\":\"Genus 1\",\n      \"description\":\"Description 1\",\n         \"production_ref_small\":0.1,\n         \"production_ref_mid\":1,\n         \"production_ref_large\":5,\n      \"product_category_id\":1\n   }\n}"}],"_postman_id":"b1e56f95-7b10-4c5c-9c9d-cbe317066fb7"}],"id":"1fb0a55b-ac5e-4f5f-83af-dc8c2f475503","description":"<p>Module to manage the crop genus</p>\n","event":[{"listen":"prerequest","script":{"id":"1d4e44ca-d25b-4080-8fd8-4b3bec4bbfb0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"71610379-4cf3-4a3d-8b2d-14af33cbfde0","type":"text/javascript","exec":[""]}}],"_postman_id":"1fb0a55b-ac5e-4f5f-83af-dc8c2f475503","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"List the crops","id":"f5502e86-f4d0-47ae-9722-c8d6f48d49cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/crops?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of crops previously created for the producer. The crops are returned in sorted order.</p>\n","urlObject":{"path":["crops"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"7a3b28f5-1c17-4f3b-8a26-429787742c13","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crops?limit=2","host":["{{url}}"],"path":["crops"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Crop 1\",\n         \"description\":\"Crop of oranges\",\n         \"area\": 150,\n         \"unit_measure_id\":2,\n         \"site_id\":33,\n         \"soil_type_id\":2,\n         \"production_type_id\":1,\n         \"product_category_id\":100005,\n         \"init_date\": \"2021-12-10\",\n         \"end_date\": null,\n         \"audit_data_permission\": true\n      },\n      {\n         \"id\":2,\n         \"name\":\"Crop 2\",\n         \"description\":\"Crop of strawberry\",\n         \"area\": 150,\n         \"unit_measure_id\":2,\n         \"site_id\":33,\n         \"soil_type_id\":2,\n         \"production_type_id\":2,\n         \"product_category_id\":100005,\n         \"init_date\": \"2021-12-10\",\n         \"end_date\": null,\n         \"audit_data_permission\": true\n      }\n   ],\n   \"total\": 3\n}"}],"_postman_id":"f5502e86-f4d0-47ae-9722-c8d6f48d49cd"},{"name":"Get crops","id":"1af10e46-5058-4e89-bb7f-09189293048b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://beta-data-driven.globalgap.org//crops/:id","description":"<p>Get crop data by id.</p>\n","urlObject":{"protocol":"https","path":["","crops",":id"],"host":["beta-data-driven","globalgap","org"],"query":[],"variable":[{"description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"any","value":"2649","key":"id"}]}},"response":[{"id":"6ec81561-506f-49b2-b63a-b7686eecaec6","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":"2","description":"Identificador del cultivo"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"},{"id":"d6381580-dee5-401c-9559-c6bdd4c024a1","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Crop 1\",\n   \"description\":\"Crop of oranges\",\n   \"area\": 150,\n   \"unit_measure_id\":2,\n   \"site_id\":33,\n   \"soil_type_id\":2,\n   \"production_type_id\":1,\n   \"product_category_id\":100005,\n   \"init_date\": \"2021-12-10\",\n   \"end_date\": null,\n   \"audit_data_permission\": true\n}"},{"id":"8428c691-dffd-4477-9818-1d18d5c3da6c","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":"99999","description":"Identificador del cultivo"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Identify not found\"\r\n}"}],"_postman_id":"1af10e46-5058-4e89-bb7f-09189293048b"},{"name":"Add crop","id":"348411d8-fd87-4c08-89a6-a18abc28b91b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of Apples\",\r\n   \"area\": 5,\r\n   \"unit_measure_id\":2,\r\n   \"site_id\":2153,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":1,\r\n   \"crop_genus_id\":\t93110101,\r\n   \"product_category_id\":2,\r\n   \"init_date\": \"2024-01-30\",\r\n   \"end_date\": \"2024-12-31\",\r\n   \"amount_harvested_produce\":1,\r\n   \"unit_measure_produce_id\": 3,\r\n   \"recognition_id\": 8,\r\n   \"audit_data_permission\" : false,\r\n   \"company_type\": \"Producer\",\r\n    \"group_member\": false,\r\n    \"pg_ggn\": \"\",\r\n   \"farming_type\": \"Conventional\"\r\n  \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/crops","description":"<p>Add new crop. A site must first be created as a crop is assigned to a site.<br />Please note that for initial implementation, set audit_data_permission value to be <strong>False</strong>. GLOBALG.A.P will notify when this feature is fully developed.<br />Please also note that before adding any crop, it is recommended that API partners shall ask producers for which GLOBALG.A.P. farm assurance product they are aspiring for and whether they are aspiring to get certified in a group or as an individual producer. Please refer to Json Web Token to modify payload accordingly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the crop</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>0</td>\n<td>String</td>\n<td>Description of crop</td>\n</tr>\n<tr>\n<td>area</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Area in which the crop is grown</td>\n</tr>\n<tr>\n<td>unit measure id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measure of the area in which the crop is grown. Area of crop is measured is in hectars. Accepted value: 2</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>The site where the crop is located. Use id created when site was created</td>\n</tr>\n<tr>\n<td>soil_type_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Use soil type id to indicate if production is with <strong>soil</strong> or <strong>without soil</strong>. See \"Soil\" for more information.</td>\n</tr>\n<tr>\n<td>production_type_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To indicate if crop is grown in a <strong>covered production</strong> or in a <strong>open field</strong>. See \"Production\" for more information</td>\n</tr>\n<tr>\n<td>product_category_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>GLOBALG.A.P. Product id from product list.</td>\n</tr>\n<tr>\n<td>init_date</td>\n<td>0</td>\n<td>Date</td>\n<td>Start date of growing the crop. Date format- yyyy-MM-dd. Default value is today’s date. By default, it will take today's date</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>0</td>\n<td>Date</td>\n<td>End date of the crop. Or harvest date of the crop. Date format- yyyy-MM-dd.</td>\n</tr>\n<tr>\n<td>amount_harvested_produce</td>\n<td>0</td>\n<td>Decimal</td>\n<td>Amount of harvest produce is required when the harvest date has been entered.</td>\n</tr>\n<tr>\n<td>unit_measure_produce_id</td>\n<td>1 when amount_harested_produce</td>\n<td>Integer</td>\n<td>Conditionally obligatory. Unit measure for amount of produce. Accepted value is 3 for Kg</td>\n</tr>\n<tr>\n<td>recognition_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which GLOBALGAP Farm assurance product the grown crop is aspiring to be certified . Possible ids IDA Add-on : 4 (Flowers and Ornamentals) &amp; 8 (Plants)</td>\n</tr>\n<tr>\n<td>audit_data_permission</td>\n<td>1</td>\n<td>Boolean</td>\n<td>Permission to share the data for auditing purpose.</td>\n</tr>\n<tr>\n<td>company_type</td>\n<td>0</td>\n<td>String</td>\n<td>Possible values \"Producer\" or \"ProducerGroup\"</td>\n</tr>\n<tr>\n<td>group_member</td>\n<td>0</td>\n<td>boolean</td>\n<td>Is the producer a member of a producer group: \"True\" or \"false\"</td>\n</tr>\n<tr>\n<td>pg_ggn</td>\n<td>0</td>\n<td>String</td>\n<td>The GGN of the PG member</td>\n</tr>\n<tr>\n<td>farming_type</td>\n<td>0</td>\n<td>String</td>\n<td>Possible values \"Conventional\" or \"Organic\"</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log</h1>\n<p><strong>New Datapoints:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount_harvested_produce</td>\n<td>0</td>\n<td>Decimal</td>\n<td>Amount of harvest produce is required when the harvest date has been entered.</td>\n</tr>\n<tr>\n<td>unit_measure_produce_id</td>\n<td>1 when amount_harvested_produce</td>\n<td>Integer</td>\n<td>Conditionally obligatory. Unit measure for amount of produce. Accepted value is 3 for Kg</td>\n</tr>\n<tr>\n<td>recognition_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which GLOBALGAP Farm assurance product the grown crop is aspiring to be certified . Possible ids IDA Add-on : 4 (Flowers and Ornamentals) &amp; 8 (Plants)</td>\n</tr>\n<tr>\n<td>audit_data_permission</td>\n<td>1</td>\n<td>Boolean</td>\n<td>Permission to share the data for auditing purpose.</td>\n</tr>\n<tr>\n<td>farming_type</td>\n<td>0</td>\n<td>String</td>\n<td>Possible values \"Conventional\" or \"Organic\"</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Modified or Deleted Datapoints:</strong></p>\n<p>No Datapoints have been deleted or modifed.</p>\n<p><strong>Enter a Non-production Crop:</strong></p>\n<p>If the producer has a period in time where no active crops exist, no input consumption data can be entered. This will cause a gap in the transmition of data and thus a suspension of the IDA certificate.</p>\n<p>To prevent this, the producer should create a crop with the non-production category (product category = 1234) for a set period of time. This allows the producer to register 0 input consumption data for this dummy crop, which will prevent gaps in the data from forming.</p>\n","urlObject":{"path":["crops"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"6889b068-5b87-4353-8acc-24a8458a6654","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 50,\r\n   \"unit_measure_id\":1,\r\n   \"site_id\":984,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":1,\r\n   \"product_category_id\":2,\r\n   \"init_date\": \"2023-01-30\",\r\n   \"end_date\": \"2023-02-17\",\r\n   \"amount_harvested_produce\": 100,\r\n   \"unit_measure_produce_id\": 3,\r\n   \"recognition_id\": 5,\r\n   \"audit_data_permission\" : false,\r\n   \"farming_type\": \"Conventional\"\r\n  \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/crops"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:12:39 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"438"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2651,\n    \"name\": \"Crop 1\",\n    \"description\": \"Crop of oranges\",\n    \"area\": 50,\n    \"crop_genus_id\": null,\n    \"recognition_id\": 5,\n    \"product_category_id\": 2,\n    \"unit_measure_id\": 1,\n    \"site_id\": 984,\n    \"soil_type_id\": 2,\n    \"production_type_id\": 1,\n    \"init_date\": \"2023-01-30\",\n    \"end_date\": \"2023-02-17\",\n    \"amount_harvested_produce\": 100,\n    \"unit_measure_produce_id\": 3,\n    \"audit_data_permission\": false,\n    \"company_type\": \"Producer\",\n    \"group_member\": false,\n    \"pg_ggn\": \"\",\n    \"farming_type\": \"Conventional\"\n}"},{"id":"15cca516-7d53-4390-84c8-80ab6edc922a","name":"Add crop","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 50,\r\n   \"unit_measure_id\":1,\r\n   \"site_id\":999,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":1,\r\n   \"product_category_id\":2,\r\n   \"init_date\": \"2023-01-30\",\r\n   \"end_date\": \"2023-02-17\",\r\n   \"amount_harvested_produce\": 100,\r\n   \"unit_measure_produce_id\": 2,\r\n   \"recognition_id\": 5,\r\n   \"audit_data_permission\" : false,\r\n   \"farming_type\": \"Conventional\"\r\n  \r\n}","options":{"raw":{"language":"json"}}},"url":"beta-data-driven.globalgap.org/crops"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 18 Oct 2023 13:57:03 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"83"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"unit_measure_produce_id\": [\n        \"invalid unit measure for this action (should be ha)\"\n    ]\n}"},{"id":"b9377ff8-389a-4ad2-91fe-2a1b36fd8e41","name":"Add crop full","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 5,\r\n   \"unit_measure_id\":2,\r\n   \"site_id\":1189,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":1,\r\n   \"product_category_id\":2,\r\n   \"init_date\": \"2023-01-30\",\r\n   \"end_date\": \"2023-02-17\",\r\n   \"unit_measure_produce_id\": 3,\r\n   \"recognition_id\": 8,\r\n   \"audit_data_permission\" : false,\r\n   \"company_type\": \"Producer\",\r\n    \"group_member\": false,\r\n    \"pg_ggn\": \"\",\r\n   \"farming_type\": \"Conventional\"\r\n  \r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/crops"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 14:08:40 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"437"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1303,\n    \"name\": \"Crop 1\",\n    \"description\": \"Crop of oranges\",\n    \"area\": 5,\n    \"crop_genus_id\": null,\n    \"recognition_id\": 8,\n    \"product_category_id\": 2,\n    \"unit_measure_id\": 2,\n    \"site_id\": 1189,\n    \"soil_type_id\": 2,\n    \"production_type_id\": 1,\n    \"init_date\": \"2023-01-30\",\n    \"end_date\": \"2023-02-17\",\n    \"amount_harvested_produce\": null,\n    \"unit_measure_produce_id\": 3,\n    \"audit_data_permission\": false,\n    \"company_type\": \"Producer\",\n    \"group_member\": false,\n    \"pg_ggn\": \"\",\n    \"farming_type\": \"Conventional\"\n}"}],"_postman_id":"348411d8-fd87-4c08-89a6-a18abc28b91b"},{"name":"Delete crop","id":"1b8aed14-b322-4544-9a5a-5b1392040eaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/crops/:id","description":"<p>Delete a crop data by id</p>\n","urlObject":{"path":["crops",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"0b0eb22c-acbd-4bfa-85ff-e34789f564e5","description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"0ac9ef8c-4084-4135-aefb-1db6b60f2b6b","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":"1","description":"Crop identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1b8aed14-b322-4544-9a5a-5b1392040eaa"},{"name":"Modify crop","id":"60dc355a-ce95-4f67-99f6-24fbb6fb6960","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"audit_data_permission\" : true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/crops/:id","description":"<p>Modify a crop data</p>\n","urlObject":{"path":["crops",":id"],"host":["{{URL}}"],"query":[],"variable":[{"description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"any","value":"2629","key":"id"}]}},"response":[{"id":"d3683a68-9b23-40e7-8004-756402e52c05","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 150\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   \"id\":1,\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 150,\r\n   \"unit_measure_id\":2,\r\n   \"site_id\":33,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":3,\r\n   \"product_category_id\":100005,\r\n   \"init_date\": \"2021-12-10\",\r\n   \"end_date\": null,\r\n   \"audit_data_permission\": true\r\n}"}],"_postman_id":"60dc355a-ce95-4f67-99f6-24fbb6fb6960"}],"id":"c6318c43-384d-4866-8ea4-3ab600f2c1dd","description":"<p>Module to manage the crops for Fruits and Vegetables. Please refer to Product folder in  to get GLOBALG.A.P. product ids for FV. Please refer to respective folders of master data to get ids for various fields such soil_type_id, production_type_id, recognition_id.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2d7afd15-bd37-4226-b195-a2e914829043"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"abbb6e7f-c34b-484a-b625-82df7b903895"}}],"_postman_id":"c6318c43-384d-4866-8ea4-3ab600f2c1dd","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Input Consumption Metrics","item":[{"name":"Water_used","item":[{"name":"Add Water_Used","id":"ce600c92-4d09-407c-bd1a-0622bd0796e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2024-11-17T18:04:25+00:00\",\r\n    \"amount_water_use\":30,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"amount_water_use_product_handeling\":0,\r\n    \"site_id\":1189\r\n}"},"url":"{{URL}}/ida_plants_v1.1/plants/water_used","description":"<p>Add water used in various agricultural activities.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Obligatory</th>\n<th><strong>Data format</strong></th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date_irrigation_registered</td>\n<td>1</td>\n<td>Datetime format  <br />YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM</td>\n<td>Registered time when water was used  <br />i.e  <br />2023-05-12T18:04:25+00:00</td>\n</tr>\n<tr>\n<td>amount_water_use</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Total amount of water used in agricultural production activity including washing, packaging etc.</td>\n</tr>\n<tr>\n<td>unit_measurement</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit of measurement. Accepted value : 4</td>\n</tr>\n<tr>\n<td>amount_water_use_irrigation</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of water used in irrigation</td>\n</tr>\n<tr>\n<td>amount_water_use_product_handeling</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of water used in Product Handeling</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which site this recording is associated with</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change log</h1>\n<p>New data points:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Data format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount_water_use_irrigation</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of water used in irrigation</td>\n</tr>\n<tr>\n<td>amount_water_use_product_handeling</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of water used in Product Handeling</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which site this recording is associated with</td>\n</tr>\n</tbody>\n</table>\n</div><p>Deleted data points:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Data format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Public Source</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of water extracted from a public source.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ida_plants_v1.1","plants","water_used"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"b3e3b56c-259d-45ec-ac6a-1fa557b5dc15","name":"Add Water_Used","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2023-09-17T18:04:25+00:00\",\r\n    \"amount_water_use\":100,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"amount_water_use_product_handeling\":20,\r\n    \"site_id\":1189\r\n\r\n}"},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/water_used"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 12:46:57 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"221"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5384,\n    \"crop_id\": null,\n    \"site_id\": 1189,\n    \"date_irrigation_registered\": \"2023-09-17 18:04:25+00:00\",\n    \"amount_water_use\": 100,\n    \"unit_measurement\": 4,\n    \"amount_water_use_irrigation\": 30,\n    \"amount_water_use_product_handeling\": 20\n}"}],"_postman_id":"ce600c92-4d09-407c-bd1a-0622bd0796e2"},{"name":"Water_Used","id":"ce5100a0-1044-45a5-a893-703b5e3d0397","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2021-12-21\",\r\n    \"amount_water_use\":100,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"site_id\":8\r\n\r\n}"},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/water_used/:id","description":"<p>Get water used data by id</p>\n","urlObject":{"protocol":"https","path":["ida_plants_v1.1","plants","water_used",":id"],"host":["test-data-driven","globalgap","org"],"query":[],"variable":[{"type":"any","value":"5374","key":"id"}]}},"response":[{"id":"acdc1960-dd7f-4a15-b273-3315fab2b687","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{URL}}/ida_plants_v1.1/plants/water_used/:id","host":["{{URL}}"],"path":["ida_plants_v1.1","plants","water_used",":id"],"variable":[{"key":"id","value":"112709"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:47:49 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"207"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112709,\n    \"crop_id\": null,\n    \"site_id\": 984,\n    \"date_irrigation_registered\": \"2022-02-17\",\n    \"amount_water_use\": 100,\n    \"unit_measurement\": 4,\n    \"amount_water_use_irrigation\": 30,\n    \"amount_water_use_product_handeling\": 20\n}"}],"_postman_id":"ce5100a0-1044-45a5-a893-703b5e3d0397"},{"name":"List the Water_Used","id":"633fbc80-d80a-4b00-89de-c063e2dbcbda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2021-12-21\",\r\n    \"amount_water_use\":100,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"site_id\":8\r\n\r\n}"},"url":"{{url}}/ida_plants_v1.1/plants/water_used?limit=500","description":"<p>Get the list of water used recorded by the producer.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","water_used"],"host":["{{url}}"],"query":[{"key":"limit","value":"500"}],"variable":[]}},"response":[{"id":"2284b45a-6897-4413-907b-6ae0aab555be","name":"List the Water_Used","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2021-12-21\",\r\n    \"amount_water_use\":100,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"site_id\":8\r\n\r\n}"},"url":{"raw":"{{url}}/ida_plants_v1.1/plants/water_used?limit=500","host":["{{url}}"],"path":["ida_plants_v1.1","plants","water_used"],"query":[{"key":"limit","value":"500"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 17 Oct 2025 10:43:33 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"276"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2498731,\n            \"crop_id\": null,\n            \"site_id\": 3734,\n            \"date_irrigation_registered\": \"2025-04-17 18:04:25+00:00\",\n            \"amount_water_use\": 30,\n            \"unit_measurement\": 4,\n            \"amount_water_use_irrigation\": 30,\n            \"amount_water_use_product_handeling\": 0,\n            \"description\": \"Test description\"\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"633fbc80-d80a-4b00-89de-c063e2dbcbda"},{"name":"Modify water_used","id":"49940a28-cccb-4db3-84b7-cce93ac88774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2022-02-21\",\r\n    \"amount_water_use\":100,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"amount_water_use_product_handeling\":20,\r\n    \"site_id\":984\r\n\r\n}"},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/water_used/:id","description":"<p>Modify the water used recording for particular water used recording id.</p>\n","urlObject":{"protocol":"https","path":["ida_plants_v1.1","plants","water_used",":id"],"host":["test-data-driven","globalgap","org"],"query":[],"variable":[{"type":"any","value":"112709","key":"id"}]}},"response":[{"id":"d2c886b0-b3c4-45af-a174-2c0f3097bccf","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2022-02-21\",\r\n    \"amount_water_use\":100,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"amount_water_use_product_handeling\":20,\r\n    \"site_id\":984\r\n\r\n}"},"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/water_used/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","water_used",":id"],"variable":[{"key":"id","value":"112709"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:50:10 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"210"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112709,\n    \"crop_id\": null,\n    \"site_id\": 984,\n    \"date_irrigation_registered\": \"2022-02-21\",\n    \"amount_water_use\": 100,\n    \"unit_measurement\": \"m3\",\n    \"amount_water_use_irrigation\": 30,\n    \"amount_water_use_product_handeling\": 20\n}"}],"_postman_id":"49940a28-cccb-4db3-84b7-cce93ac88774"},{"name":"Delete water_used","id":"8464270e-45c4-4726-a2ef-6384cdaff81d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2022-12-21\",\r\n    \"amount_water_use\":100,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"amount_water_use_product_handeling\":20,\r\n    \"site_id\":984\r\n\r\n}"},"url":"{{URL}}/ida_plants_v1.1/plants/water_used/:id","description":"<p>Delete water used recording.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","water_used",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112709","key":"id"}]}},"response":[{"id":"0f2d0fd8-2a1b-4ae5-a674-826e7155bccc","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_irrigation_registered\":\"2021-12-21\",\r\n    \"amount_water_use\":100,\r\n    \"unit_measurement\":4,\r\n    \"amount_water_use_irrigation\":30,\r\n    \"site_id\":8\r\n\r\n}"},"url":{"raw":"{{url}}/ida_fv_v1.0/fruit_and_vegetables/water_used/:id","host":["{{url}}"],"path":["ida_fv_v1.0","fruit_and_vegetables","water_used",":id"],"variable":[{"key":"id","value":"339"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 17 Feb 2022 15:41:44 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8464270e-45c4-4726-a2ef-6384cdaff81d"}],"id":"578345e2-2a86-4db7-ae50-b920a2c062e4","description":"<p>Module to manage recording of water usage in whole agricultural production activity.<br /><strong>Minimum Frequency to report to GLOBALG.A.P. : Monthly – at the end of a calendar month</strong></p>\n","_postman_id":"578345e2-2a86-4db7-ae50-b920a2c062e4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Water_abstracted","item":[{"name":"Water Abstraction sources","item":[{"name":"List waters types","id":"639dd545-1057-4294-873f-ad8ea7c1652b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/water_types?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production soils type you’ve previously loaded. The production soils type are returned in sorted order.</p>\n","urlObject":{"path":["water_types"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"8e2ac95b-2f37-4c2b-9426-c3979926e201","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{URL}}/water_types?limit=&offset=&sort_by=&sort_order=","host":["{{URL}}"],"path":["water_types"],"query":[{"key":"limit","value":"","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":"","description":"The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0"},{"key":"sort_by","value":"","description":"Sort the items by a field"},{"key":"sort_order","value":"","description":"Sorts the list in the response in descending/ascending order. Default ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 15:15:35 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"232"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 4,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Sea\",\n            \"description\": \"Sea Water\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Surface\",\n            \"description\": \"Surface Water\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Ground\",\n            \"description\": \"Ground Water\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Public\",\n            \"description\": \"Public Water\"\n        }\n    ]\n}"}],"_postman_id":"639dd545-1057-4294-873f-ad8ea7c1652b"},{"name":"Get water type","id":"6f8ddee7-7e91-4cbf-a6ce-c8f3c334a10f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/water_types/:id","description":"<p>Get the production soil type</p>\n","urlObject":{"path":["water_types",":id"],"host":["{{URL}}"],"query":[],"variable":[{"description":{"content":"<p>Production soil type identifier</p>\n","type":"text/plain"},"type":"any","value":"2","key":"id"}]}},"response":[{"id":"60e17bfc-1fd6-4359-9aaf-226c50f9c304","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{URL}}/water_types/:id","host":["{{URL}}"],"path":["water_types",":id"],"variable":[{"key":"id","value":"2","description":"Production soil type identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 15:16:24 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"55"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"Surface\",\n    \"description\": \"Surface Water\"\n}"}],"_postman_id":"6f8ddee7-7e91-4cbf-a6ce-c8f3c334a10f"}],"id":"d0a4df49-3ff9-44d5-9138-9a0a193f84dc","_postman_id":"d0a4df49-3ff9-44d5-9138-9a0a193f84dc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Add water_abstracted","id":"7d53314f-9ce0-4d8d-83bf-04c50245ad9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_water_abstracted\": \"2024-11-17T18:04:25+00:00\",\r\n    \"amount_water_abstracted\": 200,\r\n    \"unit_measurement\": 4,\r\n    \"water_source\": 3,\r\n    \"site_id\": 1189\r\n}"},"url":"{{URL}}/ida_plants_v1.1/plants/water_abstracted","description":"<p>Add water abstracted for various agricultural activities.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data points</th>\n<th>Obligatory</th>\n<th><strong>Data format</strong></th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date_water_abstracted</td>\n<td>1</td>\n<td>Datetime format  <br />YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM</td>\n<td>Registered date when water was abstracted  <br />i.e  <br />2023-05-12T18:04:25+00:00</td>\n</tr>\n<tr>\n<td>amount_water_abstracted</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Total amount of water abstracted</td>\n</tr>\n<tr>\n<td>unit_measurement</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit of measurement. Accepted value : 4</td>\n</tr>\n<tr>\n<td>water_source</td>\n<td>1</td>\n<td>Integer</td>\n<td>Id of source of water from where it was abstracted. Refer to master data water type for different water source id</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which site this recording is associated with</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log</h1>\n<p>This call is entirely new. As such no changes have been made since the last version of the API.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","water_abstracted"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"17d87199-20d8-4549-a72b-b890bf24bb75","name":"Add water_abstracted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"date_water_abstracted\": \"2023-02-17T18:04:25+00:00\",\r\n    \"amount_water_abstracted\": 200 ,\r\n    \"unit_measurement\": 4,\r\n    \"water_source\": 3,\r\n    \"site_id\": 1189\r\n    \r\n}"},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/water_abstracted"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 12:48:45 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"163"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5385,\n    \"crop_id\": null,\n    \"site_id\": 1189,\n    \"amount_water_abstracted\": 200,\n    \"unit_measurement\": 4,\n    \"water_source\": 3,\n    \"date_water_abstracted\": \"2023-02-17 18:04:25+00:00\"\n}"}],"_postman_id":"7d53314f-9ce0-4d8d-83bf-04c50245ad9a"},{"name":"Get water_abstracted","id":"89c85cfc-c380-4c07-9f4e-fd949c33ca4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/water_abstracted/:id","description":"<p>Get water abstracted recording data by id</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","water_abstracted",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112710","key":"id"}]}},"response":[{"id":"e9ec3ce6-6fb8-4050-b49d-306144318104","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/ida_plants_v1.1/plants/water_abstracted/:id","host":["{{URL}}"],"path":["ida_plants_v1.1","plants","water_abstracted",":id"],"variable":[{"key":"id","value":"112710"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:54:11 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"149"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112710,\n    \"crop_id\": null,\n    \"site_id\": 984,\n    \"amount_water_abstracted\": 200,\n    \"unit_measurement\": 4,\n    \"water_source\": 3,\n    \"date_water_abstracted\": \"2022-02-17\"\n}"}],"_postman_id":"89c85cfc-c380-4c07-9f4e-fd949c33ca4f"},{"name":"List of water_abstracted","id":"7192195d-35d6-42cc-b18f-1fed0fcf1948","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{URL}}/ida_plants_v1.1/plants/water_abstracted","description":"<p>Get the list of all water abstracted recorded by the producer.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","water_abstracted"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"bc049d92-3188-4a8b-a687-29c91ebc68fe","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{URL}}/ida_plants_v1.0/plants/water_abstracted"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:54:35 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"170"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 112710,\n            \"crop_id\": null,\n            \"site_id\": 984,\n            \"amount_water_abstracted\": 200,\n            \"unit_measurement\": 4,\n            \"water_source\": 3,\n            \"date_water_abstracted\": \"2022-02-17\"\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"7192195d-35d6-42cc-b18f-1fed0fcf1948"},{"name":"Modify water_abstracted","id":"dcf7514e-7532-47de-b902-9ff17f049f1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"            {\r\n            \"site_id\": 984,\r\n            \"amount_water_abstracted\": 250.0,\r\n            \"unit_measurement\": 4,\r\n            \"water_source\": 3,\r\n            \"date_water_abstracted\": \"2022-12-31\"\r\n            }"},"url":"{{URL}}/ida_plants_v1.1/plants/water_abstracted/:id","description":"<p>Modify water abstracted data</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","water_abstracted",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112710","key":"id"}]}},"response":[{"id":"f4089277-fed7-4419-925d-4f4aaaff2535","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"            {\r\n            \"site_id\": 984,\r\n            \"amount_water_abstracted\": 250.0,\r\n            \"unit_measurement\": 4,\r\n            \"water_source\": 3,\r\n            \"date_water_abstracted\": \"2022-12-31\"\r\n            }"},"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/water_abstracted/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","water_abstracted",":id"],"variable":[{"key":"id","value":"112710"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:55:20 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"159"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112710,\n    \"crop_id\": null,\n    \"site_id\": 984,\n    \"amount_water_abstracted\": 250,\n    \"unit_measurement\": \"m3\",\n    \"water_source\": \"Ground\",\n    \"date_water_abstracted\": \"2022-12-31\"\n}"}],"_postman_id":"dcf7514e-7532-47de-b902-9ff17f049f1e"},{"name":"Delete water_abstracted","id":"8746be31-f570-45e8-862c-d988322cb83f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/water_abstracted/:id","description":"<p>Delete water abstracted data</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","water_abstracted",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112710","key":"id"}]}},"response":[{"id":"e8afe8f7-b588-4f12-b80b-f4aab62c7b41","name":"Delete water_abstracted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/water_abstracted/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","water_abstracted",":id"],"variable":[{"key":"id","value":"112710"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:04:24 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"0"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"text/x-python"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8746be31-f570-45e8-862c-d988322cb83f"}],"id":"e832ca55-6e60-41be-9559-921e49689379","description":"<p>Module to manage recordings of water abstraction in agricultural production.</p>\n","_postman_id":"e832ca55-6e60-41be-9559-921e49689379","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Active Ingerdient","item":[{"name":"Get List Active Ingredient application","id":"a5d708c5-7369-4439-a68e-dfee60b78b48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/active_ingredient_applications","description":"<p>Get list of all active ingredients recorded by the producer.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","active_ingredient_applications"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"d8a574ee-b63f-4d25-a865-8c36179fa4e7","name":"Get List Active Ingredient application","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/active_ingredient_applications"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jun 2024 08:19:24 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"59"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 404,\n    \"error\": \"The resource was not found\"\n}"},{"id":"302f040d-307d-4d19-94b9-7255d535add9","name":"Get List Active Ingredient application","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/active_ingredient_applications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jun 2024 08:13:30 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"15218"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2196,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-04-26T13:47:00\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2197,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-02-26T14:48:00\",\n            \"amount\": 0.068,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2198,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-02-26T14:48:00\",\n            \"amount\": 0.068,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2199,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-03-26T14:50:00\",\n            \"amount\": 1.2,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2200,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-03-26T14:50:00\",\n            \"amount\": 1.2,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2201,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-06T14:59:00\",\n            \"amount\": 2.5,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2202,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-06T14:59:00\",\n            \"amount\": 2.5,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2203,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-05-26T15:15:00\",\n            \"amount\": 0.268,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2204,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-05-26T15:15:00\",\n            \"amount\": 1.068,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2205,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-05-06T15:26:00\",\n            \"amount\": 0.268,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2206,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-05-06T15:26:00\",\n            \"amount\": 1.068,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2207,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-06-26T15:30:00\",\n            \"amount\": 1.2,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2208,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-06-26T15:30:00\",\n            \"amount\": 0.335,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2209,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-06-26T15:30:00\",\n            \"amount\": 1.335,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2210,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-06-26T15:30:00\",\n            \"amount\": 2.5,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2211,\n            \"crop_id\": 937,\n            \"applied_to\": \"2020-06-26T15:30:00\",\n            \"amount\": 0.125,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2212,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2213,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2214,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2215,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2216,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2217,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2218,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2219,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2220,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2221,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-01T16:53:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2222,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2223,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2224,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2225,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2226,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2227,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2228,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2229,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2230,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2231,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-07T16:54:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2232,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2233,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2234,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2235,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2236,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2237,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2238,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2239,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2240,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2241,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-09T16:54:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2242,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2243,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2244,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2245,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2246,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2247,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2248,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2249,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2250,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2251,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-12T16:54:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2252,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2253,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2254,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2255,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2256,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2257,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2258,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2259,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2260,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2261,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-16T16:55:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2262,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2263,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2264,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2265,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2266,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2267,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2268,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2269,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2270,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2271,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-21T16:56:00\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2272,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2273,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2274,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2275,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2276,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2277,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2278,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2279,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2280,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2281,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-26T16:56:20\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2282,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2283,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2284,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2285,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2286,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2287,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2288,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2289,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2290,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2291,\n            \"crop_id\": 938,\n            \"applied_to\": \"2021-04-27T19:10:45\",\n            \"amount\": 0.062,\n            \"unit_measure_id\": 3,\n            \"cas\": \"52918-63-5\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2325,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-05-03T08:32:52\",\n            \"amount\": 0.6,\n            \"unit_measure_id\": 3,\n            \"cas\": \"149877-41-8\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2326,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-05-03T08:32:52\",\n            \"amount\": 0.168,\n            \"unit_measure_id\": 3,\n            \"cas\": \"175013-18-0\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2327,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-05-03T08:32:52\",\n            \"amount\": 0.668,\n            \"unit_measure_id\": 3,\n            \"cas\": \"188425-85-6\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        },\n        {\n            \"id\": 2328,\n            \"crop_id\": 935,\n            \"applied_to\": \"2021-05-03T08:32:52\",\n            \"amount\": 1.25,\n            \"unit_measure_id\": 3,\n            \"cas\": \"22259-30-9\",\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        }\n    ],\n    \"total\": 106\n}"}],"_postman_id":"a5d708c5-7369-4439-a68e-dfee60b78b48"},{"name":"Get Active Ingredient application","id":"8c8f872f-c4e2-4704-8d6e-60c25dfe4da9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/active_ingredient_applications/:id","description":"<p>Get the active ingredient data by id</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","active_ingredient_applications",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112707","key":"id"}]}},"response":[{"id":"e0e164e4-f83c-43e6-a8d7-356c12af2914","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/active_ingredient_applications/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","active_ingredient_applications",":id"],"variable":[{"key":"id","value":"112707"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:57:53 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"143"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112707,\n    \"crop_id\": 2651,\n    \"applied_to\": \"2023-02-17\",\n    \"amount\": 10,\n    \"unit_measure_id\": 3,\n    \"cas\": \"2338-18-3\",\n    \"product_name\": \"\",\n    \"concentration\": \"\"\n}"}],"_postman_id":"8c8f872f-c4e2-4704-8d6e-60c25dfe4da9"},{"name":"Add Active Ingredient Application","id":"537f054f-5b5a-42d3-bdc0-71368ec00253","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"applied_to\": \"2024-09-17T18:04:25+00:00\",\r\n     \"amount\": 10,\r\n     \"unit_measure_id\":3,\r\n     \"cas\": \"2338-18-3\",\r\n     \"crop_id\": 1665,\r\n     \"product_name\": \"\",\r\n     \"concentration\": \"\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_plants_v1.1/plants/active_ingredient_applications","description":"<p>Add active ingredient application on crops.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data points</th>\n<th>Obligatory</th>\n<th><strong>Data format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>applied_to</td>\n<td>1</td>\n<td>Datetime format  <br />YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM</td>\n<td>Registered date when AI was applied  <br />i.e  <br />2023-05-12T18:04:25+00:00</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Total amount of AI applied</td>\n</tr>\n<tr>\n<td>unit_measure_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit of measurement. Accepted value : 3</td>\n</tr>\n<tr>\n<td>cas</td>\n<td>1</td>\n<td>String</td>\n<td>CAS (Chemical Abstracts Service) Registry Numbers shall be used to indicate the applied active ingredient. CAS Registry Numbers are universal and GLOBALG.A.P. will not hold a separate registry of CAS Registry Numbers.</td>\n</tr>\n<tr>\n<td>crop_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Id of the crop where application took place. Crop must be created before applications can be saved</td>\n</tr>\n<tr>\n<td>product_name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the Product applied</td>\n</tr>\n<tr>\n<td>concentration</td>\n<td>0</td>\n<td>String</td>\n<td>Concentration of the Product applied</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log:</h1>\n<p><strong>New Data points:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data points</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Data format</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the Product applied</td>\n</tr>\n<tr>\n<td>concentration</td>\n<td>0</td>\n<td>String</td>\n<td>Concentration of the Product applied</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Modified or deleted data points:</strong></p>\n<p>No datapoints have been deleted or modified.</p>\n<p><strong>Zero Active Ingredient Application</strong></p>\n<p>A dummy CAS number “0000-00-0” shall be used to represent no CAS application or no active ingredient applied. There must be crop on which this no active ingredient applied is referenced to. Since the date should ndicate<br />for which month there has been no active ingredient applied, ‘applied_to’ should take the last date of the month for which this recording is being made.<br />Example of sample json request is</p>\n<p>{ \"applied_to\": \"2021-05-31T18:04:25+00:00\", \"amount\": 0,<br />\"unit_measure_id\": 3,<br />\"crop_id\": 111,<br />\"cas\":\"0000-00-0\"<br />}</p>\n<p><strong>NO CAS Number</strong></p>\n<p>In the event, the used Product does NOT have a CAS number,<br />please use the dummy CAS number \"0000-00-1\".</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","active_ingredient_applications"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f96464d5-b2a9-48c0-ab02-c9d96f74b59f","name":"Add Active Ingredient Application","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"applied_to\": \"2023-02-17T18:04:25+00:00\",\r\n     \"amount\": 10,\r\n     \"unit_measure_id\":3,\r\n     \"cas\": \"2338-18-3\",\r\n     \"crop_id\": 1297,\r\n     \"product_name\": \"\",\r\n     \"concentration\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/active_ingredient_applications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 12:49:19 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"156"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5386,\n    \"crop_id\": 1297,\n    \"applied_to\": \"2023-02-17 18:04:25+00:00\",\n    \"amount\": 10,\n    \"unit_measure_id\": 3,\n    \"cas\": \"2338-18-3\",\n    \"product_name\": \"\",\n    \"concentration\": \"\"\n}"}],"_postman_id":"537f054f-5b5a-42d3-bdc0-71368ec00253"},{"name":"Modify Active Ingredient Application","id":"cb39bbb6-eb8a-4890-8b11-b056ad729849","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"applied_to\": \"2025-09-17T18:04:25+00:00\",\r\n     \"amount\": 10,\r\n     \"unit_measure_id\":3,\r\n     \"cas\": \"2338-18-3\",\r\n     \"crop_id\": 2651,\r\n     \"product_name\": \"\",\r\n     \"concentration\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/active_ingredient_applications/:id","urlObject":{"path":["ida_plants_v1.1","plants","active_ingredient_applications",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112707","key":"id"}]}},"response":[{"id":"7339b2d7-1665-4942-b265-a7ad37172077","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"applied_to\": \"2023-02-17\",\r\n     \"amount\": 10,\r\n     \"unit_measure_id\":3,\r\n     \"cas\": \"2338-18-3\",\r\n     \"crop_id\": 2651,\r\n     \"product_name\": \"\",\r\n     \"concentration\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/active_ingredient_applications/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","active_ingredient_applications",":id"],"variable":[{"key":"id","value":"112707"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:58:56 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"146"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112707,\n    \"crop_id\": 2651,\n    \"applied_to\": \"2023-02-17\",\n    \"amount\": 10,\n    \"unit_measure_id\": \"kg\",\n    \"cas\": \"2338-18-3\",\n    \"product_name\": \"\",\n    \"concentration\": \"\"\n}"}],"_postman_id":"cb39bbb6-eb8a-4890-8b11-b056ad729849"},{"name":"Delete Active Ingredient Application","id":"570b69c1-bc35-44bb-bfe4-bfea98de6553","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/active_ingredient_applications/:id","urlObject":{"path":["ida_plants_v1.1","plants","active_ingredient_applications",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112707","key":"id"}]}},"response":[{"id":"9e5d522d-f9df-49ff-8714-348f7bdd4c39","name":"Delete Active Ingredient Application","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/active_ingredient_applications/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","active_ingredient_applications",":id"],"variable":[{"key":"id","value":"112707"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:59:21 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"570b69c1-bc35-44bb-bfe4-bfea98de6553"}],"id":"0658dee6-cf6c-4364-8095-3ff64bb4dc69","description":"<p>Module to manage the active ingredients and<br />their applications. Actual active ingredient inputs should be transferred via the Impact-Driven API. At this stage, the plant protection product (commercial name) used is not required to be transferred via the API. FMS need<br />to share only AI present in the plant protection product.<br />For AI identification, a CAS number must be given<br /><strong>Minimum frequency to report GLOBALG.A.P. : Monthly, at the end of the calendar month</strong></p>\n","_postman_id":"0658dee6-cf6c-4364-8095-3ff64bb4dc69","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Energy used","item":[{"name":"Source","item":[{"name":"List the energies sources","id":"6bfa94a0-0d4d-446f-9473-b7b3585f181c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/energy/source?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of energies sources you’ve previously loaded. The energies sources are returned in sorted order.</p>\n","urlObject":{"path":["energy","source"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"25ab6059-62e0-402c-ac32-dd3551c78309","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{URL}}/energy/source?limit=&offset=&sort_by=&sort_order=","host":["{{URL}}"],"path":["energy","source"],"query":[{"key":"limit","value":"","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":"","description":"The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0"},{"key":"sort_by","value":"","description":"Sort the items by a field"},{"key":"sort_order","value":"","description":"Sorts the list in the response in descending/ascending order. Default ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 15:11:10 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"848"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Hydrogen\",\n            \"description\": \"Hydrogen (liquid)\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Natural gas\",\n            \"description\": \"Natural gas\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Liquid gas\",\n            \"description\": \"Liquid gas\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Ethanol\",\n            \"description\": \"Ethanol\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Gasoline/petrol\",\n            \"description\": \"Gasoline/petrol\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Solar power\",\n            \"description\": \"Solar power\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Wind power\",\n            \"description\": \"Wind power\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Heavy oil\",\n            \"description\": \"Heavy oil\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Electricity bill\",\n            \"description\": null\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Diesel\",\n            \"description\": null\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Geothermal energy\",\n            \"description\": null\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Biofuel\",\n            \"description\": null\n        },\n        {\n            \"id\": 13,\n            \"name\": \"Light heating oil\",\n            \"description\": null\n        },\n        {\n            \"id\": 14,\n            \"name\": \"Coal (anthracite)\",\n            \"description\": null\n        },\n        {\n            \"id\": 15,\n            \"name\": \"test energy\",\n            \"description\": \"testing\"\n        }\n    ],\n    \"total\": 15\n}"}],"_postman_id":"6bfa94a0-0d4d-446f-9473-b7b3585f181c"},{"name":"Get energy source","id":"6b097d81-3ead-4d0f-8084-7c779c161ecb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{URL}}/energy/source/:id","description":"<p>Get the energy source</p>\n","urlObject":{"path":["energy","source",":id"],"host":["{{URL}}"],"query":[],"variable":[{"description":{"content":"<p>Energy source identifier</p>\n","type":"text/plain"},"type":"any","value":"2","key":"id"}]}},"response":[{"id":"03180fde-b8fa-4e1a-8dd1-c32e5b76d961","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{URL}}/energy/source/:id","host":["{{URL}}"],"path":["energy","source",":id"],"variable":[{"key":"id","value":"2","description":"Energy source identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 15:12:09 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"57"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"Natural gas\",\n    \"description\": \"Natural gas\"\n}"}],"_postman_id":"6b097d81-3ead-4d0f-8084-7c779c161ecb"}],"id":"6baf0ee7-ed51-4d84-a74e-98d9a7e1d9c2","description":"<p>Module to manage the energy sources</p>\n","_postman_id":"6baf0ee7-ed51-4d84-a74e-98d9a7e1d9c2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Add Energy used","id":"eb076131-6aea-4f50-8fe4-c3920ae2c30b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\" : \"This is energy use test 1\" ,\r\n    \"amount\": 250,\r\n    \"renewable_amount\":  150,\r\n    \"registered_at\":\"2024-02-11T18:04:25+00:00\",\r\n    \"unit_measure_id\": 5,\r\n    \"source_id\": 9,\r\n    \"site_id\": 1189\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/energy_use","description":"<p>Add new energy use to a crop or site. Depending on accuracy of energy use records, energy<br />consumption can be tied to a crop or site. If both crop and site are used, the energy consumption will be logged to the crop.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data points</th>\n<th>Obligatory</th>\n<th><strong>Data format</strong></th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registered_at</td>\n<td>1</td>\n<td>Datetime format  <br />YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM</td>\n<td>Registered date when Energy was used  <br />i.e  <br />2023-05-12T18:04:25+00:00</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>Description of energy use</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Total amount of energy used</td>\n</tr>\n<tr>\n<td>unit_measure_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measurement id of energy use. Accepted value: 5</td>\n</tr>\n<tr>\n<td>renewable_amount</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of the energy consumed is from a renewable resource (e.g. when electricity bill consists of multiple energy sources)</td>\n</tr>\n<tr>\n<td>source_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Source id of energy</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>0/1 when crop-id is NOT used</td>\n<td>Integer</td>\n<td>Site id can be used when energy use cannot be recorded to a specific crop.</td>\n</tr>\n<tr>\n<td>crop_id</td>\n<td>0/1 when site_id is NOT used</td>\n<td>Integer</td>\n<td>To which crop the energy consumption is recorded. When the energy use event cannot be tracked to a specific crop, site id can also be used to track the energy use to a specific site.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change log</h1>\n<p><strong>New Data point:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>site_id</td>\n<td>Site id can be used when energy use cannot be recorded to a specific crop.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ida_plants_v1.1","plants","energy_use"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"2917dc6b-071e-4290-9395-352ef3c57360","name":"Add Energy used","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\" : \"This is energy use test 1\" ,\r\n    \"amount\": 250,\r\n    \"renewable_amount\":  150,\r\n    \"registered_at\":\"2022-02-11T18:04:25+00:00\",\r\n    \"unit_measure_id\": 5,\r\n    \"source_id\": 9,\r\n    \"site_id\": 1189\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/energy_use"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 12:49:41 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"201"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5387,\n    \"crop_id\": null,\n    \"site_id\": 1189,\n    \"description\": \"This is energy use test 1\",\n    \"amount\": 250,\n    \"renewable_amount\": 150,\n    \"registered_at\": \"2022-02-11 18:04:25+00:00\",\n    \"unit_measure_id\": 5,\n    \"source_id\": 9\n}"}],"_postman_id":"eb076131-6aea-4f50-8fe4-c3920ae2c30b"},{"name":"Get Energy used","id":"dbe50cc2-c14e-47af-bef0-fa1f662296a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/energy_use/:id","description":"<p>Get energy use data by id</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_use",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112711","key":"id"}]}},"response":[{"id":"f4db1711-c54a-4d06-8922-40ab4fb7625e","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/energy_use/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","energy_use",":id"],"variable":[{"key":"id","value":"112711"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:01:14 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"187"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112711,\n    \"crop_id\": null,\n    \"site_id\": 984,\n    \"description\": \"This is energy use test 1\",\n    \"amount\": 250,\n    \"renewable_amount\": 150,\n    \"registered_at\": \"2022-02-11\",\n    \"unit_measure_id\": 5,\n    \"source_id\": 9\n}"}],"_postman_id":"dbe50cc2-c14e-47af-bef0-fa1f662296a3"},{"name":"Get List energy used","id":"a8f0fc88-31e7-4f5d-bff5-c6e7167e4fbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/energy_use","description":"<p>Get list of energy used recorded by the producer</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_use"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"af5cfbfd-3c3b-497f-86be-4b75c765296d","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.0/plants/energy_use"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:01:36 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"208"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 112711,\n            \"crop_id\": null,\n            \"site_id\": 984,\n            \"description\": \"This is energy use test 1\",\n            \"amount\": 250,\n            \"renewable_amount\": 150,\n            \"registered_at\": \"2022-02-11\",\n            \"unit_measure_id\": 5,\n            \"source_id\": 9\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"a8f0fc88-31e7-4f5d-bff5-c6e7167e4fbe"},{"name":"Modify Energy used","id":"fd82541c-33f4-465b-aec8-5a0cd60d70e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\" : \"This is energy use test 1\" ,\r\n    \"amount\": 255,\r\n    \"renewable_amount\":  50,\r\n    \"registered_at\":\"2022-01-05\",\r\n    \"unit_measure_id\": 5,\r\n    \"source_id\": 9,\r\n    \"site_id\": 984\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/energy_use/:id","description":"<p>Modify energy used data.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_use",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112711","key":"id"}]}},"response":[{"id":"92e405f1-39e7-42b2-b4d7-3c6eb1c0e9ed","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\" : \"This is energy use test 1\" ,\r\n    \"amount\": 255,\r\n    \"renewable_amount\":  50,\r\n    \"registered_at\":\"2022-01-05\",\r\n    \"unit_measure_id\": 5,\r\n    \"source_id\": 9,\r\n    \"site_id\": 984\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/energy_use/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","energy_use",":id"],"variable":[{"key":"id","value":"112711"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:02:23 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"207"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112711,\n    \"crop_id\": null,\n    \"site_id\": 984,\n    \"description\": \"This is energy use test 1\",\n    \"amount\": 255,\n    \"renewable_amount\": 50,\n    \"registered_at\": \"2022-01-05\",\n    \"unit_measure_id\": \"kwh\",\n    \"source_id\": \"Electricity bill\"\n}"}],"_postman_id":"fd82541c-33f4-465b-aec8-5a0cd60d70e5"},{"name":"Delete Energy used","id":"4997a351-3223-4af5-8b91-7d1beb4ae20d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/energy_used/:id","description":"<p>Delete energy used data.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_used",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"352","key":"id"}]}},"response":[{"id":"a7563c68-002a-473d-a638-af32b63b9279","name":"Delete Energy used","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/energy_use/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","energy_use",":id"],"variable":[{"key":"id","value":"112711"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:03:17 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4997a351-3223-4af5-8b91-7d1beb4ae20d"}],"id":"8c595da3-ef75-48e0-b7f3-21f585b147f1","description":"<p>Module to manage recording of energy usage in agricultural production. Please refer to Energy sources in Master data to get various energy source ids.</p>\n","_postman_id":"8c595da3-ef75-48e0-b7f3-21f585b147f1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Energy Exported or Generated","item":[{"name":"Add Energy Exported/generated","id":"3e180d99-bcda-483f-a599-8cb7dad7065e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"date_energy_exported_grid\":\"2024-02-10T18:04:25+00:00\",\r\n    \"amount_energy_exported_grid\":0,\r\n    \"unit_measurement\":5,\r\n    \"amount_energy_generated\":200,\r\n    \"date_energy_generated\": \"2024-02-11T18:04:25+00:00\",\r\n    \"site_id\":1189\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/energy_exporte","description":"<p>Add energy exported or generated data.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data points</th>\n<th>Obligatory</th>\n<th><strong>Data format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>General description of energy exported / generated</td>\n</tr>\n<tr>\n<td>date_energy_exported_grid</td>\n<td>1</td>\n<td>Datetime format  <br />YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM</td>\n<td>Registered date when Energy was exported to grid  <br />i.e  <br />2023-05-12T18:04:25+00:00</td>\n</tr>\n<tr>\n<td>amount_energy_exported_grid</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of energy exported to grid</td>\n</tr>\n<tr>\n<td>unit_measurement</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measurement id of energy exported. Accepted value: 5</td>\n</tr>\n<tr>\n<td>amount_energy_generated</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of energy generated at farm level</td>\n</tr>\n<tr>\n<td>date_energy_generated</td>\n<td>1</td>\n<td>Datetime format  <br />YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM</td>\n<td>Date when energy was generated  <br />i.e  <br />2023-05-12T18:04:25+00:00</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>On which site energy was generated</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log</h1>\n<p>This call is entirely new. As such no changes have been made since the last version of the API.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_exporte"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"00fb98e4-727b-4381-adb9-fd9dc18b89ca","name":"Add Energy Exported/generated","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"date_energy_exported_grid\":\"2022-02-10T18:04:25+00:00\",\r\n    \"amount_energy_exported_grid\":0,\r\n    \"unit_measurement\":5,\r\n    \"amount_energy_generated\":200,\r\n    \"date_energy_generated\": \"2022-02-11T18:04:25+00:00\",\r\n    \"site_id\":1189\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/energy_exported"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 12:50:41 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"253"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5388,\n    \"crop_id\": null,\n    \"site_id\": 1189,\n    \"date_energy_exported_grid\": \"2022-02-10 18:04:25+00:00\",\n    \"amount_energy_exported_grid\": 0,\n    \"unit_measurement\": 5,\n    \"amount_energy_generated\": 200,\n    \"date_energy_generated\": \"2022-02-11 18:04:25+00:00\",\n    \"description\": \"\"\n}"}],"_postman_id":"3e180d99-bcda-483f-a599-8cb7dad7065e"},{"name":"Get Energy Exported/generated","id":"68a15307-2fc9-49bf-8a8c-9bdf113dca04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"date_energy_exported_grid\":\"2022-01-19\",\r\n    \"amount_energy_exported_grid\":0,\r\n    \"unit_measurement\":5,\r\n    \"amount_energy_generated\":200,\r\n    \"date_energy_generated\": \"2022-01-9\",\r\n    \"site_id\":11\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/energy_exported/:id","description":"<p>Get energy exported or energy generated data.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_exported",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112712","key":"id"}]}},"response":[{"id":"fbaeee44-50d2-4710-b081-d1bf060f5726","name":"Get Energy Exported/generated","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"date_energy_exported_grid\":\"2022-01-19\",\r\n    \"amount_energy_exported_grid\":0,\r\n    \"unit_measurement\":5,\r\n    \"amount_energy_generated\":200,\r\n    \"date_energy_generated\": \"2022-01-9\",\r\n    \"site_id\":11\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/energy_exported/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","energy_exported",":id"],"variable":[{"key":"id","value":"112712"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:05:47 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"224"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112712,\n    \"crop_id\": null,\n    \"site_id\": 984,\n    \"date_energy_exported_grid\": \"2022-02-10\",\n    \"amount_energy_exported_grid\": 0,\n    \"unit_measurement\": 5,\n    \"amount_energy_generated\": 200,\n    \"date_energy_generated\": \"2022-02-11\",\n    \"description\": \"\"\n}"}],"_postman_id":"68a15307-2fc9-49bf-8a8c-9bdf113dca04"},{"name":"Get List Energy Exported/generated","id":"50d777c8-e6e8-4577-8a98-48e126577ec8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"date_energy_exported_grid\":\"2022-01-19\",\r\n    \"amount_energy_exported_grid\":0,\r\n    \"unit_measurement\":5,\r\n    \"amount_energy_generated\":200,\r\n    \"date_energy_generated\": \"2022-01-9\",\r\n    \"site_id\":11\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/energy_exported","description":"<p>Get list of energy exported or generated recorded by the producer.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_exported"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"2b47762b-3427-42bb-bd1e-b87f2133ae01","name":"Get List Energy Exported/generated","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"date_energy_exported_grid\":\"2022-01-19\",\r\n    \"amount_energy_exported_grid\":0,\r\n    \"unit_measurement\":5,\r\n    \"amount_energy_generated\":200,\r\n    \"date_energy_generated\": \"2022-01-9\",\r\n    \"site_id\":11\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.0/plants/energy_exported"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:06:07 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"245"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 112712,\n            \"crop_id\": null,\n            \"site_id\": 984,\n            \"date_energy_exported_grid\": \"2022-02-10\",\n            \"amount_energy_exported_grid\": 0,\n            \"unit_measurement\": 5,\n            \"amount_energy_generated\": 200,\n            \"date_energy_generated\": \"2022-02-11\",\n            \"description\": \"\"\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"50d777c8-e6e8-4577-8a98-48e126577ec8"},{"name":"Modify Energy Exported/generated","id":"107b1bb9-9f72-4a9d-ac90-d4ffa5060d67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"date_energy_exported_grid\":\"2022-02-10\",\r\n    \"amount_energy_exported_grid\":0,\r\n    \"unit_measurement\":5,\r\n    \"amount_energy_generated\":200,\r\n    \"date_energy_generated\": \"2022-02-11\",\r\n    \"site_id\":984\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/energy_exported/:id","description":"<p>Modify energy exported or generated data.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_exported",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112712","key":"id"}]}},"response":[{"id":"b88481f0-f3b4-4b0b-ab1a-336d937359ed","name":"Modify Energy Exported/generated","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"date_energy_exported_grid\":\"2022-02-10\",\r\n    \"amount_energy_exported_grid\":0,\r\n    \"unit_measurement\":5,\r\n    \"amount_energy_generated\":200,\r\n    \"date_energy_generated\": \"2022-02-11\",\r\n    \"site_id\":984\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/energy_exported/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","energy_exported",":id"],"variable":[{"key":"id","value":"112712"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:07:26 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"228"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112712,\n    \"crop_id\": null,\n    \"site_id\": 984,\n    \"date_energy_exported_grid\": \"2022-02-10\",\n    \"amount_energy_exported_grid\": 0,\n    \"unit_measurement\": \"kwh\",\n    \"amount_energy_generated\": 200,\n    \"date_energy_generated\": \"2022-02-11\",\n    \"description\": \"\"\n}"}],"_postman_id":"107b1bb9-9f72-4a9d-ac90-d4ffa5060d67"},{"name":"Delete Energy Exported/generated","id":"96187d92-b066-4504-9aa0-aa00703fa709","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/energy_exported/:id","description":"<p>Delete energy exported data</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","energy_exported",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"354","key":"id"}]}},"response":[{"id":"515d8f94-f01c-497f-bad9-5af743b2cbaa","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/ida_fv_v1.0/fruit_and_vegetables/energy_exported/:id","host":["{{url}}"],"path":["ida_fv_v1.0","fruit_and_vegetables","energy_exported",":id"],"variable":[{"key":"id","value":"354"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Fri, 18 Feb 2022 13:11:16 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null},{"id":"998a97fc-8b0c-4fe4-ae4e-3c1639e8376b","name":"Delete Energy Exported/generated","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/energy_exported/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","energy_exported",":id"],"variable":[{"key":"id","value":"112712"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:07:56 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"96187d92-b066-4504-9aa0-aa00703fa709"}],"id":"07d68329-dc86-475f-992c-fe2705a45a40","description":"<p>Module to manage recording of energy exported or energy generated at the farm level.</p>\n","_postman_id":"07d68329-dc86-475f-992c-fe2705a45a40","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Fertilizer_application","item":[{"name":"Fertilizer","item":[{"name":"List Fertilizer","id":"19c492e5-9a7f-49a2-8a73-ced67955aaed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/fertilizers","urlObject":{"path":["fertilizers"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19c492e5-9a7f-49a2-8a73-ced67955aaed"}],"id":"56696516-b8d4-4ea4-8b29-999bef2fdbe7","_postman_id":"56696516-b8d4-4ea4-8b29-999bef2fdbe7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Add Fertilizer Application","id":"a2b89e34-b5dc-4646-a6d0-e51add817e94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n            \"crop_id\": 1297,\r\n            \"fertilizer_applied_date\": \"2024-11-11T18:04:25+00:00\",\r\n            \"amount\": 0.0,\r\n            \"fertilizer_id\": 4,\r\n            \"unit_measurement\": 3,\r\n            \"product_name\":\"\",\r\n            \"concentration\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/_fertilizer_application","description":"<p>Add fertilizer application applied on the crop.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Data format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fertilizer_applied_date</td>\n<td>1</td>\n<td>Datetime format  <br />YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM</td>\n<td>Registered date when water was abstracted  <br />i.e  <br />2023-05-12T18:04:25+00:00</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Total amount of water abstracted</td>\n</tr>\n<tr>\n<td>fertilizer_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Id of fertilizer applied in terms of N, P, K.</td>\n</tr>\n<tr>\n<td>unit_measurement</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit of measurement. Accepted value : 3</td>\n</tr>\n<tr>\n<td>crop_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Id of the crop where application took place. Crop must be created before applications can be saved</td>\n</tr>\n<tr>\n<td>product_name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the Product applied</td>\n</tr>\n<tr>\n<td>concentration</td>\n<td>0</td>\n<td>String</td>\n<td>Concentration of the Product applied</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log:</h1>\n<p><strong>New Datapoints:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Obligatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>product_name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the Product applied</td>\n</tr>\n<tr>\n<td>concentration</td>\n<td>0</td>\n<td>String</td>\n<td>Concentration of the Product applied</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Deleted or modified Datapoints:</strong></p>\n<p>There are no deleted or modified Datapoints.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","_fertilizer_application"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"b9f08ad1-79a6-4e59-9501-933c94c8eafa","name":"Add Fertilizer Application","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n            \"crop_id\": 1297,\r\n            \"fertilizer_applied_date\": \"2023-02-11T18:04:25+00:00\",\r\n            \"amount\": 200.0,\r\n            \"fertilizer_id\": 4,\r\n            \"unit_measurement\": 3,\r\n            \"product_name\":\"\",\r\n            \"concentration\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/_fertilizer_application"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 12:51:14 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"171"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5389,\n    \"crop_id\": 1297,\n    \"fertilizer_applied_date\": \"2023-02-11 18:04:25+00:00\",\n    \"amount\": 200,\n    \"fertilizer_id\": 4,\n    \"unit_measurement\": 3,\n    \"product_name\": \"\",\n    \"concentration\": \"\"\n}"}],"_postman_id":"a2b89e34-b5dc-4646-a6d0-e51add817e94"},{"name":"List Fertilizer applications","id":"c0f5ee87-0687-4b7e-91ee-74c175597296","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/_fertilizer_application","description":"<p>Get list of fertilizers applied by the producer.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","_fertilizer_application"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"ebbcdfa4-0310-4307-a592-0d7cdb670ace","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.0/plants/_fertilizer_application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:09:11 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"179"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 112705,\n            \"crop_id\": 2651,\n            \"fertilizer_applied_date\": \"2023-02-11\",\n            \"amount\": 200,\n            \"fertilizer_id\": 4,\n            \"unit_measurement\": 3,\n            \"product_name\": \"\",\n            \"concentration\": \"\"\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"c0f5ee87-0687-4b7e-91ee-74c175597296"},{"name":"Get Fertilizer Application","id":"1c3916c3-69ac-47fb-844b-2a7b4634e1e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/_fertilizer_application/:id","description":"<p>Get Fertilizer application data.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","_fertilizer_application",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112705","key":"id"}]}},"response":[{"id":"5b90a5ca-4437-49eb-bc01-e881e5a07377","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/_fertilizer_application/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","_fertilizer_application",":id"],"variable":[{"key":"id","value":"112705"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:09:49 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"158"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112705,\n    \"crop_id\": 2651,\n    \"fertilizer_applied_date\": \"2023-02-11\",\n    \"amount\": 200,\n    \"fertilizer_id\": 4,\n    \"unit_measurement\": 3,\n    \"product_name\": \"\",\n    \"concentration\": \"\"\n}"}],"_postman_id":"1c3916c3-69ac-47fb-844b-2a7b4634e1e2"},{"name":"Modify Fertilizer Application","id":"03f1a92d-6103-467b-b3fd-13a1343e078c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"crop_id\": 2651,\r\n        \"fertilizer_applied_date\": \"2023-02-11\",\r\n        \"amount\": 200.0,\r\n        \"fertilizer_id\": 4,\r\n        \"unit_measurement\": 3,\r\n        \"product_name\":\"Test\",\r\n        \"concentration\":\"Test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/_fertilizer_application/:id","description":"<p>Modify fertilizer application data.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","_fertilizer_application",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112705","key":"id"}]}},"response":[{"id":"0893c132-3079-4bd5-947e-c2aeac749ad2","name":"OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"crop_id\": 2651,\r\n        \"fertilizer_applied_date\": \"2023-02-11\",\r\n        \"amount\": 200.0,\r\n        \"fertilizer_id\": 4,\r\n        \"unit_measurement\": 3,\r\n        \"product_name\":\"Test\",\r\n        \"concentration\":\"Test\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/_fertilizer_application/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","_fertilizer_application",":id"],"variable":[{"key":"id","value":"112705"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:10:47 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"179"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112705,\n    \"crop_id\": 2651,\n    \"fertilizer_applied_date\": \"2023-02-11\",\n    \"amount\": 200,\n    \"fertilizer_id\": \"Potassium\",\n    \"unit_measurement\": \"kg\",\n    \"product_name\": \"Test\",\n    \"concentration\": \"Test\"\n}"}],"_postman_id":"03f1a92d-6103-467b-b3fd-13a1343e078c"},{"name":"Delete Fertilizer Application","id":"a36c8838-a8b2-4d65-949c-7625d1d0ed20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n     \"crop_id\": 43,\r\n    \"fertilizer_applied_date\": \"2022-02-17\",\r\n    \"amount\": 200,\r\n    \"fertilizer_id\": 3,\r\n    \"unit_measurement\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/_fertilizer_application/:id","description":"<p>Delete Fertilizer application data</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","_fertilizer_application",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112705","key":"id"}]}},"response":[{"id":"e9e52371-05e3-46c2-b00d-cf9cede484f5","name":"OK","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n     \"crop_id\": 43,\r\n    \"fertilizer_applied_date\": \"2022-02-17\",\r\n    \"amount\": 200,\r\n    \"fertilizer_id\": 3,\r\n    \"unit_measurement\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{URL}}/ida_plants_v1.0/plants/_fertilizer_application/:id","host":["{{URL}}"],"path":["ida_plants_v1.0","plants","_fertilizer_application",":id"],"variable":[{"key":"id","value":"112705"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 27 Aug 2023 10:11:35 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, PUT, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a36c8838-a8b2-4d65-949c-7625d1d0ed20"}],"id":"c4e5c7af-3d78-405d-8db8-25a4e481950d","description":"<p>Module to manage recording of fertilizer application in agricultural production. In fertilizer applications, GLOBALG.A.P. requires only amount of N, P, or K and these amount shall be recorded separately. API partners shall be capable of calculating these amounts from commercial products applied.<br /><strong>Minimum Frequency to report to GLOBALG.A.P. : Monthly , at the end of the calendar month</strong></p>\n","_postman_id":"c4e5c7af-3d78-405d-8db8-25a4e481950d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Precipitation","item":[{"name":"Add Precipitation Event","id":"e21b41b1-8694-4810-ae42-a13e999db5d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"measured_at\":\"2024-11-10T18:04:25+00:00\",\r\n    \"total_amount\":100,\r\n    \"unit_measure_id\":18,\r\n    \"site_id\":1189\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/precipitation","description":"<p>Add water gathered from precipitation events.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data points</th>\n<th>Obligatory</th>\n<th><strong>Data format</strong></th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>Registered date when water was used</td>\n</tr>\n<tr>\n<td>gathered_at</td>\n<td>1</td>\n<td>Datetime format  <br />YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM</td>\n<td>Registered date when water was gathered  <br />i.e  <br />2023-05-12T18:04:25+00:00</td>\n</tr>\n<tr>\n<td>total_amount</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Amount of water gathered from precipitation events</td>\n</tr>\n<tr>\n<td>unit_measure_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit of measurement. Accepted value : 18 (Millimeters of Water from Precipitation)</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>0/1 when crop_id is NOT used</td>\n<td>Integer</td>\n<td>To which site this recording is associated with</td>\n</tr>\n<tr>\n<td>crop_id</td>\n<td>0/1 when site_id is NOT used</td>\n<td>Integer</td>\n<td>To which crop this recording is associated with</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log</h1>\n<p>This call is entirely new. As such no changes have been made since the last version of the API.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","precipitation"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"6ffa4113-b374-43f5-a8d6-ac3999a68536","name":"Add Precipitation Event","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"measured_at\":\"2023-02-10T18:04:25+00:00\",\r\n    \"total_amount\":100,\r\n    \"unit_measure_id\":18,\r\n    \"site_id\":1189\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/precipitation"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 12:51:29 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"142"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5390,\n    \"crop_id\": null,\n    \"site_id\": 1189,\n    \"description\": \"\",\n    \"measured_at\": \"2023-02-10 18:04:25+00:00\",\n    \"total_amount\": 100,\n    \"unit_measure_id\": 18\n}"}],"_postman_id":"e21b41b1-8694-4810-ae42-a13e999db5d9"},{"name":"Get Precipitation Event","id":"c8717914-57d5-41f3-8aec-ccfafc4595c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/precipitation/:id","description":"<p>Get Precipitation event data.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","precipitation",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"112708","key":"id"}]}},"response":[],"_postman_id":"c8717914-57d5-41f3-8aec-ccfafc4595c5"},{"name":"Get List of Precipitation Event","id":"6655b207-81e9-47fb-8efe-a4449efabdee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/precipitation","description":"<p>Get list of Precipitation events applied by the producer.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","precipitation"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"8a9870ad-2c7e-418b-a370-8be2cdc8ef2e","name":"Get List of Precipitation Event","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/ida_plants_v1.0/plants/precipitation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:39:53 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"140"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 112681,\n            \"crop_id\": null,\n            \"site_id\": 974,\n            \"description\": \"\"\n        },\n        {\n            \"id\": 112683,\n            \"crop_id\": null,\n            \"site_id\": 975,\n            \"description\": \"\"\n        }\n    ],\n    \"total\": 2\n}"}],"_postman_id":"6655b207-81e9-47fb-8efe-a4449efabdee"},{"name":"Modify Precipitation Event","id":"b6290164-dba3-4686-8c3c-2d31eb19a6b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"\",\r\n    \"gathered_at\":\"2023-02-10\",\r\n    \"total_amount\":100,\r\n    \"unit_measure_id\":18,\r\n    \"site_id\":980\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/ida_plants_v1.1/plants/precipitation/:id?=","description":"<p>Modify Precipitation event data</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","precipitation",":id"],"host":["{{URL}}"],"query":[{"key":"","value":""}],"variable":[{"type":"any","value":"112681","key":"id"}]}},"response":[],"_postman_id":"b6290164-dba3-4686-8c3c-2d31eb19a6b8"},{"name":"Delete Precipitation Event","id":"114c1e3e-4b0d-4530-8d29-5198d11e3006","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/ida_plants_v1.1/plants/precipitation/:id","description":"<p>Delete Precipitation event data.</p>\n","urlObject":{"path":["ida_plants_v1.1","plants","precipitation",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"3c7d0f1f-c2b7-4309-ac88-c12059a567a2","type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"114c1e3e-4b0d-4530-8d29-5198d11e3006"}],"id":"296a984f-a9d7-48d4-9df7-126e20974eb9","description":"<p>Module to manage recording of Precipitation events in agricultural production. In Precipitation, GLOBALG.A.P. requires only total amount of water measured via Precipitation. API partners shall be capable of calculating these amounts water gained via precipitation.</p>\n<p><strong>Minimum frequency to report GLOBALG.A.P. : Monthly, at the end of the calendar month</strong></p>\n","_postman_id":"296a984f-a9d7-48d4-9df7-126e20974eb9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"f82d6177-a058-4401-906e-5ab602842074","description":"<p>Module which covers all input consumption metrics of Fruit and Vegetables.</p>\n","_postman_id":"f82d6177-a058-4401-906e-5ab602842074","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Benchmark","item":[{"name":"Get benchmark","id":"99a093b1-a4cf-4bf6-aee3-de9caa758052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://test-data-driven.globalgap.org/ida_plants_v1.1/plants/benchmark?start_date=2023-01-01&end_date=2024-12-01&site_id=1285&crop_genus_id&product_category_id=2&supra_category&product_category_comparison&production_type_id=1&soil_type_id=2&limit_type=radius&radius=300&country&adm1&adm2&adm3&adm4&adm5","description":"<p>Get benchmark is used to retrieve benchmarking data concerning an individual producer using the FMS. With this benchmarking information, a producer is better able to understand his/her input consumption per production size against a group of peer producers. The data used for benchmarking can be from multiple FMSs.</p>\n<p>The parameters to get benchmarking data act as \"filters\" on which the benchmarking data is returned. These parameters are used to compare the producers' production to other producers in the benchmarking group. The customer FMS can retrieve benchmarking with the following parameters:</p>\n<ul>\n<li><p>From which time period the benchmarking report should be compiled (start_date &amp; end_date)</p>\n</li>\n<li><p>Which site should the benchmarking report be compared to (site_id)</p>\n</li>\n<li><p>If the benchmark should be against a certain crop (crop_genus_id)</p>\n</li>\n<li><p>If the benchmark should be against a certain product category (product_category_id)</p>\n</li>\n<li><p>If the benchmark should be against all flower and ornamental producers (supra_category)</p>\n</li>\n<li><p>Option to also compare a product category performance against all flower and ornamental producers (product_category_comparison)</p>\n</li>\n<li><p>Which production type included in the benchmark (production_type)</p>\n</li>\n<li><p>Which soil type included in the benchmark (soil_type)</p>\n</li>\n<li><p>There will be a geographical limitation where the benchmark is gathered from. The benchmark will be based on producers within a certain radius from the site that is being benchmarked or from the same administrative region</p>\n</li>\n</ul>\n<h2 id=\"definitions\">Definitions</h2>\n<p>Percentile: Percentiles are used to indicate the use intensity of a farm level input use against the input use of the peer group. The higher the percentile, the higher the intensity, and the higher you are in the peer group in terms of percentile.</p>\n<p>Absolute value: This is the individual aggregated amount of the producer for the input. The absolute value shows the amount of input per size of production.</p>\n<p>Active ingredients: Currently, the system combines all AI use to return the benchmark data. Benchmark data is not returned for individual AIs.<br />Absolute value: kg of AI used per ha/m2</p>\n<p>Fertilizers: The API will return individual benchmarking data for nitrogen and phosphorous.<br />Absolute value: kg of N/P used per ha/m2</p>\n<p>Water: The API will also return a value for the share of water extracted from a public source.<br />Absolute value: m3 of water used for site per ha/m2</p>\n<p>Energy: The API will also return values of renewable energy use. This shall be indicated by the share of non-/renewable energy.<br />Absolute value: kWh of energy used for site per ha/m2</p>\n<p>NOTE: In order to avoid recognizing individual producers in the benchmarking group, there needs to be at least 5 producers in the benchmarking group.</p>\n","urlObject":{"protocol":"https","path":["ida_plants_v1.1","plants","benchmark"],"host":["test-data-driven","globalgap","org"],"query":[{"description":{"content":"<p>Date to start the benchmark, ISO-8601</p>\n","type":"text/plain"},"key":"start_date","value":"2023-01-01"},{"description":{"content":"<p>Date to end the benchmark,  ISO-8601</p>\n","type":"text/plain"},"key":"end_date","value":"2024-12-01"},{"description":{"content":"<p>Site identifier to calculate the benchmark</p>\n","type":"text/plain"},"key":"site_id","value":"1285"},{"description":{"content":"<p>Crop genus to receive a benchmark report against producers with the same crop</p>\n","type":"text/plain"},"key":"crop_genus_id","value":null},{"description":{"content":"<p>Product category, not used if crop_genus_id exist. To receive a benchmarking report against producers who produce for the same product category.</p>\n","type":"text/plain"},"key":"product_category_id","value":"2"},{"description":{"content":"<p>Supra category, not used if  crop_genus_id or product_category_id is used. To receive a  benchmarking report against all flower and ornamental growers</p>\n","type":"text/plain"},"key":"supra_category","value":null},{"description":{"content":"<p>To compare a product category to all flower and ornamentals. Optional parameter. In order to get the correct comparison, a product_category_id needs to be set.</p>\n","type":"text/plain"},"key":"product_category_comparison","value":null},{"description":{"content":"<p>Production type</p>\n","type":"text/plain"},"key":"production_type_id","value":"1"},{"description":{"content":"<p>Soil type</p>\n","type":"text/plain"},"key":"soil_type_id","value":"2"},{"description":{"content":"<p>The \"limit_type\" field will be used to limit the number of producers to be included in the benchmarking analysis. This number limitation may be imposed either through a radius (by which a geo-referenced circular area will be defined), or though geo-administrative boundaries. Values: radius, geo-administrative. Ex.: \"A given producer will only be compared to those producers whose site is located within a 100 km range from its site coordinates\"; \"A given producer will only be compared to those producers whose site is located within the state of California</p>\n","type":"text/plain"},"key":"limit_type","value":"radius"},{"description":{"content":"<p>Required if limit_type is radius: Using a predefined radius (i.e. 100, 200, 300, 600 km), a circular area will be defined using the producers' site coordinates as centre point. Data from producers whose sites fall within the defined circular area will be used to perform the benchmarking analysis.</p>\n","type":"text/plain"},"key":"radius","value":"300"},{"description":{"content":"<p>Required if limit type is geo-administrative. Country code in ISO-3166</p>\n","type":"text/plain"},"key":"country","value":null},{"description":{"content":"<p>A primary administrative division of a country, such as a state in the United States</p>\n","type":"text/plain"},"key":"adm1","value":null},{"description":{"content":"<p>A subdivision of a first-order administrative division</p>\n","type":"text/plain"},"key":"adm2","value":null},{"description":{"content":"<p>A subdivision of a second-order administrative division</p>\n","type":"text/plain"},"key":"adm3","value":null},{"description":{"content":"<p>A subdivision of a third-order administrative division</p>\n","type":"text/plain"},"key":"adm4","value":null},{"description":{"content":"<p>A subdivision of a fourth-order administrative division</p>\n","type":"text/plain"},"key":"adm5","value":null}],"variable":[]}},"response":[{"id":"6fc2b55f-fdde-446e-84e7-baa5ab506c2a","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/benchmark?start_date=2019-01-01&end_date=2019-06-30&site_id=45&product_category_id=4&production_type_id=2&soil_type_id=2&limit_type=radio&raidus=100","host":["{{url}}"],"path":["benchmark"],"query":[{"key":"start_date","value":"2019-01-01"},{"key":"end_date","value":"2019-06-30"},{"key":"site_id","value":"45"},{"key":"product_category_id","value":"4"},{"key":"production_type_id","value":"2"},{"key":"soil_type_id","value":"2"},{"key":"limit_type","value":"radio"},{"key":"raidus","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"active_ingredient\": [\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-01-31\",\n                \"total_producers\": 10\n            },\n            \"absolute_value\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-02-01\",\n                \"end_period\": \"2019-02-28\",\n                \"total_producers\": 15\n            },\n            \"absolute_value\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-03-01\",\n                \"end_period\": \"2019-03-31\",\n                \"total_producers\": 9\n            },\n            \"absolute_value\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-04-01\",\n                \"end_period\": \"2019-04-30\",\n                \"total_producers\": 18\n            },\n            \"absolute_value\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-05-01\",\n                \"end_period\": \"2019-05-31\",\n                \"total_producers\": 12\n            },\n            \"absolute_value\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-06-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 11\n            },\n            \"absolute_value\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 21\n            },\n            \"absolute_value\": {\n                \"amount\": 45,\n                \"percentile\": 79,\n                \"unit_measure_id\": 7\n            }\n        }\n    ],\n    \"fertilizer\": [\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-01-31\",\n                \"total_producers\": 10\n            },\n            \"Nitrogen\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-02-01\",\n                \"end_period\": \"2019-02-28\",\n                \"total_producers\": 15\n            },\n            \"Nitrogen\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-03-01\",\n                \"end_period\": \"2019-03-31\",\n                \"total_producers\": 9\n            },\n            \"Nitrogen\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-04-01\",\n                \"end_period\": \"2019-04-30\",\n                \"total_producers\": 18\n            },\n            \"Nitrogen\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-05-01\",\n                \"end_period\": \"2019-05-31\",\n                \"total_producers\": 12\n            },\n            \"Nitrogen\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-06-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 11\n            },\n            \"Nitrogen\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 21\n            },\n            \"Nitrogen\": {\n                \"amount\": 45,\n                \"percentile\": 79,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 45,\n                \"percentile\": 79,\n                \"unit_measure_id\": 7\n            }\n        }\n    ],\n    \"water\": [\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-01-31\",\n                \"total_producers\": 10\n            },\n            \"total_consumption\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.34,\n                \"percentile\": 60\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-02-01\",\n                \"end_period\": \"2019-02-28\",\n                \"total_producers\": 15\n            },\n            \"total_consumption\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.7,\n                \"percentile\": 65\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-03-01\",\n                \"end_period\": \"2019-03-31\",\n                \"total_producers\": 9\n            },\n            \"total_consumption\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.25,\n                \"percentile\": 89\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-04-01\",\n                \"end_period\": \"2019-04-30\",\n                \"total_producers\": 18\n            },\n            \"total_consumption\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 1,\n                \"percentile\": 45\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-05-01\",\n                \"end_period\": \"2019-05-31\",\n                \"total_producers\": 12\n            },\n            \"total_consumption\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.8,\n                \"percentile\": 52\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-06-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 11\n            },\n            \"total_consumption\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.52,\n                \"percentile\": 88\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 21\n            },\n            \"total_consumption\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.6,\n                \"percentile\": 79\n            }\n        }\n    ],\n    \"energy\": [\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-01-31\",\n                \"total_producers\": 10\n            },\n            \"diesel\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 45\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.25,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.75,\n                    \"percentile\": 45\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.2,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.8,\n                    \"percentile\": 45\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 180,\n                \"percentile\": 180,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.15,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.85,\n                    \"percentile\": 45\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-02-01\",\n                \"end_period\": \"2019-02-28\",\n                \"total_producers\": 15\n            },\n            \"diesel\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 65\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.4,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.6,\n                    \"percentile\": 65\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.2,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.8,\n                    \"percentile\": 65\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 162,\n                \"percentile\": 195,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.25,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.75,\n                    \"percentile\": 65\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-03-01\",\n                \"end_period\": \"2019-03-31\",\n                \"total_producers\": 9\n            },\n            \"diesel\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 65\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.3,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.7,\n                    \"percentile\": 65\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.1,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.9,\n                    \"percentile\": 65\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 60,\n                \"percentile\": 267,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.1,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.9,\n                    \"percentile\": 65\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-04-01\",\n                \"end_period\": \"2019-04-30\",\n                \"total_producers\": 18\n            },\n            \"diesel\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 90\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 90\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 90\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 90\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.95,\n                    \"percentile\": 90\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.05,\n                    \"percentile\": 90\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 300,\n                \"percentile\": 145,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.55,\n                    \"percentile\": 90\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.45,\n                    \"percentile\": 90\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-05-01\",\n                \"end_period\": \"2019-05-31\",\n                \"total_producers\": 12\n            },\n            \"diesel\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 45\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.1,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.9,\n                    \"percentile\": 45\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.25,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.75,\n                    \"percentile\": 45\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 240,\n                \"percentile\": 156,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.15,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.85,\n                    \"percentile\": 45\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-06-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 11\n            },\n            \"diesel\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.4,\n                    \"percentile\": 35\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.6,\n                    \"percentile\": 35\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.6,\n                    \"percentile\": 35\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.4,\n                    \"percentile\": 35\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 35\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 35\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 102,\n                \"percentile\": 264,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.3,\n                    \"percentile\": 35\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.7,\n                    \"percentile\": 35\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 21\n            },\n            \"diesel\": {\n                \"amount\": 348,\n                \"percentile\": 478,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.4,\n                    \"percentile\": 55\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.6,\n                    \"percentile\": 55\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 348,\n                \"percentile\": 478,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.78,\n                    \"percentile\": 55\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.22,\n                    \"percentile\": 55\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 348,\n                \"percentile\": 478,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 55\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 55\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 1044,\n                \"percentile\": 1434,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.47,\n                    \"percentile\": 55\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.53,\n                    \"percentile\": 55\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"99a093b1-a4cf-4bf6-aee3-de9caa758052"}],"id":"58c24cfb-70b9-4083-9196-0afa4a39f230","description":"<p>Module to calculate relative intensity of farm level inputs of a site in relation to other producers with similar production characteristics</p>\n","_postman_id":"58c24cfb-70b9-4083-9196-0afa4a39f230","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"fc303a58-e69b-449b-a5bb-da50fca2ab7b","description":"<h3 id=\"impact-driven-approach-plants-for-plants\">Impact-Driven Approach Plants for Plants</h3>\n<p>This section is dedicated to IDA Add-on for Plants (Fruit and Vegetables + Flowers and Ornamentals).</p>\n<h2 id=\"basic-steps-for-registering-plants-producer\">Basic steps for registering Plants producer:</h2>\n<h2 id=\"step-1\">Step 1:</h2>\n<p>Every producer has its own unique access token for this API. A producer may be aspiring for a GLOBALG.A.P. Farm assurance products (certifications) individually or in a group of producers. As rest of the registration of sites and crops depend on this access token, API partners shall ask producers their individual GGN/GLN and also their producer group’s GGN. Please also see Json Web token in Authorization section for details of each individual cases to generate jwt token.</p>\n<h2 id=\"step-2\">Step 2:</h2>\n<p>Every producer has to register at least one physical site. The physical site should be a representation of real-life sites the producer has and over that large physical site (or farm ) can be many logical sites on which many different crops are grown. Please refer to physical site module to know the data-model to register physical site.</p>\n<h2 id=\"step-3\">Step 3:</h2>\n<p>Once producer has registered physical site(s), it can add logical site(s) and associate logical site to any one of his physical site. Please refer to site module to know the data-model to register physical site.</p>\n<h2 id=\"step-4\">Step 4:</h2>\n<p>Now, producer has to start registering crop(s) grown on top of these logical site(s). GLOBALG.A.P. Impact-Driven API intends to ask producer whether they would give permission** to share their farm level data for auditing purpose. This permission shall be made per crop level. Their data shall be shared with the auditors (or Certifciation Bodies) for auditing purpose only after their consent. They also need to specify for which certification they are aspiring for and if they are aspiring as an individual producer or in a group of producers for that particular product. Please refer to crop section to know how to record crop data. Also, please consider 3 different scenarios mentioned in JWT before adding a crop.</p>\n<p>**Note: This feature is still under development. Hence, initially API partners can set the value to “False”</p>\n<h2 id=\"step-5\">Step 5:</h2>\n<p>Once site(s) and crop(s) have been registered, now, producer can start recording individual farm level inputs for their crop(s). Please refer to metric section to know all the data points that producer needs to record.</p>\n<p>*Note: Some Input consumption metrics can be recorded per Site <strong>or</strong> per Crop.</p>\n","_postman_id":"fc303a58-e69b-449b-a5bb-da50fca2ab7b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Master data","item":[{"name":"Unit Measure","item":[{"name":"List units measurement","id":"01ef940d-028c-4885-83dc-1b480fa3f3fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/unit_measure?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of units measurement you’ve previously loaded. The units measurement are returned in sorted order.</p>\n","urlObject":{"path":["unit_measure"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"fa8c5d07-c137-4d69-927f-c01891a34122","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"}],"url":{"raw":"{{url}}/unit_measure?limit=20","host":["{{url}}"],"path":["unit_measure"],"query":[{"key":"limit","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"code\":\"m2\",\n         \"description\":\"Square meter\"\n      },\n      {\n         \"id\":2,\n         \"code\":\"ha\",\n         \"description\":\"Hectare\"\n      },\n      {\n         \"id\":3,\n         \"code\":\"kg\",\n         \"description\":\"kilogram\"\n      },\n      {\n         \"id\":4,\n         \"code\":\"m3\",\n         \"description\":\"Cubic meter\"\n      },\n      {\n         \"id\":5,\n         \"code\":\"kw/h\",\n         \"description\":\"Kilowatt hour\"\n      },\n      {\n         \"id\":6,\n         \"code\":\"kg/m2\",\n         \"description\":\"Intensity (AI & fertilizer)\"\n      },\n      {\n         \"id\":7,\n         \"code\":\"kg/ha\",\n         \"description\":\"Intensity (AI & fertilizer)\"\n      },\n      {\n         \"id\":8,\n         \"code\":\"m3/m2\",\n         \"description\":\"Intensity (water use)\"\n      },\n      {\n         \"id\":9,\n         \"code\":\"m3/ha\",\n         \"description\":\"Intensity (water use)\"\n      },\n      {\n         \"id\":10,\n         \"code\":\"kWh/m2\",\n         \"description\":\"Intensity (energy use)\"\n      },\n      {\n         \"id\":11,\n         \"code\":\"kWh/ha\",\n         \"description\":\"Intensity (energy use)\"\n      },\n      {\n         \"id\":12,\n         \"code\":\"m\",\n         \"description\":\"Distance\"\n      }\n   ],\n   \"total\": 12\n}"}],"_postman_id":"01ef940d-028c-4885-83dc-1b480fa3f3fe"},{"name":"Get unit measure","id":"a3b6de33-d28e-4a9e-830d-86dc4ac6af3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/unit_measure/:id","description":"<p>Get data the unit measure</p>\n","urlObject":{"path":["unit_measure",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"ff2b3fce-8460-4318-b169-15b6ab7ac71b","description":{"content":"<p>Unit measure identificator</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"58f76e83-03a6-49b2-9a93-aa8be65ccfa3","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"}],"url":{"raw":"{{url}}/unit_measure/:id","host":["{{url}}"],"path":["unit_measure",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"code\":\"m2\",\n   \"description\":\"Square meter\"\n}"}],"_postman_id":"a3b6de33-d28e-4a9e-830d-86dc4ac6af3f"}],"id":"247c780e-778f-4e5f-aa2b-e2a68e1bd878","description":"<p>Module to manage the units measurement</p>\n","_postman_id":"247c780e-778f-4e5f-aa2b-e2a68e1bd878","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Water Types","item":[{"name":"List waters types","id":"98e8a356-4ff9-4e37-98b4-499bc7c0b706","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/water_types?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production soils type you’ve previously loaded. The production soils type are returned in sorted order.</p>\n","urlObject":{"path":["water_types"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"1da09732-1006-4832-a963-b1f5ec3df5a1","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/water_types?limit=2","host":["{{url}}"],"path":["water_types"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n        {\n            \"id\": 1,\n            \"name\": \"Sea\",\n            \"description\": \"Sea Water\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Surface\",\n            \"description\": \"Surface Water\"\n        }\n   ],\n   \"total\":3\n}"}],"_postman_id":"98e8a356-4ff9-4e37-98b4-499bc7c0b706"},{"name":"Get water type","id":"0a7a5c20-72a3-4e39-86ad-d45d6983c2ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/water_types/:id","description":"<p>Get the production soil type</p>\n","urlObject":{"path":["water_types",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"5c49f1bb-31af-464f-8108-e12114cb1602","description":{"content":"<p>Production soil type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"39904a17-3d07-492b-83af-769e0d4576c0","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/soil/type/:id","host":["{{url}}"],"path":["soil","type",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Soil type 1\",\n   \"description\":\"Description 1\"\n}"}],"_postman_id":"0a7a5c20-72a3-4e39-86ad-d45d6983c2ec"}],"id":"f0823916-0093-4151-9db5-28c97539e8f7","_postman_id":"f0823916-0093-4151-9db5-28c97539e8f7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Production","item":[{"name":"Type Plants","item":[{"name":"List plant production types","id":"5440d295-d124-4865-88f9-8269dfcb44f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/production/type?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production types you’ve previously loaded. The production types are returned in sorted order. There are currently two types of production types in the Data-Driven API: <strong>Covered</strong> and <strong>Open field</strong>.</p>\n","urlObject":{"path":["production","type"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"c4f18448-1f56-4bbd-932c-8794829d023f","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type?limit=2","host":["{{url}}"],"path":["production","type"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Covered\",\n         \"description\":\"Crops where their production is covered\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Open field\",\n         \"description\":\"Crops where their production is open field\"\n      }\n   ],\n   \"total\":2\n}"}],"_postman_id":"5440d295-d124-4865-88f9-8269dfcb44f3"},{"name":"Get plant production type","id":"17c317cd-6fbf-4c80-b108-3eb874e0eb00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/production/type/:id","description":"<p>Get the production type. Production types are <strong>covered</strong> and <strong>open field</strong></p>\n","urlObject":{"path":["production","type",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"9f1f8695-66a9-4d90-80e5-41fd12170c37","description":{"content":"<p>Production type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"fbd1b9bb-4bd9-4a4a-9aeb-9eccd7e1301d","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type/:id","host":["{{url}}"],"path":["production","type",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Covered\",\n   \"description\":\"Crops where their production is covered\"\n}"}],"_postman_id":"17c317cd-6fbf-4c80-b108-3eb874e0eb00"}],"id":"2c80b563-81ab-40c4-abb8-c2cf1c98328f","description":"<p>Module to manage the production types</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e2481bf5-2324-42d3-8665-73e55be504b0"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"cc543dfc-1e5c-4bbb-a9d2-d9f6c52cb1f9"}}],"_postman_id":"2c80b563-81ab-40c4-abb8-c2cf1c98328f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Type Aquaculture","item":[{"name":"List aquaculture production types","id":"7dee4374-a272-4eb2-a9f2-1a31fe565320","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/production/type/aquaculture?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production types you’ve previously loaded. The production types are returned in sorted order. There are currently two types of production types in the Data-Driven API: <strong>Covered</strong> and <strong>Open field</strong>.</p>\n","urlObject":{"path":["production","type","aquaculture"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"ffa88304-96f5-473b-a130-8603935033a1","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type?limit=2","host":["{{url}}"],"path":["production","type"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Covered\",\n         \"description\":\"Crops where their production is covered\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Open field\",\n         \"description\":\"Crops where their production is open field\"\n      }\n   ],\n   \"total\":2\n}"}],"_postman_id":"7dee4374-a272-4eb2-a9f2-1a31fe565320"},{"name":"Get aquaculture production type","id":"2c4e18af-f3ae-4d19-b8c1-f123b2d0692b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/production/type/aquaculture/:id","description":"<p>Get the production type. Production types are <strong>covered</strong> and <strong>open field</strong></p>\n","urlObject":{"path":["production","type","aquaculture",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"714aef22-d32e-4c0d-b742-4c8a811851e4","description":{"content":"<p>Production type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"ce0ade0a-c441-46ed-8af7-e96171658615","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type/:id","host":["{{url}}"],"path":["production","type",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Covered\",\n   \"description\":\"Crops where their production is covered\"\n}"}],"_postman_id":"2c4e18af-f3ae-4d19-b8c1-f123b2d0692b"}],"id":"2a628330-0a16-46c2-9b8d-b4b1c3ec49c1","description":"<p>Module to manage the production types</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"de8231a8-7b6e-4012-ae1c-7b87886bbc7e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a361f319-141b-4635-af25-9eb3cc8e01a8"}}],"_postman_id":"2a628330-0a16-46c2-9b8d-b4b1c3ec49c1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"6df978d9-9e91-4efd-9f44-9fe295f7e25e","description":"<p>Module to manage the production</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b355ed82-f719-4249-84f3-3dce448e016a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d8eebdec-f828-4586-8f61-eeaadff71635"}}],"_postman_id":"6df978d9-9e91-4efd-9f44-9fe295f7e25e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Soil","item":[{"name":"Type","item":[{"name":"List the production soil type","id":"7d431080-1ba7-4dd9-ac66-1c23b7e45d9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/soil/type?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production soils type you’ve previously loaded. The production soils type are returned in sorted order.</p>\n","urlObject":{"path":["soil","type"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"47987bdb-91fb-41ac-9d45-fe362b4fe393","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/soil/type?limit=2","host":["{{url}}"],"path":["soil","type"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Soil type 1\",\n         \"description\":\"Description 1\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Soil type 2\",\n         \"description\":\"Description 2\"\n      }\n   ],\n   \"total\":3\n}"}],"_postman_id":"7d431080-1ba7-4dd9-ac66-1c23b7e45d9e"},{"name":"Get production soil type","id":"ab820334-62b3-4f99-ba3c-3b4e1a408efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/soil/type/:id","description":"<p>Get the production soil type</p>\n","urlObject":{"path":["soil","type",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"92c3ab1d-bde7-423f-a371-4b1ebfd792e6","description":{"content":"<p>Production soil type identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"e829d2ee-9f8b-4350-a2b9-cfedaf9bdf6d","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/soil/type/:id","host":["{{url}}"],"path":["soil","type",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Soil type 1\",\n   \"description\":\"Description 1\"\n}"}],"_postman_id":"ab820334-62b3-4f99-ba3c-3b4e1a408efa"}],"id":"111a3c04-3677-44e5-bdcf-394bf81581ca","description":"<p>Module to manage the soils types</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"dcafac40-3ec1-4eb0-b1fa-7bfa980b1788"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5ba157b1-0e8f-4b07-92dd-119f9ec650d1"}}],"_postman_id":"111a3c04-3677-44e5-bdcf-394bf81581ca","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"e25cbfbc-e9f5-42a2-9999-53a103fd9969","description":"<p>Module to manage the soils</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6c733830-a4fb-4912-a7f9-c6cfc1afc77f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"0cb1e7df-df66-4ead-84ed-331b4c30d8a2"}}],"_postman_id":"e25cbfbc-e9f5-42a2-9999-53a103fd9969","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Product","item":[{"name":"Category","item":[{"name":"List the product categories","id":"37ded040-3016-4b76-befc-77930f7bfcfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/product/category?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of product categories you’ve previously loaded. The product categoriess are returned in sorted order.</p>\n","urlObject":{"path":["product","category"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"e40222fc-53b5-455c-9c44-68e53c31f156","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/product/category?limit=2","host":["{{url}}"],"path":["product","category"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Category 1\",\n         \"description\":\"Description 1\",\n         \"supra_category\":\"Supra 1\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Category 2\",\n         \"description\":\"Description 2\",\n         \"supra_category\":\"Supra 2\"\n      }\n   ],\n   \"total\":3\n}"}],"_postman_id":"37ded040-3016-4b76-befc-77930f7bfcfa"},{"name":"Get product category","id":"d63658d9-8321-412e-9879-a713511f53e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/product/category/:id","description":"<p>Get an individual product category based on id.</p>\n","urlObject":{"path":["product","category",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"afba4f3c-ebbf-4e69-b084-0e7ca13d9688","description":{"content":"<p>Product category identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"4a09c0e1-356e-4d9b-803f-cedf50127f00","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/product/category/:id","host":["{{url}}"],"path":["product","category",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":625,\n   \"name\":\"Category 625\",\n   \"description\":\"Description 625\",\n   \"supra_category\":\"Supra 1\"\n}"}],"_postman_id":"d63658d9-8321-412e-9879-a713511f53e6"}],"id":"301609a1-064a-422a-92b6-66484ad1d9e4","description":"<p>Module to manage the products categories</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ed91c1b6-586f-4044-bf77-d07fd60ddaec"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d4ab18d2-9220-4969-b187-dfdb43d87ef0"}}],"_postman_id":"301609a1-064a-422a-92b6-66484ad1d9e4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"cf63e8a6-de11-4425-a7f9-c950401cd0f2","description":"<p>Module to manage the products</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"dfd7f1a1-7f9d-4ab0-a8ec-2887a6658939"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d7e8ba38-980b-4a41-8342-318b363dd83d"}}],"_postman_id":"cf63e8a6-de11-4425-a7f9-c950401cd0f2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Genus","item":[{"name":"List the crop genus","id":"bb604da9-6bdc-431e-aede-f46f8f8e48e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"bb604da9-6bdc-431e-aede-f46f8f8e48e1"}],"id":"5f734c23-ba1e-4ab8-96fa-e34b7892e7c7","_postman_id":"5f734c23-ba1e-4ab8-96fa-e34b7892e7c7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Test_model","item":[{"name":"test_model","id":"31d0280a-0a56-4565-ac25-6303d2a2bd67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"31d0280a-0a56-4565-ac25-6303d2a2bd67"},{"name":"Add test_model","id":"d24cf986-2aef-454f-8376-8aa1a6a38c94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"d24cf986-2aef-454f-8376-8aa1a6a38c94"}],"id":"03f6a01a-5bf1-4d61-8feb-30fada4fddc9","_postman_id":"03f6a01a-5bf1-4d61-8feb-30fada4fddc9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"1f44f328-11ed-492d-b324-e8b7ae9df51d","_postman_id":"1f44f328-11ed-492d-b324-e8b7ae9df51d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"IDA FO 1.0","item":[{"name":"Unit Measure","item":[{"name":"Get unit measure","id":"577a25d1-1221-4cc5-b39f-423c687299f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/unit_measure/:id","description":"<p>Get data the unit measure</p>\n","urlObject":{"path":["unit_measure",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"ee8dfc97-20a1-453f-aebb-90dfbad10253","description":{"content":"<p>Unit measure identificator</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"fe70d340-c953-4d0b-bd02-1cfd862e5e35","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"}],"url":{"raw":"{{url}}/unit_measure/:id","host":["{{url}}"],"path":["unit_measure",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"code\":\"m2\",\n   \"description\":\"Square meter\"\n}"}],"_postman_id":"577a25d1-1221-4cc5-b39f-423c687299f9"}],"id":"311ee837-558e-4ae4-acb6-c6e58044e0ec","description":"<p>Module to manage the units measurement</p>\n","_postman_id":"311ee837-558e-4ae4-acb6-c6e58044e0ec","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Physical Sites","item":[{"name":"Get physical site","id":"681d7698-9628-4704-9088-e2fd34d03ee1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site/:id","description":"<p>Get the physical site by id.</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"7710b9b8-2ec1-45d7-a8dc-71ff69312f15","type":"any","value":"","key":"id"}]}},"response":[{"id":"3db09906-0edc-47c5-8ca0-05d2e132954e","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"430c7b93-bedd-4b4c-9842-ff45b67b0a67","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"7fdf8020-ff50-4128-ba1a-260ee7d8545f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"}],"_postman_id":"681d7698-9628-4704-9088-e2fd34d03ee1"},{"name":"Get List physical sites","id":"b0eb9abb-3095-4436-9bbd-c0d044194e37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site","description":"<p>Get list of physical sites of the producer.</p>\n","urlObject":{"path":["physical_site"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"60030866-8a7c-4be4-8c9a-13d1fd3773fa","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"4d75c2e1-4c8d-4752-b722-13203070c9af","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"c89fdf16-b020-49ef-93bc-981776be989a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"}],"_postman_id":"b0eb9abb-3095-4436-9bbd-c0d044194e37"},{"name":"Add physical site","id":"01a9b3dc-2b1e-4c47-8b15-240db09b9aaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": 32.4038,\r\n    \"longitude\": 158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/physical_site","description":"<p>Add a new physical site of producer. Physical site can also be registered site of a producer in GG database. Physical site can also be site where produce handling takes place.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of physical site</td>\n</tr>\n<tr>\n<td>Street</td>\n<td>0</td>\n<td>String</td>\n<td>Street address of physical site</td>\n</tr>\n<tr>\n<td>Number</td>\n<td>0</td>\n<td>Integer</td>\n<td>Plot number</td>\n</tr>\n<tr>\n<td>zip_code</td>\n<td>0</td>\n<td>String</td>\n<td>Zipcode of physical site</td>\n</tr>\n<tr>\n<td>City</td>\n<td>0</td>\n<td>String</td>\n<td>City of physical site</td>\n</tr>\n<tr>\n<td>Country</td>\n<td>0</td>\n<td>String</td>\n<td>Country</td>\n</tr>\n<tr>\n<td>Latitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Geolocation of the site in terms of latitude: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n<tr>\n<td>Longitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Geolocation of the site in terms of Longitude: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log</h1>\n<p>This call is entirely new. It is needed to create new sites under the old workflow. As such this call needs to be integrated.</p>\n<p>If you wish to work with existing sites under the old workflow, this call can be skipped.</p>\n","urlObject":{"protocol":"https","path":["physical_site"],"host":["test-data-driven","globalgap","org"],"query":[],"variable":[]}},"response":[{"id":"731ec4e3-f21e-49dc-8066-1c8505117264","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/physical_site"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"},{"id":"6928956b-6536-47dc-ab06-55c3bd4e0ee0","name":"Invalid jwt token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/physical_site"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Feb 2022 13:48:11 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"30"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid jwt token\"\n}"},{"id":"56d4512b-1de8-4b1f-945c-221c04f68a6a","name":"Add physical site","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 44,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/physical_site"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 27 Aug 2023 09:12:10 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding, Ha-Appcode"},{"key":"Content-Length","value":"174"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 608,\n    \"name\": \"Producer physical site\",\n    \"street\": \"Oxford\",\n    \"number\": 44,\n    \"zip_code\": \"E205\",\n    \"city\": \"London\",\n    \"country\": \"United kingdom\",\n    \"latitude\": -32.4038,\n    \"longitude\": -158.843\n}"}],"_postman_id":"01a9b3dc-2b1e-4c47-8b15-240db09b9aaf"},{"name":"Delete physical site","id":"485b2526-578f-453d-bee4-b74ef4935bee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{URL}}/physical_site/:id","description":"<p>Delete a physical site by id</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"a09e92a6-ef1b-4414-820c-12a89b23ffa9","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"8f31ed29-b990-4f42-867b-b44e339ee1f9","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"485b2526-578f-453d-bee4-b74ef4935bee"},{"name":"Modify physical site","id":"478c61fa-85f4-48db-a4a7-d6b037e36948","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n            \"name\": \"Producer physical site\",\r\n            \"street\": \"abc street\",\r\n            \"number\": 22,\r\n            \"zip_code\": 20222,\r\n            \"city\": \"Köln\",\r\n            \"country\": \"Germany\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/physical_site/:id","description":"<p>Modify physical site data</p>\n","urlObject":{"path":["physical_site",":id"],"host":["{{URL}}"],"query":[],"variable":[{"id":"9f258d85-497b-456c-b82c-7e336d72d18a","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"114b95ab-d235-4f92-9c17-64e8a25e00be","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"number\":125\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/physical_site/:id","host":["{{url}}"],"path":["physical_site",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 1,\r\n    \"name\": \"Producer physical site\",\r\n    \"street\": \"Oxford\",\r\n    \"number\": 125,\r\n    \"zip_code\": \"E205\",\r\n    \"city\": \"London\",\r\n    \"country\": \"United kingdom\",\r\n    \"latitude\": -32.4038,\r\n    \"longitude\": -158.843\r\n}"}],"_postman_id":"478c61fa-85f4-48db-a4a7-d6b037e36948"}],"id":"b1168f3d-55fd-47dc-9c7a-78ae79183bd0","description":"<p>Module to manage physical sites.</p>\n<p>The physical site should be a representation of real-life sites the producer has and over that large physical site (or farm ) can be many logical sites on which many different crops are grown. Please refer to physical site module to know the data-model to register physical site.</p>\n<p>This is <strong>required</strong> when creating <strong>NEW</strong> sites under the old workflow.</p>\n<p>If you wish to work with a \"Site\" that was created prior to this change, you can skip this step.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b9333df3-7570-400b-a2a0-15460b99cc65"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"84d853f1-69b6-4df6-b041-67ebd77c3448"}}],"_postman_id":"b1168f3d-55fd-47dc-9c7a-78ae79183bd0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Sites","item":[{"name":"List sites","id":"832dfd08-f8cc-49d8-8a80-a9ead7a9be04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/sites?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of active sites you’ve previously created. The sites applications are returned in sorted order.</p>\n<p><strong>This will also return the Physical Site ID of Sites which were created before Phyisical Sites were implemented.</strong></p>\n","urlObject":{"path":["sites"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"0bc42599-02d7-49ba-afb2-7d5d066cb297","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites?limit=2","host":["{{url}}"],"path":["sites"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Madrid\",\n         \"description\":\"Description 1\",\n         \"total_area\":175,\n         \"net_area\":125,          //Calculated using the “area” field from the Crop entity\n         \"unit_measure_id\":2,     //Unit of measure is hectares\n         \"fmis_id\":1,\n         \"producer_id\":1,\n         \"geoname\": {\n            \"id\": 1,\n            \"latitude\": \"-5.48507400\",\n            \"longitude\": \"39.53536400\",\n            \"name\": \"Madrid\",\n            \"country_code\": \"\",\n            \"admin1\": null,\n            \"admin2\": null,\n            \"admin3\": null,\n            \"admin4\": null\n         }\n      },\n      {\n         \"id\":2,\n         \"name\":\"Sevilla\",\n         \"description\":\"Description 2\",\n         \"total_area\":150,\n         \"net_area\":125,          //Calculated using the “area” field from the Crop entity\n         \"unit_measure_id\":2,     //Unit of measure is hectares\n         \"fmis_id\":1,\n         \"producer_id\":1,\n         \"geoname\": {\n            \"id\": 2,\n            \"latitude\": \"-5.48507400\",\n            \"longitude\": \"37.53536400\",\n            \"name\": \"Sevilla\",\n            \"country_code\": \"\",\n            \"admin1\": null,\n            \"admin2\": null,\n            \"admin3\": null,\n            \"admin4\": null\n         }\n      }\n   ],\n   \"total\":3\n}"}],"_postman_id":"832dfd08-f8cc-49d8-8a80-a9ead7a9be04"},{"name":"Get site","id":"e2a14075-b143-4960-b67f-ae2557b03fc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/sites/:id?date=2020-01-01","description":"<p>Get data the site</p>\n<p><strong>This will also return the Physical Site ID of Sites which were created before Phyisical Sites were implemented.</strong></p>\n","urlObject":{"path":["sites",":id"],"host":["{{url}}"],"query":[{"description":{"content":"<p>This calculates the site net area, on a given date, taking into account the active crops on the site at the submitted date</p>\n","type":"text/plain"},"key":"date","value":"2020-01-01"}],"variable":[{"id":"1b8ba6cc-5d74-4f3a-8393-bfa2fb517f26","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"ed4b34a2-e872-4848-a7c4-2fd29e18c4ec","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"2","description":"Site identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"},{"id":"55a74c1d-bfa4-4420-9873-9c3347a8efc2","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"9999","description":"Site identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Identify not found\"\n}"},{"id":"f4b8d878-c149-4395-83cf-962eb399e98b","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Madrid\",\n   \"description\":\"Description 1\",\n   \"total_area\":120,\n   \"net_area\":100,          //Calculated using the “area” field from the Crop entity\n   \"unit_measure_id\":2,     //Unit of measure is hectares\n   \"fmis_id\":1,\n   \"producer_id\":1,\n   \"geoname\": {\n      \"id\": 1,\n      \"latitude\": \"-5.48507400\",\n      \"longitude\": \"39.53536400\",\n      \"name\": \"Madrid\",\n      \"country_code\": \"\",\n      \"admin1\": null,\n      \"admin2\": null,\n      \"admin3\": null,\n      \"admin4\": null\n   }\n}"}],"_postman_id":"e2a14075-b143-4960-b67f-ae2557b03fc8"},{"name":"Add site","id":"19518f13-f3b7-47e8-ad2d-cf7bbf8a1555","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n            \"name\": \"The gangarras\",\r\n            \"type\": \"Plant\",\r\n            \"description\": \"The gangarras\",\r\n            \"total_area\": 1000.0,            \r\n            \"unit_measure_id\": 2,\r\n            \"longitude\" : 3.703790,\r\n            \"latitude\" : 40.416775,\r\n            \"physical_site_id\":328\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/sites","description":"<p>Add a new site where production takes place. Crops are assigned to a site and therefore site must be created first. Also, physical site must be created before creating a site because every (logical) site must be associated with one physical site.</p>\n<p>The physical site ID of existing sites can be found using the Get api</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the site</td>\n</tr>\n<tr>\n<td>description</td>\n<td>0</td>\n<td>String</td>\n<td>Description of the site</td>\n</tr>\n<tr>\n<td>total_area</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Total gross area</td>\n</tr>\n<tr>\n<td>Longitude/latitude</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Coordinates to indicate location of site: Use signed degrees format with 4-6 digits after decimal</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"required-changes\">Required changes</h4>\n<p><strong>New datapoints:</strong></p>\n<p>the unit measure ID and Physical site ID have to be implemented into the API call. See examples below.</p>\n<p>The type does not have to be implemented.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>0</td>\n<td>String</td>\n<td>Type of the site, if the site used for Plant’s produce, accepted value is “Plant”. By default, type is Plant.</td>\n</tr>\n<tr>\n<td>unit_measure_id</td>\n<td>0</td>\n<td>Integer</td>\n<td>Unit measurement of total area, in Hectare:  <br />Accepted value: 2</td>\n</tr>\n<tr>\n<td>physical_site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which physical site this site is associated with.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Deleted or modified datapoints:</strong></p>\n<p>No datapoints have been deleted or modified.</p>\n<p>Note: The response will return detailed data on the location of the site based on the coordinate input that can be used for benchmarking.</p>\n","urlObject":{"protocol":"https","path":["sites"],"host":["test-data-driven","globalgap","org"],"query":[],"variable":[]}},"response":[{"id":"e0db2b81-9c23-4c16-92f5-5a1670860083","name":"Example w Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n            \"name\": \"The gangarras\",\r\n            \"type\": \"Plant\",\r\n            \"description\": \"The gangarras\",\r\n            \"total_area\": 1000.0,            \r\n            \"unit_measure_id\": 2,\r\n            \"longitude\" : 3.703790,\r\n            \"latitude\" : 40.416775,\r\n            \"physical_site_id\":328\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/sites"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 13:53:57 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"327"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1191,\n    \"name\": \"The gangarras\",\n    \"type\": \"Plant\",\n    \"description\": \"The gangarras\",\n    \"total_area\": 1000,\n    \"net_area\": 0,\n    \"unit_measure_id\": 2,\n    \"fmis_id\": 7,\n    \"geoname\": {\n        \"id\": 1191,\n        \"latitude\": 40.416775,\n        \"longitude\": 3.70379,\n        \"name\": \"The gangarras\",\n        \"country_code\": \"\",\n        \"admin1\": null,\n        \"admin2\": null,\n        \"admin3\": null,\n        \"admin4\": null\n    },\n    \"physical_site_id\": 328\n}"},{"id":"5e107252-08cf-4d7c-9bed-d04cfe3ab087","name":"Example w/o Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n            \"name\": \"The gangarras\",\r\n            \"description\": \"The gangarras\",\r\n            \"total_area\": 1000.0,            \r\n            \"unit_measure_id\": 2,\r\n            \"longitude\" : 3.703790,\r\n            \"latitude\" : 40.416775,\r\n            \"physical_site_id\":328\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/sites"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 13:54:56 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"327"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1192,\n    \"name\": \"The gangarras\",\n    \"type\": \"Plant\",\n    \"description\": \"The gangarras\",\n    \"total_area\": 1000,\n    \"net_area\": 0,\n    \"unit_measure_id\": 2,\n    \"fmis_id\": 7,\n    \"geoname\": {\n        \"id\": 1192,\n        \"latitude\": 40.416775,\n        \"longitude\": 3.70379,\n        \"name\": \"The gangarras\",\n        \"country_code\": \"\",\n        \"admin1\": null,\n        \"admin2\": null,\n        \"admin3\": null,\n        \"admin4\": null\n    },\n    \"physical_site_id\": 328\n}"}],"_postman_id":"19518f13-f3b7-47e8-ad2d-cf7bbf8a1555"},{"name":"Delete site","id":"25fa8439-2741-4f15-8d93-2200b12a450d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/sites/:id","description":"<p>Delete a site</p>\n","urlObject":{"path":["sites",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"4f15e32b-40df-4417-95ee-4f9917383ac5","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"4c7c23b0-c02e-4c3c-8d94-6448cee54e45","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"25fa8439-2741-4f15-8d93-2200b12a450d"},{"name":"Modify site","id":"d92ec5a5-16cf-45ac-9f7a-4e8c7321b10c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Las gangarras\",\r\n   \"description\":\"Description\",\r\n   \"longitude\": 39.535364,\r\n   \"latitude\": -5.485074,\r\n   \"total_area\":150\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/sites/:id","description":"<p>Modify site data</p>\n","urlObject":{"path":["sites",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"25da7642-5bf4-48f1-84ae-bd66b6acf93a","description":{"content":"<p>Site identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"a08282c9-74d0-41af-8cd5-b69e639cd653","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"total_area\":125\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/sites/:id","host":["{{url}}"],"path":["sites",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   \"id\":1,\r\n   \"name\":\"The gangarras\",\r\n   \"description\":\"Description\",\r\n   \"total_area\":125,\r\n   \"net_area\":125,         //Calculated using the “area” field from the Crop entity\r\n   \"unit_measure_id\":2,    //Unit of measure is hectares\r\n   \"fmid_id\": 1,\r\n   \"geoname\": {\r\n      \"id\": 1,\r\n      \"latitude\": \"-5.48507400\",\r\n      \"longitude\": \"39.53536400\",\r\n      \"name\": \"The gangarras\",\r\n      \"country_code\": \"\",\r\n      \"admin1\": null,\r\n      \"admin2\": null,\r\n      \"admin3\": null,\r\n      \"admin4\": null\r\n   }\r\n}"}],"_postman_id":"d92ec5a5-16cf-45ac-9f7a-4e8c7321b10c"}],"id":"8dd3ce50-5d40-4041-b18a-051066b0d582","description":"<p>Module to manage the sites</p>\n<h4 id=\"required-changes\">Required Changes:</h4>\n<p>To add a <strong>new</strong> site, you need a <strong>Physical Site ID.</strong></p>\n<p><strong>Existing</strong> site have been given a Physical Site ID, which can be found using the <strong>Get \"List sites\"</strong> or <strong>Get \"Get sites\"</strong> api calls.</p>\n<p><strong>Minimum new datapoints:</strong></p>\n<p>the Physical site ID have to be implemented into the API call. See examples below.</p>\n<p>The type and unit_measure_id does not have to be implemented.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Data point</strong></th>\n<th><strong>Mandatory</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Comment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>unit_measure_id</td>\n<td>0</td>\n<td>Integer</td>\n<td>Unit measurement of total area, in Hectare:  <br />Accepted value: 2</td>\n</tr>\n<tr>\n<td>physical_site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which physical site this site is associated with.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"b5dc5990-fa0e-44f7-ad2f-461692309b3d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"04bb7ee0-b86a-49fa-b7ce-7f6383fc24c9","type":"text/javascript","exec":[""]}}],"_postman_id":"8dd3ce50-5d40-4041-b18a-051066b0d582","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Crops","item":[{"name":"Genus","item":[{"name":"List the crop genus","id":"9154f489-724f-41e4-9a67-b8d10d2468f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/crop/genus?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of crop genus you’ve previously loaded. The crop genus are returned in sorted order.</p>\n<p>GS1 Global Product Classification Class Code for Horticulture Plants will be used as the identifier of the crop. <a href=\"https://www.gs1.org/services/gpc-browser\">https://www.gs1.org/services/gpc-browser</a></p>\n","urlObject":{"path":["crop","genus"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"b319d75c-9290-4e83-a004-c6dac59545ca","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crop/genus?limit=2","host":["{{url}}"],"path":["crop","genus"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Genus 1\",\n         \"description\":\"Description 1\",\n         \"production_ref_small\":0.1,\n         \"production_ref_mid\":1,\n         \"production_ref_large\":5,\n         \"product_category_id\":1\n      },\n      {\n         \"id\":2,\n         \"name\":\"Genus 2\",\n         \"description\":\"Description 2\",\n         \"production_ref_small\":1,\n         \"production_ref_mid\":5,\n         \"production_ref_large\":15,\n         \"product_category_id\":1\n      }\n   ],\n   \"total\":5\n}"}],"_postman_id":"9154f489-724f-41e4-9a67-b8d10d2468f0"},{"name":"Get crop genus","id":"1775c7f6-ca2a-4348-ad70-0cbd11e6979c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/crop/genus/:id","description":"<p>Get individual crop genus based on id.</p>\n","urlObject":{"path":["crop","genus",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"1d9723bd-3d5e-4333-89de-f90186f6e7fc","description":{"content":"<p>Genus identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"48ffbef4-a2a7-4b48-baca-5d93c08c3982","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crop/genus/:id","host":["{{url}}"],"path":["crop","genus",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"genus\":\n   {\n      \"id\":1,\n      \"name\":\"Genus 1\",\n      \"description\":\"Description 1\",\n         \"production_ref_small\":0.1,\n         \"production_ref_mid\":1,\n         \"production_ref_large\":5,\n      \"product_category_id\":1\n   }\n}"}],"_postman_id":"1775c7f6-ca2a-4348-ad70-0cbd11e6979c"}],"id":"3c7db43d-d538-4aae-9ebc-04f8097bc074","description":"<p>Module to manage the crop genus</p>\n","event":[{"listen":"prerequest","script":{"id":"1d4e44ca-d25b-4080-8fd8-4b3bec4bbfb0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"71610379-4cf3-4a3d-8b2d-14af33cbfde0","type":"text/javascript","exec":[""]}}],"_postman_id":"3c7db43d-d538-4aae-9ebc-04f8097bc074","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"List the crops","id":"d400addf-d1b8-4321-9c43-50539213823a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://test-data-driven.globalgap.org/crops?limit=&offset&sort_by&sort_order","description":"<p>Returns a list of crops you’ve previously created. The crops are returned in sorted order.</p>\n","urlObject":{"protocol":"https","path":["crops"],"host":["test-data-driven","globalgap","org"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":null},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":null},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":null}],"variable":[]}},"response":[{"id":"d1829a80-66df-44c1-a13b-7e284eeea96f","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crops?limit=2","host":["{{url}}"],"path":["crops"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n        {\n            \"id\":1,\n            \"name\":\"Crop 1\",\n            \"description\":\"Crop of oranges\",\n            \"area\": 150,\n            \"unit_measure_id\":2,\n            \"site_id\":33,\n            \"soil_type_id\":2,\n            \"production_type_id\":1,\n            \"product_category_id\":100005,\n            \"crop_genus_id\":1,\n            \"init_date\":\"2020-01-01\",\n            \"end_date\":null //If end_date is null it means it has no end date\n        },\n        {\n            \"id\":2,\n            \"name\":\"Crop 2\",\n            \"description\":\"Crop of strawberry\",\n            \"area\": 150,\n            \"unit_measure_id\":2,\n            \"site_id\":33,\n            \"soil_type_id\":2,\n            \"production_type_id\":2,\n            \"product_category_id\":100005,\n            \"crop_genus_id\":2,\n            \"init_date\":\"2020-01-01\",\n            \"end_date\":\"2020-01-31\" \n        }\n   ],\n   \"total\": 3\n}"},{"id":"775380eb-cb4f-4dbb-8c95-534c099f18c5","name":"List the crops","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"https://test-data-driven.globalgap.org/crops?limit=&offset&sort_by&sort_order","protocol":"https","host":["test-data-driven","globalgap","org"],"path":["crops"],"query":[{"key":"limit","value":"","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":null,"description":"The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0"},{"key":"sort_by","value":null,"description":"Sort the items by a field"},{"key":"sort_order","value":null,"description":"Sorts the list in the response in descending/ascending order. Default ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Nov 2023 11:17:05 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"4835"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1264,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of flowers\",\n            \"area\": 10,\n            \"crop_genus_id\": 93042500,\n            \"recognition_id\": 2,\n            \"product_category_id\": 100003,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1177,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 2,\n            \"init_date\": \"2023-05-31\",\n            \"end_date\": \"2023-12-31\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": null,\n            \"audit_data_permission\": null,\n            \"company_type\": null,\n            \"group_member\": null,\n            \"pg_ggn\": null,\n            \"farming_type\": null\n        },\n        {\n            \"id\": 1265,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of flowers\",\n            \"area\": 10,\n            \"crop_genus_id\": 93042500,\n            \"recognition_id\": 2,\n            \"product_category_id\": 100004,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1177,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 2,\n            \"init_date\": \"2023-05-31\",\n            \"end_date\": \"2023-12-31\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": null,\n            \"audit_data_permission\": null,\n            \"company_type\": null,\n            \"group_member\": null,\n            \"pg_ggn\": null,\n            \"farming_type\": null\n        },\n        {\n            \"id\": 1297,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 5,\n            \"crop_genus_id\": null,\n            \"recognition_id\": 8,\n            \"product_category_id\": 2,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1189,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-30\",\n            \"end_date\": \"2023-02-17\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": 3,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"Conventional\"\n        },\n        {\n            \"id\": 1298,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 5,\n            \"crop_genus_id\": null,\n            \"recognition_id\": 4,\n            \"product_category_id\": 2,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1189,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-30\",\n            \"end_date\": \"2023-02-17\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": 3,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"Conventional\"\n        },\n        {\n            \"id\": 1299,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 5,\n            \"crop_genus_id\": null,\n            \"recognition_id\": 8,\n            \"product_category_id\": 2,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1189,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-30\",\n            \"end_date\": \"2023-02-17\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": 3,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"Conventional\"\n        },\n        {\n            \"id\": 1300,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 150,\n            \"crop_genus_id\": 93110101,\n            \"recognition_id\": 4,\n            \"product_category_id\": 100005,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1193,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-01\",\n            \"end_date\": \"2023-12-31\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": null,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"\"\n        },\n        {\n            \"id\": 1301,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 5,\n            \"crop_genus_id\": null,\n            \"recognition_id\": 8,\n            \"product_category_id\": 2,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1193,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-30\",\n            \"end_date\": \"2023-02-17\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": 3,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"Conventional\"\n        },\n        {\n            \"id\": 1302,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 5,\n            \"crop_genus_id\": null,\n            \"recognition_id\": 8,\n            \"product_category_id\": 2,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1193,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-30\",\n            \"end_date\": \"2023-02-17\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": 3,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"Conventional\"\n        },\n        {\n            \"id\": 1303,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 5,\n            \"crop_genus_id\": null,\n            \"recognition_id\": 8,\n            \"product_category_id\": 2,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1189,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-30\",\n            \"end_date\": \"2023-02-17\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": 3,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"Conventional\"\n        },\n        {\n            \"id\": 1304,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 5,\n            \"crop_genus_id\": null,\n            \"recognition_id\": 8,\n            \"product_category_id\": 2,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1193,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-30\",\n            \"end_date\": \"2023-12-17\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": 3,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"Conventional\"\n        },\n        {\n            \"id\": 1305,\n            \"name\": \"Crop 1\",\n            \"description\": \"Crop of oranges\",\n            \"area\": 5,\n            \"crop_genus_id\": null,\n            \"recognition_id\": 8,\n            \"product_category_id\": 2,\n            \"unit_measure_id\": 2,\n            \"site_id\": 1193,\n            \"soil_type_id\": 2,\n            \"production_type_id\": 1,\n            \"init_date\": \"2023-01-30\",\n            \"end_date\": \"2023-12-17\",\n            \"amount_harvested_produce\": null,\n            \"unit_measure_produce_id\": 3,\n            \"audit_data_permission\": false,\n            \"company_type\": \"Producer\",\n            \"group_member\": false,\n            \"pg_ggn\": \"\",\n            \"farming_type\": \"Conventional\"\n        }\n    ],\n    \"total\": 11\n}"}],"_postman_id":"d400addf-d1b8-4321-9c43-50539213823a"},{"name":"Get crops","id":"a5cc430a-be88-471f-b6b3-7092a3daae64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/crops/:id","description":"<p>Get data the a crop</p>\n","urlObject":{"path":["crops",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"d0ddb8ea-e441-4ef1-b474-808e746789e8","description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"af8eb1f2-75e1-49e3-a470-68c82b084389","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":"99999","description":"Identificador del cultivo"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Identify not found\"\r\n}"},{"id":"8a0e72a6-7277-4df1-a3b8-163e3765630d","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":"2","description":"Identificador del cultivo"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid authorization \"\n}"},{"id":"7e55ad12-f248-4834-8444-318d2dcd6db4","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Crop 1\",\n   \"description\":\"Crop of oranges\",\n   \"area\": 150,\n   \"unit_measure_id\":2,\n   \"site_id\":33,\n   \"soil_type_id\":2,\n   \"production_type_id\":1,\n   \"product_category_id\":100005,\n   \"crop_genus_id\":1,\n   \"init_date\":\"2020-01-01\",\n   \"end_date\":null //If end_date is null it means it has no end date\n}"}],"_postman_id":"a5cc430a-be88-471f-b6b3-7092a3daae64"},{"name":"Add crop","id":"5662ca7e-5ee3-4dee-8b11-75d04d3d4d36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 150,\r\n   \"unit_measure_id\":2,\r\n   \"site_id\":1207,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":1,\r\n   \"product_category_id\":100005,\r\n   \"crop_genus_id\":93110101,\r\n   \"init_date\":\"2023-01-01\",\r\n   \"end_date\":\"2023-12-31\",\r\n   \"recognition_id\": 4,\r\n   \"audit_data_permission\": false\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/crops","description":"<p>Add new crop. A site must first be created as a crop is assigned to a site.</p>\n<p>See the change log on which new datapoints are <strong>required</strong> to be implemented.</p>\n<p>Please note that for initial implementation, set audit_data_permission value to be <strong>False</strong>. GLOBALG.A.P will notify when this feature is fully developed.<br />Please also note that before adding any crop, it is recommended that API partners shall ask producers for which GLOBALG.A.P. farm assurance product they are aspiring for and whether they are aspiring to get certified in a group or as an individual producer. Please refer to Json Web Token to modify payload accordingly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>0</td>\n<td>String</td>\n<td>Name of the crop</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>0</td>\n<td>String</td>\n<td>Description of crop</td>\n</tr>\n<tr>\n<td>area</td>\n<td>1</td>\n<td>Decimal</td>\n<td>Area in which the crop is grown</td>\n</tr>\n<tr>\n<td>unit measure id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Unit measure of the area in which the crop is grown. Area of crop is measured is in hectars. Accepted value: 2</td>\n</tr>\n<tr>\n<td>site_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>The site where the crop is located. Use id created when site was created</td>\n</tr>\n<tr>\n<td>soil_type_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>Use soil type id to indicate if production is with <strong>soil</strong> or <strong>without soil</strong>. See \"Soil\" for more information.</td>\n</tr>\n<tr>\n<td>production_type_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To indicate if crop is grown in a <strong>covered production</strong> or in a <strong>open field</strong>. See \"Production\" for more information</td>\n</tr>\n<tr>\n<td>product_category_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>GLOBALG.A.P. Product id from product list.</td>\n</tr>\n<tr>\n<td>init_date</td>\n<td>0</td>\n<td>Date</td>\n<td>Start date of growing the crop. Date format- yyyy-MM-dd. Default value is today’s date. By default, it will take today's date</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>0</td>\n<td>Date</td>\n<td>End date of the crop. Or harvest date of the crop. Date format- yyyy-MM-dd.</td>\n</tr>\n<tr>\n<td>amount_harvested_produce</td>\n<td>0</td>\n<td>Decimal</td>\n<td>Amount of harvest produce is required when the harvest date has been entered.</td>\n</tr>\n<tr>\n<td>unit_measure_produce_id</td>\n<td>1 when_amount_harvested_produce</td>\n<td>Integer</td>\n<td>Conditionally obligatory. Unit measure for amount of produce. Accepted value is 3 for Kg</td>\n</tr>\n<tr>\n<td>recognition_id</td>\n<td>1</td>\n<td>Integer</td>\n<td>To which GLOBALGAP Farm assurance product the grown crop is aspiring to be certified . Possible ids IDA Add-on : 4 (Flowers and Ornamentals) &amp; 8 (Plants)</td>\n</tr>\n<tr>\n<td>audit_data_permission</td>\n<td>1</td>\n<td>Boolean</td>\n<td>Permission to share the data for auditing purpose.</td>\n</tr>\n<tr>\n<td>farming_type</td>\n<td>0</td>\n<td>String</td>\n<td>Possible values \"Conventional\" or \"Organic\"</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"change-log\">Change Log</h1>\n<p><strong>New Datapoints:</strong></p>\n<p>Only the recognition_ID and audit_data_permission are required to be implemented for this call to work. The rest, listed in the table above, are optional when using the old workflow.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount_harvested_produce</td>\n<td>0</td>\n<td>Decimal</td>\n<td>Amount of harvest produce is required when the harvest date has been entered.</td>\n</tr>\n<tr>\n<td>unit_measure_produce_id</td>\n<td>1 when amount_harvested_produce</td>\n<td>Integer</td>\n<td>Conditionally obligatory. Unit measure for amount of produce. Accepted value is 3 for Kg</td>\n</tr>\n<tr>\n<td><strong>recognition_id</strong></td>\n<td><strong>1</strong></td>\n<td><strong>Integer</strong></td>\n<td><strong>To which GLOBALGAP Farm assurance product the grown crop is aspiring to be certified . Possible ids IDA Add-on : 4 (Flowers and Ornamentals) &amp; 8 (Plants)</strong></td>\n</tr>\n<tr>\n<td><strong>audit_data_permission</strong></td>\n<td><strong>1</strong></td>\n<td><strong>Boolean</strong></td>\n<td><strong>Permission to share the data for auditing purpose.</strong></td>\n</tr>\n<tr>\n<td>company_type</td>\n<td>0</td>\n<td>String</td>\n<td>Possible values \"Producer\" or \"ProducerGroup\"</td>\n</tr>\n<tr>\n<td>group_member</td>\n<td>0</td>\n<td>boolean</td>\n<td>Is the producer a member of a producer group: \"True\" or \"false\"</td>\n</tr>\n<tr>\n<td>pg_ggn</td>\n<td>0</td>\n<td>String</td>\n<td>The GGN of the PG member</td>\n</tr>\n<tr>\n<td>farming_type</td>\n<td>0</td>\n<td>String</td>\n<td>Possible values \"Conventional\" or \"Organic\"</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Modified or Deleted Datapoints:</strong></p>\n<p>No Datapoints have been deleted or modifed.</p>\n<p><strong>Enter a Non-production Crop:</strong></p>\n<p>If the producer has a period in time where no active crops exist, no input consumption data can be entered. This will cause a gap in the transmition of data and thus a suspension of the IDA certificate.</p>\n<p>To prevent this, the producer should create a crop with the non-production category (product category = 1234) for a set period of time. This allows the producer to register 0 input consumption data for this dummy crop, which will prevent gaps in the data from forming.</p>\n","urlObject":{"path":["crops"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"19212c55-45ed-4236-ab56-a0649be9c25e","name":"Add crop minimum","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 150,\r\n   \"unit_measure_id\":2,\r\n   \"site_id\":1193,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":1,\r\n   \"product_category_id\":100005,\r\n   \"crop_genus_id\":93110101,\r\n   \"init_date\":\"2023-01-01\",\r\n   \"end_date\":\"2023-12-31\",\r\n   \"recognition_id\": 4,\r\n   \"audit_data_permission\": false\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/crops"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 14:05:50 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"439"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1300,\n    \"name\": \"Crop 1\",\n    \"description\": \"Crop of oranges\",\n    \"area\": 150,\n    \"crop_genus_id\": 93110101,\n    \"recognition_id\": 4,\n    \"product_category_id\": 100005,\n    \"unit_measure_id\": 2,\n    \"site_id\": 1193,\n    \"soil_type_id\": 2,\n    \"production_type_id\": 1,\n    \"init_date\": \"2023-01-01\",\n    \"end_date\": \"2023-12-31\",\n    \"amount_harvested_produce\": null,\n    \"unit_measure_produce_id\": null,\n    \"audit_data_permission\": false,\n    \"company_type\": \"Producer\",\n    \"group_member\": false,\n    \"pg_ggn\": \"\",\n    \"farming_type\": \"\"\n}"},{"id":"37c73271-1a80-4376-b7a2-50ab57245a0d","name":"Add crop maximum","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 5,\r\n   \"unit_measure_id\":2,\r\n   \"site_id\":1193,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":1,\r\n   \"product_category_id\":2,\r\n   \"init_date\": \"2023-01-30\",\r\n   \"end_date\": \"2023-02-17\",\r\n   \"unit_measure_produce_id\": 3,\r\n   \"recognition_id\": 8,\r\n   \"audit_data_permission\" : false,\r\n   \"company_type\": \"Producer\",\r\n    \"group_member\": false,\r\n    \"pg_ggn\": \"\",\r\n   \"farming_type\": \"Conventional\"\r\n  \r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/crops"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 14:06:55 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"437"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1301,\n    \"name\": \"Crop 1\",\n    \"description\": \"Crop of oranges\",\n    \"area\": 5,\n    \"crop_genus_id\": null,\n    \"recognition_id\": 8,\n    \"product_category_id\": 2,\n    \"unit_measure_id\": 2,\n    \"site_id\": 1193,\n    \"soil_type_id\": 2,\n    \"production_type_id\": 1,\n    \"init_date\": \"2023-01-30\",\n    \"end_date\": \"2023-02-17\",\n    \"amount_harvested_produce\": null,\n    \"unit_measure_produce_id\": 3,\n    \"audit_data_permission\": false,\n    \"company_type\": \"Producer\",\n    \"group_member\": false,\n    \"pg_ggn\": \"\",\n    \"farming_type\": \"Conventional\"\n}"}],"_postman_id":"5662ca7e-5ee3-4dee-8b11-75d04d3d4d36"},{"name":"Delete crop","id":"52372985-0422-4026-a7b8-1d337cb4f1cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/crops/:id","description":"<p>Delete a crop</p>\n","urlObject":{"path":["crops",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"b98a3e5d-1950-4711-83bd-ca9b095923c0","description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"5ac41329-64b1-4a98-9630-46b257a27fe4","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":"1","description":"Crop identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"52372985-0422-4026-a7b8-1d337cb4f1cc"},{"name":"Modify crop","id":"3d10cfe3-99f7-4ee5-beec-ca2bf36e5409","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 150,\r\n   \"unit_measure_id\":2,\r\n   \"site_id\":33,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":2,\r\n   \"product_category_id\":100005,\r\n   \"crop_genus_id\":3,\r\n   \"init_date\":\"2020-01-01\",\r\n   \"end_date\":\"2020-01-31\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/crops/:id","description":"<p>Modify data of a crop</p>\n","urlObject":{"path":["crops",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"620fc743-36d8-4d96-bb19-25f39c864ada","description":{"content":"<p>Crop identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"b7ed54ea-dc55-4b8b-b95b-0b444129f6b2","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 150\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/crops/:id","host":["{{url}}"],"path":["crops",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   \"id\":1,\r\n   \"name\":\"Crop 1\",\r\n   \"description\":\"Crop of oranges\",\r\n   \"area\": 150,\r\n   \"unit_measure_id\":2,\r\n   \"site_id\":33,\r\n   \"soil_type_id\":2,\r\n   \"production_type_id\":3,\r\n   \"product_category_id\":100005,\r\n   \"crop_genus_id\":2,\r\n   \"init_date\":\"2020-01-01\",\r\n   \"end_date\":\"2020-01-31\" \r\n}"}],"_postman_id":"3d10cfe3-99f7-4ee5-beec-ca2bf36e5409"}],"id":"093ea450-243a-4b96-8953-182045fe9ba2","description":"<p>Module to manage the crops</p>\n<h1 id=\"required-changes\">Required Changes:</h1>\n<p>To use the Crops folder, <strong>two</strong> new datapoints <strong>must</strong> be implemented for the \"Add crop\" call: Recognition_ID and audit_data_permission</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Mandatory</th>\n<th>Format</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>recognition_id</strong></td>\n<td><strong>1</strong></td>\n<td><strong>Integer</strong></td>\n<td><strong>To which GLOBALGAP Farm assurance product the grown crop is aspiring to be certified . Possible ids IDA Add-on : 4 (Flowers and Ornamentals) &amp; 8 (Plants)</strong></td>\n</tr>\n<tr>\n<td><strong>audit_data_permission</strong></td>\n<td><strong>1</strong></td>\n<td><strong>Boolean</strong></td>\n<td><strong>Permission to share the data for auditing purpose. Possible values: true &amp; false</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"47f56534-09da-4a2d-99ed-18ab1defa31a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0eea546c-8134-425e-beb6-b4b879a22bc7","type":"text/javascript","exec":[""]}}],"_postman_id":"093ea450-243a-4b96-8953-182045fe9ba2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Production","item":[{"name":"Type","item":[{"name":"List the production types","id":"478de890-86e4-4945-86b1-dfc1e98d88a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/production/type?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production types you’ve previously loaded. The production types are returned in sorted order. There are currently two types of production types in the Impact-Driven API: <strong>Covered</strong> and <strong>Open field</strong>.</p>\n","urlObject":{"path":["production","type"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"98878fb9-93dc-41ff-abde-a98200f42feb","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type?limit=2","host":["{{url}}"],"path":["production","type"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Covered\",\n         \"description\":\"Crops where their production is covered\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Open field\",\n         \"description\":\"Crops where their production is open field\"\n      }\n   ],\n   \"total\":2\n}"}],"_postman_id":"478de890-86e4-4945-86b1-dfc1e98d88a7"},{"name":"Get production type","id":"4e7806c2-3491-4e56-a933-763c60971c62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/production/type/:id","description":"<p>Get the production type. Production types are <strong>covered</strong> and <strong>open field</strong></p>\n","urlObject":{"path":["production","type",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"74fba378-1273-44f0-9195-ef5130f9aab8","description":{"content":"<p>Production type identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"9e8dcc9d-c766-4fe1-9c76-ddcb3b32f219","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/production/type/:id","host":["{{url}}"],"path":["production","type",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Covered\",\n   \"description\":\"Crops where their production is covered\"\n}"}],"_postman_id":"4e7806c2-3491-4e56-a933-763c60971c62"}],"id":"3c93ead4-0af9-462b-9bd6-c67d0cf1e4ff","description":"<p>Module to manage the production types</p>\n","event":[{"listen":"prerequest","script":{"id":"54980617-739e-437b-8578-6569f26bcdf8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"466dd373-55a7-4de8-bb92-3a7c4d15db30","type":"text/javascript","exec":[""]}}],"_postman_id":"3c93ead4-0af9-462b-9bd6-c67d0cf1e4ff","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"29d91ee3-2fe4-4b2d-908f-8f17fed0ed6a","description":"<p>Module to manage the production</p>\n","event":[{"listen":"prerequest","script":{"id":"d0356fbf-0896-4c71-bc60-9c6b46a7a657","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c9f5b04f-6a0e-4973-945d-2ad6f0491c46","type":"text/javascript","exec":[""]}}],"_postman_id":"29d91ee3-2fe4-4b2d-908f-8f17fed0ed6a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Soil","item":[{"name":"Type","item":[{"name":"List the production soil type","id":"5b9b9bfc-8477-4a61-b950-28ace0d8ba4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/soil/type?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of production soils type you’ve previously loaded. The production soils type are returned in sorted order.</p>\n","urlObject":{"path":["soil","type"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"e925902f-40bd-4e7f-987a-83051c469b2b","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/soil/type?limit=2","host":["{{url}}"],"path":["soil","type"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Soil type 1\",\n         \"description\":\"Description 1\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Soil type 2\",\n         \"description\":\"Description 2\"\n      }\n   ],\n   \"total\":3\n}"}],"_postman_id":"5b9b9bfc-8477-4a61-b950-28ace0d8ba4b"},{"name":"Get production soil type","id":"2dae63a6-bb6a-4f95-bebe-022b2d29b6b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/soil/type/:id","description":"<p>Get the production soil type</p>\n","urlObject":{"path":["soil","type",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"1c5f9b3d-6ee4-4530-a3cf-e271907a6ef0","description":{"content":"<p>Production soil type identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"dc85775b-db2c-47db-8116-985297d5289f","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/soil/type/:id","host":["{{url}}"],"path":["soil","type",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":1,\n   \"name\":\"Soil type 1\",\n   \"description\":\"Description 1\"\n}"}],"_postman_id":"2dae63a6-bb6a-4f95-bebe-022b2d29b6b1"}],"id":"f3878522-d1c1-4dc4-8107-2b49f72f12bc","description":"<p>Module to manage the soils types</p>\n","event":[{"listen":"prerequest","script":{"id":"220181fb-9399-4c4e-8ea8-b0d1cf636203","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"07c950b9-be72-4a17-9d41-27d7c7b9d6e2","type":"text/javascript","exec":[""]}}],"_postman_id":"f3878522-d1c1-4dc4-8107-2b49f72f12bc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"6dfe447a-1247-4d3a-bd93-90a3299822b5","description":"<p>Module to manage the soils</p>\n","event":[{"listen":"prerequest","script":{"id":"552a484a-10a9-467e-96a4-0d3f77938ad1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"25ccf61e-499a-4a9c-8f46-21ac70039b08","type":"text/javascript","exec":[""]}}],"_postman_id":"6dfe447a-1247-4d3a-bd93-90a3299822b5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Active Ingredient","item":[{"name":"Application","item":[{"name":"List the active ingredients applications","id":"10b248f5-5c51-4a5b-9c1f-94c02cd270b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of active ingredients applications you’ve previously created. The active ingredients applications are returned in sorted order.</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","active_ingredient_application"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page. Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"bdb64e65-9a3b-4883-8229-d799801d730b","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"}],"url":{"raw":"{{url}}/active_ingredient/application?limit=2&offset=23","host":["{{url}}"],"path":["active_ingredient","application"],"query":[{"key":"limit","value":"2","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":"23","description":"The query parameter offset allows you to specify the ranking number of the first item on the page. Default 0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":23,\n         \"applied_to\":\"2020-05-12T15:04:25+00:00\",\n         \"amount\":0.45,\n         \"unit_measure_id\":3,\n         \"crop_id\":12,\n         \"cas\":\"7440-23-5\"\n      },\n      {\n         \"id\":24,\n         \"applied_to\":\"2020-05-15T18:04:25+00:00\",\n         \"amount\":0.75,\n         \"unit_measure_id\":3,\n         \"crop_id\":18,\n         \"cas\":\"7440-09-7\"\n      }\n   ],\n   \"total\": 56\n}"}],"_postman_id":"10b248f5-5c51-4a5b-9c1f-94c02cd270b4"},{"name":"Get application","id":"01128b0a-2590-4411-9c97-7f2cfe1e275d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application/:id","description":"<p>Get data the active ingredient application in a crop</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","active_ingredient_application",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"bf011109-4277-4138-8640-1934389e5356","description":{"content":"<p>Active ingredient application identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"0acd260b-531d-4d4d-a595-e2a854407ca5","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/active_ingredient/application/:id","host":["{{url}}"],"path":["active_ingredient","application",":id"],"variable":[{"key":"id","value":"29","description":"Active ingredient application identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\": 29,\n   \"applied_to\": \"2020-05-12T15:04:25+00:00\",\n   \"amount\": 0.45,\n   \"unit_measure_id\": 3,\n   \"crop_id\": 12,\n   \"cas\":\"7440-23-5\"\n}"}],"_postman_id":"01128b0a-2590-4411-9c97-7f2cfe1e275d"},{"name":"Add application","id":"d8779ad7-22a1-43c2-999d-7760d9b85ff2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"applied_to\": \"2024-09-01T18:04:25+00:00\",\r\n    \"amount\": 1.23,\r\n    \"unit_measure_id\": 3,\r\n    \"crop_id\": 5640,\r\n    \"cas\":\"0000-00-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application","description":"<p>Add new active ingredient application to a crop. Data transmitted should be the active ingredients within a plant protection product and how much of the active ingredient was applied.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Applied to</td>\n<td>Time of application</td>\n</tr>\n<tr>\n<td>Amount</td>\n<td>Amount of <strong>active ingredient</strong> in the application</td>\n</tr>\n<tr>\n<td>Unit measure id</td>\n<td>Amount of active ingredient applied to be given in kg (id: 3)</td>\n</tr>\n<tr>\n<td>Crop id</td>\n<td>Id of the crop where application took place. Crop must be created before applications can be saved</td>\n</tr>\n<tr>\n<td>CAS</td>\n<td>CAS (Chemical Abstracts Service) Registry Numbers shall be used to indicate the applied active ingredient. CAS Registry Numbers are universal and GLOBALG.A.P. will not hold a separate registry of CAS Registry Numbers.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"zero-active-ingredient-application\">Zero Active Ingredient Application</h3>\n<p>A dummy CAS number “0000-00-0” shall be used to represent no CAS application or no active ingredient applied. There must be crop on which this no active ingredient applied is referenced to. Since the date should ndicate<br />for which month there has been no active ingredient applied, ‘applied_to’ should take the last date of the month for which this recording is being made.<br />Example of sample json request is { \"applied_to\": \"2021-05-31T18:04:25+00:00\", \"amount\": 0,<br />\"unit_measure_id\": 3,<br />\"crop_id\": 111,<br />\"cas\":\"0000-00-0\"<br />}</p>\n<p><strong>NO CAS Number</strong></p>\n<p>In the event, the used Product does NOT have a CAS number,<br />please use the dummy CAS number \"0000-00-1\".</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter active ingredients using the old API calls requires adjusting the url from:</p>\n<p>'{{url}}/active_ingredient/application' to</p>\n<p>'{{url}}/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application'</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","active_ingredient_application"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"93326b9d-1316-4222-8e35-754b88d3eb20","name":"Add application","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"applied_to\": \"2023-05-12T18:04:25+00:00\",\r\n    \"amount\": 0.23,\r\n    \"unit_measure_id\": 3,\r\n    \"crop_id\": 1304,\r\n    \"cas\":\"7440-23-5\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Nov 2023 14:23:57 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"119"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5391,\n    \"crop_id\": 1304,\n    \"applied_to\": \"2023-05-12 18:04:25+00:00\",\n    \"amount\": 0.23,\n    \"unit_measure_id\": 3,\n    \"cas\": \"7440-23-5\"\n}"}],"_postman_id":"d8779ad7-22a1-43c2-999d-7760d9b85ff2"},{"name":"Add application batch","id":"38e9a80f-ea22-4707-82c8-3d11d53acc5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n            \"amount\": 0.23,\r\n            \"unit_measure_id\": 3,\r\n            \"crop_id\": 3,\r\n            \"cas\": \"7440-23-5\"\r\n        },\r\n        {\r\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n            \"amount\": 0.16,\r\n            \"unit_measure_id\": 3,\r\n            \"crop_id\": 3,\r\n            \"cas\": \"7440-09-7\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application","description":"<p>Same functionality as \"Add application\". This request covers applications where multiple active ingredients are within the application.</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter active ingredients using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/active_ingredient/application'\">https://test-data-driven.globalgap.org/active_ingredient/application'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application</a></p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","active_ingredient_application"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d0ab790d-0faf-4573-981e-56f04f9851d2","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n            \"description\": \"Description of application\",\r\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n            \"amount\": 0.2,\r\n            \"unit_measure_id\": 3,\r\n            \"crop_id\": 3,\r\n            \"cas\":\"7440-23-5\"\r\n        },\r\n        {\r\n            \"description\": \"Description of application\",\r\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n            \"amount\": 1,\r\n            \"unit_measure_id\": 3,\r\n            \"crop_id\": 3,\r\n            \"cas\":\"7440-09-7\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/active_ingredient/application"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\":13,\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\n            \"amount\": 0.2,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 3,\n            \"cas\":\"7440-23-5\"\n        },\n        {\n            \"id\":14,\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\n            \"amount\": 1,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 3,\n            \"cas\":\"7440-09-7\"\n        }\n    ]\n}"}],"_postman_id":"38e9a80f-ea22-4707-82c8-3d11d53acc5a"},{"name":"Delete application","id":"63db3dde-2029-451e-8855-859fd6509aa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application/application/:id","description":"<p>Delete active ingredient application to a crop</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","active_ingredient_application","application",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"10806791-713c-4f4e-80c6-b7b9a25d8500","description":{"content":"<p>Active ingredient application identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"cd6d2178-d581-45c4-8fb1-d8bc0c8987a3","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/active_ingredient/application/:id","host":["{{url}}"],"path":["active_ingredient","application",":id"],"variable":[{"key":"id","value":"234","description":"Active ingredient application identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"63db3dde-2029-451e-8855-859fd6509aa2"},{"name":"Modify application","id":"5fb6f06b-908a-4e99-b53a-d37e955fa4d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n    \"amount\": 0.2,\r\n    \"unit_measure_id\": 3,\r\n    \"crop_id\": 3,\r\n    \"cas\":\"7440-23-5\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application/:id","description":"<p>Modify the active ingredient application data</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","active_ingredient_application",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"82095e90-7f6f-4ef7-a984-f24794e59348","description":{"content":"<p>Active ingredient application identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"c17ac0c7-0372-408b-b82f-9bc13263cb76","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 0.5\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/active_ingredient/application/:id","host":["{{url}}"],"path":["active_ingredient","application",":id"],"variable":[{"key":"id","value":"45632"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\":45632,\r\n    \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n    \"amount\": 0.5,\r\n    \"unit_measure_id\": 3,\r\n    \"crop_id\": 3,\r\n    \"cas\":\"7440-23-5\"\r\n}"}],"_postman_id":"5fb6f06b-908a-4e99-b53a-d37e955fa4d0"}],"id":"86600bea-4d8a-401c-9907-d3a62d86c58a","description":"<p>Submodule to carry out all the actions of the active ingredients applications in crops.</p>\n","event":[{"listen":"prerequest","script":{"id":"f7ecb5ed-a5fd-4c18-b1d9-ee73b4ee5a4c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"79ec309f-b573-40be-a681-7c13691551fc","type":"text/javascript","exec":[""]}}],"_postman_id":"86600bea-4d8a-401c-9907-d3a62d86c58a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"a58d627d-c4b7-459e-afc2-7b9da010ddb3","description":"<p>Module to manage the active ingredients and their applications. Actual active ingredient inputs should be transferred via the Impact-Driven API. At this stage, the the plant protection product (commercial name) used is not required to be transferred via the API.</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter active ingredients using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/active_ingredient/application'\">https://test-data-driven.globalgap.org/active_ingredient/application'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application'\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/active_ingredient_application'</a></p>\n","event":[{"listen":"prerequest","script":{"id":"79fb9598-613c-4770-bf4a-68a9a47fc34f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"282de2d1-29cf-487f-8750-5eab0b767f7d","type":"text/javascript","exec":[""]}}],"_postman_id":"a58d627d-c4b7-459e-afc2-7b9da010ddb3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Fertilizers","item":[{"name":"Application","item":[{"name":"List fertilizers applications","id":"4bd08bda-3f94-4de7-91c6-da1847415946","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of fertilisers application you’ve previously created. The fertilisers application are returned in sorted order.</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","fertilizer_applications"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"ce8e306f-2f9a-4813-8bb3-5c8654888b1a","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"}],"url":{"raw":"{{url}}/fertilizers/application?limit=2","host":["{{url}}"],"path":["fertilizers","application"],"query":[{"key":"limit","value":"2","description":"The number of items to list in the response. Default 10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"description\":\"Description of application 1\",\n         \"applied_to\":\"2020-05-12T18:04:25+00:00\",\n         \"amount\":0.55,\n         \"unit_measure_id\":3,\n         \"crop_id\":1,\n         \"fertilizer_id\":17\n      },\n      {\n         \"id\":2,\n         \"description\":\"Description of application 2\",\n         \"applied_to\":\"2020-05-16T18:45:25+00:00\",\n         \"amount\":0.20,\n         \"unit_measure_id\":3,\n         \"crop_id\":1,\n         \"fertilizer_id\":3\n      }\n   ],\n   \"total\": 3\n}"},{"id":"15a46bfc-8da7-4994-9e26-e16ea2a80bcb","name":"List fertilizers applications","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"data-driven.globalgap.org/fertilizers/application?limit=&offset=&sort_by=&sort_order=","host":["data-driven","globalgap","org"],"path":["fertilizers","application"],"query":[{"key":"limit","value":"","description":"The number of items to list in the response. Default 100"},{"key":"offset","value":"","description":"The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0"},{"key":"sort_by","value":"","description":"Sort the items by a field"},{"key":"sort_order","value":"","description":"Sorts the list in the response in descending/ascending order. Default ASC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 13:55:49 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"16354"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 13324,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.2,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13325,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.14,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13326,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.56,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13327,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.14,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13328,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13329,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.2,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13330,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.14,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13331,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.56,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13332,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.14,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13333,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13334,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.3,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13335,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.21,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13336,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.84,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13337,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.22,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13338,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13339,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 3.44,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13340,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 2.4,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13341,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 9.49,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13342,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 2.45,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13343,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.73,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13344,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.2,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13345,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.14,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13346,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.56,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13347,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.14,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13348,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13349,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.3,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13350,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.21,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13351,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.84,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13352,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.22,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13353,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13354,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.1,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13355,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.07,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13356,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.28,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13357,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.07,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13358,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.02,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13359,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.3,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 844,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13360,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.21,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 844,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13361,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.84,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 844,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13362,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.22,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 844,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13363,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 844,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13364,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.05,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 932,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13365,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.03,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 932,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13366,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.13,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 932,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13367,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 932,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13368,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.01,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 932,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13369,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.05,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 858,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13370,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.03,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 858,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13371,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.13,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 858,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13372,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 858,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13373,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.01,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 858,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13374,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.05,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 929,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13375,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.03,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 929,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13376,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.13,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 929,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13377,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 929,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13378,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.01,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 929,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13379,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.3,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 927,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13380,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.21,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 927,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13381,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.84,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 927,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13382,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.22,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 927,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13383,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-12T07:49:00Z\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 927,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13384,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.27,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13385,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.19,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13386,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.74,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13387,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.19,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13388,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 930,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13389,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.27,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13390,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.19,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13391,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.74,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13392,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.19,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13393,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 822,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13394,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.18,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 928,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13395,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.12,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 928,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13396,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.49,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 928,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13397,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.13,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 928,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13398,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 928,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13399,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.18,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13400,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.12,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13401,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.49,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13402,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.13,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13403,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 848,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13404,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 3.03,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13405,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 2.12,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13406,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 8.35,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13407,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 2.16,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13408,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.65,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 838,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13409,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.18,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13410,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.12,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13411,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.49,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13412,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.13,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13413,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 857,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13414,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.09,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13415,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13416,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.25,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13417,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.06,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13418,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.02,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 830,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13419,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.18,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13420,\n            \"description\": \"Kristalon Scarlet 7.5+12+36(+4+4)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.12,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 13421,\n            \"description\": \"Kalksalpeter 15.5+0+0\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.49,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13422,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.13,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 1\n        },\n        {\n            \"id\": 13423,\n            \"description\": \"Kristalon Azur Spec 16+11+16 (+4+5)\",\n            \"applied_to\": \"2021-02-20T05:43:14Z\",\n            \"amount\": 0.04,\n            \"unit_measure_id\": 3,\n            \"crop_id\": 824,\n            \"fertilizer_id\": 2\n        }\n    ],\n    \"total\": 7623\n}"}],"_postman_id":"4bd08bda-3f94-4de7-91c6-da1847415946"},{"name":"Get fertilizer application","id":"aee41fa3-20a7-4fbd-a048-ee20870c1693","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications/:id","description":"<p>Get data the fertilizer application in a crop</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","fertilizer_applications",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"31bb8b50-8d44-449f-8efa-c2387350a833","description":{"content":"<p>Fertilizer application identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"0828c4e8-889c-41ca-8c1f-79aef78d64e0","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"}],"url":{"raw":"{{url}}/fertilizers/application/:id","host":["{{url}}"],"path":["fertilizers","application",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"description\": \"Description of application\",\n    \"applied_to\": \"2020-05-12T18:04:25+00:00\",\n    \"amount\": 0.55,\n    \"unit_measure_id\": 3,\n    \"crop_id\": 1,\n    \"fertilizer_id\": 1\n}"}],"_postman_id":"aee41fa3-20a7-4fbd-a048-ee20870c1693"},{"name":"Add fertilizer application","id":"28e01453-972b-4c12-b14b-9711649a1a0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Description of application\",\r\n    \"applied_to\": \"2023-05-12T18:04:25+00:00\",\r\n    \"amount\": 1.23,\r\n    \"unit_measure_id\":3,\r\n    \"crop_id\": 1304,\r\n    \"fertilizer_id\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Description</td>\n<td>Description of the application (free text field)</td>\n</tr>\n<tr>\n<td>Applied to</td>\n<td>Time of application</td>\n</tr>\n<tr>\n<td>Amount</td>\n<td>Amount of <strong>nitrogen or phosphorus</strong> in the application</td>\n</tr>\n<tr>\n<td>Unit measure id</td>\n<td>Amount of nitrogen or phosphorus applied to be given in kg (id: 3)</td>\n</tr>\n<tr>\n<td>Crop id</td>\n<td>Id of the crop where application took place. Crop must be created before applications can be saved</td>\n</tr>\n<tr>\n<td>Fertilizer id</td>\n<td>To indicate whether nitrogen or phosphorus was applied</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"zero-fertilizer-application\">Zero Fertilizer application</h3>\n<p>Fertilizer id to represent zero application of fertilizers is 5. Descriptions should state \"no_applications\". There must be crop_id on to which zero application is referenced to. Since the date should indicate for which month there has been no fertilizer applied, ‘applied_to’ should take the last date of the month for which this recording is being made.<br />Example of sample json request is<br />{<br />\"description\": \"no_applications\",<br />\"applied_to\": \"2021-05-31T18:04:25+00:00\",<br />\"amount\": 0,<br />\"unit_measure_id\":3,<br />\"crop_id\": 999,<br />\"fertilizer_id\": 5<br />}</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter fertilizer application using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/active_ingredient/application'\">https://test-data-driven.globalgap.org/fertilizers/application'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications</a>'</p>\n","urlObject":{"protocol":"https","path":["ida_fo_v1.0","flower_and_ornamentals","fertilizer_applications"],"host":["test-data-driven","globalgap","org"],"query":[],"variable":[]}},"response":[{"id":"98a786b6-061b-45f7-9dc8-bd466038c9f3","name":"Add fertilizer application","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Description of application\",\r\n    \"applied_to\": \"2023-05-12T18:04:25+00:00\",\r\n    \"amount\": 1.23,\r\n    \"unit_measure_id\":3,\r\n    \"crop_id\": 1304,\r\n    \"fertilizer_id\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Nov 2023 10:34:56 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"162"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5393,\n    \"crop_id\": 1304,\n    \"applied_to\": \"2023-05-12 18:04:25+00:00\",\n    \"amount\": 1.23,\n    \"unit_measure_id\": 3,\n    \"fertilizer_id\": 2,\n    \"description\": \"Description of application\"\n}"}],"_postman_id":"28e01453-972b-4c12-b14b-9711649a1a0e"},{"name":"Add fertilizer application by batch","id":"af5944fb-8eca-454e-9574-528107eccc20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n            \"description\": \"Description of application\",\r\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n            \"amount\": 1.23,\r\n            \"unit_measure_id\":3,\r\n            \"crop_id\": 43,\r\n            \"fertilizer_id\": 2\r\n        },\r\n        {\r\n            \"description\": \"Description of application\",\r\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n            \"amount\": 5.23,\r\n            \"unit_measure_id\":3,\r\n            \"crop_id\": 43,\r\n            \"fertilizer_id\": 13\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications","description":"<p>Same functionality as \"Add fertilizer application\". This request covers applications where both nitrogen and phosphorus are within the application.</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter active ingredients using the old API calls requires adjusting the urls from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/active_ingredient/application'\">https://test-data-driven.globalgap.org/fertilizers/application'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications</a>'</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","fertilizer_applications"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4014b14b-a1b5-400d-be06-058bfe9adea2","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"data\": [\r\n        {\r\n            \"description\": \"Description of application\",\r\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n            \"amount\": 1.23,\r\n            \"unit_measure_id\":3,\r\n            \"crop_id\": 3,\r\n            \"fertilizer_id\": 2\r\n        },\r\n        {\r\n            \"description\": \"Description of application\",\r\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n            \"amount\": 3.23,\r\n            \"unit_measure_id\":3,\r\n            \"crop_id\": 3,\r\n            \"fertilizer_id\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/fertilizers/application"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 22,\n            \"description\": \"Description of application\",\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\n            \"amount\": 1.23,\n            \"unit_measure_id\":3,\n            \"crop_id\": 3,\n            \"fertilizer_id\": 2\n        },\n        {\n            \"id\": 23,\n            \"description\": \"Description of application\",\n            \"applied_to\": \"2020-05-12T18:04:25+00:00\",\n            \"amount\": 3.23,\n            \"unit_measure_id\":3,\n            \"crop_id\": 3,\n            \"fertilizer_id\": 3\n        }\n    ]\n}"}],"_postman_id":"af5944fb-8eca-454e-9574-528107eccc20"},{"name":"Delete fertilizer application","id":"00167576-9d0b-444e-a629-a2a1de0131b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications/:id","description":"<p>Delete fertilizer application to a crop</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","fertilizer_applications",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"0bf2a7be-176f-4619-aa54-5bd740b848cd","description":{"content":"<p>Fertilizer application identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"52de686e-5e1e-4aa6-81e7-5909abcd378b","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/fertilizers/application/:id","host":["{{url}}"],"path":["fertilizers","application",":id"],"variable":[{"key":"id","value":"45","description":"Fertilizer application identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"00167576-9d0b-444e-a629-a2a1de0131b9"},{"name":"Modify fertilizer application","id":"ef0622ab-3ed1-46da-9465-24a9ca9d02f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Description Test\",\r\n    \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n    \"amount\": 1.23,\r\n    \"unit_measure_id\":3,\r\n    \"crop_id\": 53,\r\n    \"fertilizer_id\": 72\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications/:id","description":"<p>Modify the fertilizer application data</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","fertilizer_applications",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"74037315-08ca-4854-a518-e01b6da96aa6","description":{"content":"<p>Fertilizer application identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"d133baea-028a-48a8-8d6c-35418387cb47","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Description of application\",\r\n    \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n    \"amount\": 1.23,\r\n    \"unit_measure_id\":9,\r\n    \"crop_id\": 3,\r\n    \"fertilizer_id\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/fertilizers/application/:id","host":["{{url}}"],"path":["fertilizers","application",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\":1,\r\n    \"description\": \"Description of application\",\r\n    \"applied_to\": \"2020-05-12T18:04:25+00:00\",\r\n    \"amount\": 1.23,\r\n    \"unit_measure_id\":3,\r\n    \"crop_id\": 3,\r\n    \"fertilizer_id\": 3\r\n}"}],"_postman_id":"ef0622ab-3ed1-46da-9465-24a9ca9d02f5"}],"id":"73e73d55-fb6d-4e63-8ace-288aca7a9a3c","description":"<p>Submodule to carry out all the actions of the fertilizers applications in crops.</p>\n","_postman_id":"73e73d55-fb6d-4e63-8ace-288aca7a9a3c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"List the fertilizers","id":"600c1c6f-532e-4651-8b05-32bc6e6f4eb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/fertilizers?limit=&offset=&sort_by=&sort_order=","description":"<p>Will return the list of fertilizers to be used when posting fertilizer applications. Currently, the API will return two fertilizers: nitrogen &amp; phosphorus</p>\n","urlObject":{"path":["fertilizers"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"3883e94b-c022-4313-949f-7b4717d66c05","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"}],"url":{"raw":"{{url}}/fertilizers?limit=2","host":["{{url}}"],"path":["fertilizers"],"query":[{"key":"limit","value":"2","description":"The number of items to list in the response. Default 100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Fertilizer 1\",\n         \"description\":\"Description fertilizer 1\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Fertilizer 2\",\n         \"description\":\"Description fertilizer 2\"\n      }\n   ],\n   \"total\": 3\n}"}],"_postman_id":"600c1c6f-532e-4651-8b05-32bc6e6f4eb4"},{"name":"Get fertilizer","id":"b06bd049-d586-4a90-8103-1473473cc399","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/fertilizers/:id","description":"<p>Get individual fertilizer</p>\n","urlObject":{"path":["fertilizers",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"73be8e16-9c18-4dfe-90e3-1a95f56e2c62","description":{"content":"<p>Fertilizer indentificator</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"4de9e965-7828-4eaa-8944-4791678558cc","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"}],"url":{"raw":"{{url}}/fertilizers/:id","host":["{{url}}"],"path":["fertilizers",":id"],"variable":[{"key":"id","value":"1","description":"Fertilizer indentificator"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Fertilizer\",\n    \"description\": \"Description fertilizer\"\n}"}],"_postman_id":"b06bd049-d586-4a90-8103-1473473cc399"}],"id":"50849b69-5a82-4d99-8aa2-e37aaea5ba51","description":"<p>Module to manage the fertilizers and their applications</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter fertilizer application using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/active_ingredient/application'\">https://test-data-driven.globalgap.org/fertilizers/application'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/fertilizer_applications</a>'</p>\n","_postman_id":"50849b69-5a82-4d99-8aa2-e37aaea5ba51","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Water","item":[{"name":"Use","item":[{"name":"List the water use","id":"32bf4227-618b-4c80-b239-747bcd357576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/water_use?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of water use you’ve previously created. The water use are returned in sorted order.</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","water_use"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"c7d3e5f6-1ce0-4d26-9346-b1ad61b7393e","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/water/use?limit=2","host":["{{url}}"],"path":["water","use"],"query":[{"key":"limit","value":"2","description":"The number of items to list in the response. Default 100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"description\":\"Taken from water meter 23Q\",\n         \"registered_at\":\"2020-05-12T18:04:25+00:00\",\n         \"total_amount\":125.55,\n         \"public_source\":0,\n         \"unit_measure_id\":4,\n         \"crop_id\":1\n      },\n      {\n         \"id\":2,\n         \"description\":\"Taken from water meter 23F (general site)\",\n         \"registered_at\":\"2020-05-16T18:45:25+00:00\",\n         \"total_amount\":34.20,\n         \"public_source\":11,\n         \"unit_measure_id\":4,\n         \"site_id\":2\n      }\n   ],\n   \"total\":467\n}"}],"_postman_id":"32bf4227-618b-4c80-b239-747bcd357576"},{"name":"Get water use","id":"b8c87214-0d8c-4280-ba67-24a37b9d29bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/water_use/:id","description":"<p>Get data the water use in a crop</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","water_use",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"79b39306-fba8-4f74-83e1-0cd3ee59244f","description":{"content":"<p>Water use identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"44339514-fb42-45c9-b39e-0c870aa19721","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/water/use/:id","host":["{{url}}"],"path":["water","use",":id"],"variable":[{"key":"id","value":"77","description":"Water use identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":77,\n   \"description\":\"Taken from water meter 23-afQ\",\n   \"registered_at\":\"2020-05-12T18:04:25+00:00\",\n   \"total_amount\":105.55,\n   \"public_source\":40,\n   \"unit_measure_id\":4,\n   \"crop_id\":67\n}"}],"_postman_id":"b8c87214-0d8c-4280-ba67-24a37b9d29bf"},{"name":"Add water use","id":"2f236bd8-bd7d-469b-a86f-046e537b3ad1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"description\":\"Taken from water meter 23-afQ\",\r\n   \"registered_at\":\"2023-05-12T18:04:25+00:00\",\r\n   \"total_amount\":105.55,\r\n   \"public_source\":40,\r\n   \"unit_measure_id\":4,\r\n   \"crop_id\":1304\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/water_use","description":"<p>Add new water use to a <strong>crop or site</strong>. Depending on accuracy of water use records, irrigation activities can be tied to a crop or site. If both crop and site are used, the water use event will be logged to the crop.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Description</td>\n<td>Description of the water use (open text field)</td>\n</tr>\n<tr>\n<td>Registered at</td>\n<td>Time of water application</td>\n</tr>\n<tr>\n<td>Total amount</td>\n<td>How much water was applied</td>\n</tr>\n<tr>\n<td>Public source</td>\n<td>Amount of water extracted from a public source</td>\n</tr>\n<tr>\n<td>Unit measure id</td>\n<td>The unit to convey water use shall be cubic meters (id 4)</td>\n</tr>\n<tr>\n<td>Crop id</td>\n<td>To which crop the water was applied to. When the water use event cannot be tracked to a specific crop, site id can also be used to track the water use to a specific site.</td>\n</tr>\n<tr>\n<td>Site id</td>\n<td>To which site the water was applied to. Site id can be used when water use cannot be recorded to a specific crop.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"zero-water-usage\">Zero Water Usage</h3>\n<p>To record zero water usage, total_amount shall be 0. Descriptions should state \"no_applications\". There must be crop_id or<br />site_id on which this no water usage is referenced to. Since the date should indicate for which month there has been no water usage, ‘‘registered_at’ should take the last date of the month for which this recording is being made. Example of sample json request is { \"description\": \"no_applications\", \"‘registered_at\": \"2021-05-31T18:04:25+00:00\", \"total_amount\": 0, \"public_source\":0,<br />\"unit_measure_id\":4,<br />\"crop_id\" OR “site_id”:999<br />}</p>\n<p>Please note that when total_amount is 0, it does not matter what is entered in public_source.<br />Public_source will be automatically taken as 0 by the system.</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter water use using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/water/use\">https://test-data-driven.globalgap.org/water/use'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/water_use\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/water_use</a>'</p>\n","urlObject":{"protocol":"https","path":["ida_fo_v1.0","flower_and_ornamentals","water_use"],"host":["test-data-driven","globalgap","org"],"query":[],"variable":[]}},"response":[{"id":"50ca5d25-b065-423e-8269-bffe6cfd1958","name":"Add water use","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n   \"description\":\"Taken from water meter 23-afQ\",\r\n   \"registered_at\":\"2023-05-12T18:04:25+00:00\",\r\n   \"total_amount\":105.55,\r\n   \"public_source\":40,\r\n   \"unit_measure_id\":4,\r\n   \"crop_id\":1304\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/water_use"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Nov 2023 10:40:39 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"194"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5394,\n    \"crop_id\": 1304,\n    \"site_id\": null,\n    \"description\": \"Taken from water meter 23-afQ\",\n    \"registered_at\": \"2023-05-12 18:04:25+00:00\",\n    \"total_amount\": 105.55,\n    \"public_source\": 40,\n    \"unit_measure_id\": 4\n}"}],"_postman_id":"2f236bd8-bd7d-469b-a86f-046e537b3ad1"},{"name":"Delete water use","id":"40609cfc-0f32-474d-9f9c-9e6145d47a90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/water_use/:id","description":"<p>Delete water use to a crop</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","water_use",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"2f6b0def-ce62-4b77-aeda-accb4526ba4d","description":{"content":"<p>Water use identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"c95f13e7-d19e-4858-83c5-9a6df12f3c34","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/water/use/:id","host":["{{url}}"],"path":["water","use",":id"],"variable":[{"key":"id","value":"88","description":"Water use identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"40609cfc-0f32-474d-9f9c-9e6145d47a90"},{"name":"Modify water use","id":"ad285243-74bf-4d13-8789-9488aca71425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Taken from water meter 23Q\",\r\n    \"registered_at\":\"2020-05-12T18:04:25+00:00\",\r\n    \"total_amount\":125.55,\r\n    \"public_source\":10,\r\n    \"unit_measure_id\":4,\r\n    \"crop_id\":1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/water_use/:id","description":"<p>Modify the water use data</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","water_use",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"fab3ef36-0e67-4821-9696-99561ef12592","description":{"content":"<p>Water use identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"fe04314d-1dfb-4a15-a267-f54af49a88bf","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"public_source\":50\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/water/use/:id","host":["{{url}}"],"path":["water","use",":id"],"variable":[{"key":"id","value":"23","description":"Water use identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\":23,\r\n    \"description\":\"Taken from water meter 23Q\",\r\n    \"registered_at\":\"2020-05-12T18:04:25+00:00\",\r\n    \"total_amount\":125.55,\r\n    \"public_source\":50,\r\n    \"unit_measure_id\":4,\r\n    \"crop_id\":1\r\n}"}],"_postman_id":"ad285243-74bf-4d13-8789-9488aca71425"}],"id":"a290a40d-dff2-42ad-9931-605dba758a4d","description":"<p>Module to manage the water uses in the crops</p>\n","_postman_id":"a290a40d-dff2-42ad-9931-605dba758a4d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"2be736cc-fae6-4d0f-b238-5e3fc5341dbf","description":"<p>Module to post eater use at the crop or site level. Concerns all water use that can be recorded. Covers also water extracted from a public source vs a non-public source.</p>\n<h1 id=\"required-changes\">Required Changes</h1>\n<p>To enter water use using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/water/use\">https://test-data-driven.globalgap.org/water/use'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/water_use\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/water_use</a>'</p>\n","event":[{"listen":"prerequest","script":{"id":"b25eae65-9b4d-44df-aadf-1928b0c0c422","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b3f5805d-b07c-454c-a605-82e3e5e5ebea","type":"text/javascript","exec":[""]}}],"_postman_id":"2be736cc-fae6-4d0f-b238-5e3fc5341dbf","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Energy","item":[{"name":"Source","item":[{"name":"List the energies sources","id":"dc349780-7166-4c8e-b0f4-1280465be64b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/energy/source?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of energies sources you’ve previously loaded. The energies sources are returned in sorted order.</p>\n","urlObject":{"path":["energy","source"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"415eee58-4fa2-4d6b-8434-4934fb19ed0b","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/energy/source?limit=2","host":["{{url}}"],"path":["energy","source"],"query":[{"key":"limit","value":"2","description":"The number of items to list in the response. Default 100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Diesel\",\n            \"description\": \"Diesel\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Natural gas\",\n            \"description\": \"Natural gas\"\n        }\n    ],\n    \"total\": 3\n}"}],"_postman_id":"dc349780-7166-4c8e-b0f4-1280465be64b"},{"name":"Get energy source","id":"7720087c-d768-4fb5-a6e8-fbd91fb57468","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/energy/source/:id","description":"<p>Get the energy source</p>\n","urlObject":{"path":["energy","source",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"e4cdb30c-9664-4de0-9ea3-5c7853cc5035","description":{"content":"<p>Energy source identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"b23d70cb-43f0-47df-acd6-9adf64e1cb35","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/energy/source/:id","host":["{{url}}"],"path":["energy","source",":id"],"variable":[{"key":"id","value":"55","description":"Energy source identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"source\": {\n        \"id\": 2,\n        \"name\": \"Diesel\",\n        \"description\": \"Diesel\"\n    }\n}"}],"_postman_id":"7720087c-d768-4fb5-a6e8-fbd91fb57468"}],"id":"5b3e0da1-50a7-429c-a8b2-96524793947a","description":"<p>Module to manage the energy sources</p>\n","_postman_id":"5b3e0da1-50a7-429c-a8b2-96524793947a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Use","item":[{"name":"List the energies use","id":"a3ff4eb0-0d68-4793-957b-83502075dbc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/energy_use?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of energies use you’ve previously created. The energies use are returned in sorted order.</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","energy_use"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"42e6afa6-b0ac-4f97-baec-ca693e41eec2","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/energy/use?limit=2","host":["{{url}}"],"path":["energy","use"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"description\":\"Take from generator 1\",\n         \"registered_at\":\"2020-05-12T18:04:25+00:00\",\n         \"amount\":125.55,\n         \"renewable_amount\": 0,\n         \"unit_measure_id\":5,\n         \"crop_id\":1,\n         \"source_id\":1\n      },\n      {\n         \"id\":2,\n         \"description\":\"Take from generator 1\",\n         \"registered_at\":\"2020-05-16T18:45:25+00:00\",\n         \"amount\":34.20,\n         \"renewable_amount\": 0,\n         \"unit_measure_id\":5,\n         \"site_id\":2,\n         \"source_id\":1\n      }\n   ],\n   \"total\":3\n}"}],"_postman_id":"a3ff4eb0-0d68-4793-957b-83502075dbc2"},{"name":"Get energy use","id":"e418f7b9-c613-40d4-a5bf-d64c98612598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/energy_use/:id","description":"<p>Get the energy use</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","energy_use",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"0a2a25f7-5bb7-408e-be12-7bb6d714b4ec","description":{"content":"<p>Energy use identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"f1829ff6-44ec-4a82-8580-c01f6bfdbfd2","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/energy/use/:id","host":["{{url}}"],"path":["energy","use",":id"],"variable":[{"key":"id","value":"55"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":5,\n   \"description\":\"Take from generator 55\",\n   \"registered_at\":\"2020-05-12T18:04:25+00:00\",\n   \"amount\":125.55,\n   \"renewable_amount\": 0,\n   \"unit_measure_id\":5,\n   \"crop_id\":1,\n   \"source_id\":1\n}"}],"_postman_id":"e418f7b9-c613-40d4-a5bf-d64c98612598"},{"name":"Add energy use","id":"f5bc1aac-886e-463b-9289-dbae3da5a7a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Take from generator 1\",\r\n    \"registered_at\":\"2023-05-12T18:04:25+00:00\",\r\n    \"amount\":125.55,\r\n    \"renewable_amount\": 0,\r\n    \"unit_measure_id\":5,\r\n    \"crop_id\":1304,\r\n    \"source_id\":1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/energy_use","description":"<p>Add new energy use to a <strong>crop or site</strong>. Depending on accuracy of energy use records, energy consumption can be tied to a crop or site. If both crop and site are used, the energy consumption will be logged to the crop.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data point</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Description</td>\n<td>Description of energy use (free text field)</td>\n</tr>\n<tr>\n<td>Registered at</td>\n<td>Time of when energy was consumed</td>\n</tr>\n<tr>\n<td>Amount</td>\n<td>The amount of energy consumed</td>\n</tr>\n<tr>\n<td>Renewable amount</td>\n<td>To register how much of the energy consumed is from a renewable resource (e.g. when electricity bill consists of multiple energy sources)</td>\n</tr>\n<tr>\n<td>Unit measure id</td>\n<td>The unit should be kWh (id: 5)</td>\n</tr>\n<tr>\n<td>Crop id</td>\n<td>Which crop the energy consumption concerns. Whe the energy use event cannot be tracked to a specific crop, site id can also be used to track the energy use to a specific site.</td>\n</tr>\n<tr>\n<td>Site id</td>\n<td>Which site the energy consumption concerns. Site id can be used when energy use cannot be recorded to a specific crop.</td>\n</tr>\n<tr>\n<td>Source id</td>\n<td>The source of energy</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"zero-energy-usage\">Zero Energy usage</h3>\n<p>To record zero energy usage, amount should be 0. Descriptions should state \"no_applications\". There must be crop_id or site_id on which this no energy usage is referenced to. Since the date should indicate for which month there has been no water usage, ‘‘registered_at’ should take the last date of the month for which this recording is being made. Example of sample json request is { \"description\": \"no_applications\", \"‘registered_at\": \"2021-05-31T18:04:25+00:00\", \"amount\":0,<br />\"renewable_amount\": 0,<br />\"unit_measure_id\":5,<br />\"crop_id\" OR “site_id”:999,<br />\"source_id\":15<br />}</p>\n<p>Please also note that when amount is 0, it does not matter what is entered in<br />renewable_amount because renwable_amount will be automatically taken as 0 by the system.</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter energy use using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/water/use\">https://test-data-driven.globalgap.org/energy/use'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/energy_use'\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/energy_use'</a></p>\n","urlObject":{"protocol":"https","path":["ida_fo_v1.0","flower_and_ornamentals","energy_use"],"host":["test-data-driven","globalgap","org"],"query":[],"variable":[]}},"response":[{"id":"9513f3c7-cbbb-4e8a-afc1-384022008c52","name":"Add energy use","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Take from generator 1\",\r\n    \"registered_at\":\"2023-05-12T18:04:25+00:00\",\r\n    \"amount\":125.55,\r\n    \"renewable_amount\": 0,\r\n    \"unit_measure_id\":5,\r\n    \"crop_id\":1304,\r\n    \"source_id\":1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/energy_use"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Nov 2023 10:55:33 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"Access-Control-Max-Age","value":"1000"},{"key":"Access-Control-Allow-Headers","value":"X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, DELETE, PUT"},{"key":"Content-Length","value":"196"},{"key":"Vary","value":"Accept,Origin"},{"key":"Allow","value":"GET, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5395,\n    \"crop_id\": 1304,\n    \"site_id\": null,\n    \"description\": \"Take from generator 1\",\n    \"amount\": 125.55,\n    \"renewable_amount\": 0,\n    \"registered_at\": \"2023-05-12 18:04:25+00:00\",\n    \"unit_measure_id\": 5,\n    \"source_id\": 1\n}"}],"_postman_id":"f5bc1aac-886e-463b-9289-dbae3da5a7a5"},{"name":"Delete energy use","id":"36d843c3-928c-4482-bd88-d80875f2c858","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/energy_use/:id","description":"<p>Delete energy use to a crop</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","energy_use",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"1c0e79ca-9f28-4d3a-9e97-ac05ab5aec19","description":{"content":"<p>Energy use identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"5dcb272f-858c-49c5-a77f-1d7087fd0380","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/energy/use/:id","host":["{{url}}"],"path":["energy","use",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"36d843c3-928c-4482-bd88-d80875f2c858"},{"name":"Modify energy use","id":"f0bce757-51fe-4599-952b-80911f9bb0bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Take from generator 1\",\r\n    \"registered_at\":\"2020-05-12T18:04:25+00:00\",\r\n    \"amount\":125.55,\r\n    \"renewable_amount\": 0,\r\n    \"unit_measure_id\":5,\r\n    \"crop_id\":1,\r\n    \"source_id\":1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/ida_fo_v1.0/flower_and_ornamentals/energy_use/:id","description":"<p>Modify the energy use data</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","energy_use",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"1c1f4d21-2f32-4e40-bad7-1cc25fa022b1","description":{"content":"<p>Energy use identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"cea401e1-e47a-45d8-af1b-9f99c26f2534","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"description\":\"Take from generator 1\",\r\n    \"public_source\":55\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/energy/use/:id","host":["{{url}}"],"path":["energy","use",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\":1,\r\n    \"description\":\"Take from generator 1\",\r\n    \"registered_at\":\"2020-05-12T18:04:25+00:00\",\r\n    \"amount\":125.55,\r\n    \"renewable_amount\": 0,\r\n    \"public_source\":55,\r\n    \"unit_measure_id\":5,\r\n    \"crop_id\":1,\r\n    \"source_id\":2\r\n}"}],"_postman_id":"f0bce757-51fe-4599-952b-80911f9bb0bd"}],"id":"547f80e6-55ac-4e28-a4d5-a5e947bde914","description":"<p>Module to manage the energies used in the crops</p>\n<h1 id=\"required-changes\">Required Changes</h1>\n<p>To enter energy use using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/water/use\">https://test-data-driven.globalgap.org/energy/use'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/energy_use'\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/energy_use'</a></p>\n","event":[{"listen":"prerequest","script":{"id":"0d134614-1679-4abf-a939-e7f5fbcbc39e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8504e515-9cc4-4e5d-afa9-ff41884c37ae","type":"text/javascript","exec":[""]}}],"_postman_id":"547f80e6-55ac-4e28-a4d5-a5e947bde914","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"76b67511-57af-4889-bbbc-041d0f7b92fd","description":"<p>Module to post energy use at the crop or site level. Concerns all energy use that can be recorded. See \"Source\" for different energy sources covered by the Impact-Driven API.</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p>To enter energy use using the old API calls requires adjusting the url from:</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/water/use\">https://test-data-driven.globalgap.org/energy/use'</a> to</p>\n<p>'<a href=\"https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/energy_use'\">https://test-data-driven.globalgap.org/ida_fo_v1.0/flower_and_ornamentals/energy_use'</a></p>\n","event":[{"listen":"prerequest","script":{"id":"0717d141-0d1a-4bcd-bd4a-136a6328e756","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"76651f59-89f9-4692-aa6f-1a45fb775b2e","type":"text/javascript","exec":[""]}}],"_postman_id":"76b67511-57af-4889-bbbc-041d0f7b92fd","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Product","item":[{"name":"Category","item":[{"name":"List the product categories","id":"4490522b-4729-49f4-8c2a-24af067800fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/product/category?limit=&offset=&sort_by=&sort_order=","description":"<p>Returns a list of product categories you’ve previously loaded. The product categoriess are returned in sorted order.</p>\n","urlObject":{"path":["product","category"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of items to list in the response. Default 100</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>The query parameter offset allows you to specify the ranking number of the first item on the page.  Default 0</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>Sort the items by a field</p>\n","type":"text/plain"},"key":"sort_by","value":""},{"description":{"content":"<p>Sorts the list in the response in descending/ascending order. Default ASC</p>\n","type":"text/plain"},"key":"sort_order","value":""}],"variable":[]}},"response":[{"id":"d961fb16-e0c4-41e5-96d3-092e6c050c4a","name":"OK","originalRequest":{"method":"GET","header":[{"description":"JSON Web Token","key":"Authorization","type":"text","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/product/category?limit=2","host":["{{url}}"],"path":["product","category"],"query":[{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"data\":\n   [\n      {\n         \"id\":1,\n         \"name\":\"Category 1\",\n         \"description\":\"Description 1\",\n         \"supra_category\":\"Supra 1\"\n      },\n      {\n         \"id\":2,\n         \"name\":\"Category 2\",\n         \"description\":\"Description 2\",\n         \"supra_category\":\"Supra 2\"\n      }\n   ],\n   \"total\":3\n}"}],"_postman_id":"4490522b-4729-49f4-8c2a-24af067800fd"},{"name":"Get product category","id":"d0c54080-f767-4823-811a-b508877d9b5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/product/category/:id","description":"<p>Get an individual product category based on id.</p>\n","urlObject":{"path":["product","category",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"c5226967-4dde-4be7-b68c-782a2fe1b7e2","description":{"content":"<p>Product category identifier</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"ea766f44-8460-417c-aedf-63cfba361fb5","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/product/category/:id","host":["{{url}}"],"path":["product","category",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"id\":625,\n   \"name\":\"Category 625\",\n   \"description\":\"Description 625\",\n   \"supra_category\":\"Supra 1\"\n}"}],"_postman_id":"d0c54080-f767-4823-811a-b508877d9b5f"}],"id":"36d8f191-eea2-4837-9e42-8bea32958c8d","description":"<p>Module to manage the products categories</p>\n","event":[{"listen":"prerequest","script":{"id":"c8b20faa-a2f3-47d2-b47c-ba32775a2dc3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9ffe0578-7456-45c1-be3a-74d9544cd8fc","type":"text/javascript","exec":[""]}}],"_postman_id":"36d8f191-eea2-4837-9e42-8bea32958c8d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"30949de3-826c-45ef-a02b-6c89c8336296","description":"<p>Module to manage the products</p>\n","event":[{"listen":"prerequest","script":{"id":"bebfce32-db17-48c3-ac5b-2b1a806b9864","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b2bcf0a2-6a05-4ad6-a7e6-6d74e90b5f48","type":"text/javascript","exec":[""]}}],"_postman_id":"30949de3-826c-45ef-a02b-6c89c8336296","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Benchmark","item":[{"name":"Get benchmark","id":"a6a3fbbc-895e-419e-8a2d-2255b8f79cee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{URL}}/ida_fo_v1.0/flower_and_ornamentals/benchmark?start_date=2023-01-01&end_date=2024-12-30&site_id=1286&crop_genus_id&product_category_id=100005&supra_category&product_category_comparison&production_type_id=1&soil_type_id=2&limit_type=radius&radius=600&country=&adm1&adm2&adm3&adm4&adm5","description":"<p>Get benchmark is used to retrieve benchmarking data concerning an individual producer using the FMS. With this benchmarking information, a producer is better able to understand his/her input consumption per production size against a group of peer producers. The data used for benchmarking can be from multiple FMSs.</p>\n<p>The parameters to get benchmarking data act as \"filters\" on which the benchmarking data is returned. These parameters are used to compare the producers' production to other producers in the benchmarking group. The customer FMS can retrieve benchmarking with the following parameters:</p>\n<ul>\n<li><p>From which time period the benchmarking report should be compiled (start_date &amp; end_date)</p>\n</li>\n<li><p>Which site should the benchmarking report be compared to (site_id)</p>\n</li>\n<li><p>If the benchmark should be against a certain crop (crop_genus_id)</p>\n</li>\n<li><p>If the benchmark should be against a certain product category (product_category_id)</p>\n</li>\n<li><p>If the benchmark should be against all flower and ornamental producers (supra_category)</p>\n</li>\n<li><p>Option to also compare a product category performance against all flower and ornamental producers (product_category_comparison)</p>\n</li>\n<li><p>Which production type included in the benchmark (production_type)</p>\n</li>\n<li><p>Which soil type included in the benchmark (soil_type)</p>\n</li>\n<li><p>There will be a geographical limitation where the benchmark is gathered from. The benchmark will be based on producers within a certain radius from the site that is being benchmarked or from the same administrative region</p>\n</li>\n</ul>\n<h2 id=\"definitions\">Definitions</h2>\n<p>Percentile: Percentiles are used to indicate the use intensity of a farm level input use against the input use of the peer group. The higher the percentile, the higher the intensity, and the higher you are in the peer group in terms of percentile.</p>\n<p>Absolute value: This is the individual aggregated amount of the producer for the input. The absolute value shows the amount of input per size of production.</p>\n<p>Active ingredients: Currently, the system combines all AI use to return the benchmark data. Benchmark data is not returned for individual AIs.<br />Absolute value: kg of AI used per ha/m2</p>\n<p>Fertilizers: The API will return individual benchmarking data for nitrogen and phosphorous.<br />Absolute value: kg of N/P used per ha/m2</p>\n<p>Water: The API will also return a value for the share of water extracted from a public source.<br />Absolute value: m3 of water used for site per ha/m2</p>\n<p>Energy: The API will also return values of renewable energy use. This shall be indicated by the share of non-/renewable energy.<br />Absolute value: kWh of energy used for site per ha/m2</p>\n<p>NOTE: In order to avoid recognizing individual producers in the benchmarking group, there needs to be at least 5 producers in the benchmarking group.</p>\n","urlObject":{"path":["ida_fo_v1.0","flower_and_ornamentals","benchmark"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>Date to start the benchmark, ISO-8601</p>\n","type":"text/plain"},"key":"start_date","value":"2023-01-01"},{"description":{"content":"<p>Date to end the benchmark,  ISO-8601</p>\n","type":"text/plain"},"key":"end_date","value":"2024-12-30"},{"description":{"content":"<p>Site identifier to calculate the benchmark</p>\n","type":"text/plain"},"key":"site_id","value":"1286"},{"description":{"content":"<p>Crop genus to receive a benchmark report against producers with the same crop</p>\n","type":"text/plain"},"key":"crop_genus_id","value":null},{"description":{"content":"<p>Product category, not used if crop_genus_id exist. To receive a benchmarking report against producers who produce for the same product category.</p>\n","type":"text/plain"},"key":"product_category_id","value":"100005"},{"description":{"content":"<p>Supra category, not used if  crop_genus_id or product_category_id is used. To receive a  benchmarking report against all flower and ornamental growers</p>\n","type":"text/plain"},"key":"supra_category","value":null},{"description":{"content":"<p>To compare a product category to all flower and ornamentals. Optional parameter. In order to get the correct comparison, a product_category_id needs to be set.</p>\n","type":"text/plain"},"key":"product_category_comparison","value":null},{"description":{"content":"<p>Production type</p>\n","type":"text/plain"},"key":"production_type_id","value":"1"},{"description":{"content":"<p>Soil type</p>\n","type":"text/plain"},"key":"soil_type_id","value":"2"},{"description":{"content":"<p>The \"limit_type\" field will be used to limit the number of producers to be included in the benchmarking analysis. This number limitation may be imposed either through a radius (by which a geo-referenced circular area will be defined), or though geo-administrative boundaries. Values: radius, geo-administrative. Ex.: \"A given producer will only be compared to those producers whose site is located within a 100 km range from its site coordinates\"; \"A given producer will only be compared to those producers whose site is located within the state of California</p>\n","type":"text/plain"},"key":"limit_type","value":"radius"},{"description":{"content":"<p>Required if limit_type is radius: Using a predefined radius (i.e. 100, 200, 300, 600 km), a circular area will be defined using the producers' site coordinates as centre point. Data from producers whose sites fall within the defined circular area will be used to perform the benchmarking analysis.</p>\n","type":"text/plain"},"key":"radius","value":"600"},{"description":{"content":"<p>Required if limit type is geo-administrative. Country code in ISO-3166</p>\n","type":"text/plain"},"key":"country","value":""},{"description":{"content":"<p>A primary administrative division of a country, such as a state in the United States</p>\n","type":"text/plain"},"key":"adm1","value":null},{"description":{"content":"<p>A subdivision of a first-order administrative division</p>\n","type":"text/plain"},"key":"adm2","value":null},{"description":{"content":"<p>A subdivision of a second-order administrative division</p>\n","type":"text/plain"},"key":"adm3","value":null},{"description":{"content":"<p>A subdivision of a third-order administrative division</p>\n","type":"text/plain"},"key":"adm4","value":null},{"description":{"content":"<p>A subdivision of a fourth-order administrative division</p>\n","type":"text/plain"},"key":"adm5","value":null}],"variable":[]}},"response":[{"id":"c3410bbe-0432-4e6c-ab20-c7ba25b826a7","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/benchmark?start_date=2019-01-01&end_date=2019-06-30&site_id=45&product_category_id=4&production_type_id=2&soil_type_id=2&limit_type=radio&raidus=100","host":["{{url}}"],"path":["benchmark"],"query":[{"key":"start_date","value":"2019-01-01"},{"key":"end_date","value":"2019-06-30"},{"key":"site_id","value":"45"},{"key":"product_category_id","value":"4"},{"key":"production_type_id","value":"2"},{"key":"soil_type_id","value":"2"},{"key":"limit_type","value":"radio"},{"key":"raidus","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"active_ingredient\": [\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-01-31\",\n                \"total_producers\": 10\n            },\n            \"absolute_value\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-02-01\",\n                \"end_period\": \"2019-02-28\",\n                \"total_producers\": 15\n            },\n            \"absolute_value\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-03-01\",\n                \"end_period\": \"2019-03-31\",\n                \"total_producers\": 9\n            },\n            \"absolute_value\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-04-01\",\n                \"end_period\": \"2019-04-30\",\n                \"total_producers\": 18\n            },\n            \"absolute_value\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-05-01\",\n                \"end_period\": \"2019-05-31\",\n                \"total_producers\": 12\n            },\n            \"absolute_value\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-06-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 11\n            },\n            \"absolute_value\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 21\n            },\n            \"absolute_value\": {\n                \"amount\": 45,\n                \"percentile\": 79,\n                \"unit_measure_id\": 7\n            }\n        }\n    ],\n    \"fertilizer\": [\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-01-31\",\n                \"total_producers\": 10\n            },\n            \"Nitrogen\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-02-01\",\n                \"end_period\": \"2019-02-28\",\n                \"total_producers\": 15\n            },\n            \"Nitrogen\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-03-01\",\n                \"end_period\": \"2019-03-31\",\n                \"total_producers\": 9\n            },\n            \"Nitrogen\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-04-01\",\n                \"end_period\": \"2019-04-30\",\n                \"total_producers\": 18\n            },\n            \"Nitrogen\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-05-01\",\n                \"end_period\": \"2019-05-31\",\n                \"total_producers\": 12\n            },\n            \"Nitrogen\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-06-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 11\n            },\n            \"Nitrogen\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 7\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 21\n            },\n            \"Nitrogen\": {\n                \"amount\": 45,\n                \"percentile\": 79,\n                \"unit_measure_id\": 7\n            },\n            \"Phosphorus\": {\n                \"amount\": 45,\n                \"percentile\": 79,\n                \"unit_measure_id\": 7\n            }\n        }\n    ],\n    \"water\": [\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-01-31\",\n                \"total_producers\": 10\n            },\n            \"total_consumption\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.34,\n                \"percentile\": 60\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-02-01\",\n                \"end_period\": \"2019-02-28\",\n                \"total_producers\": 15\n            },\n            \"total_consumption\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.7,\n                \"percentile\": 65\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-03-01\",\n                \"end_period\": \"2019-03-31\",\n                \"total_producers\": 9\n            },\n            \"total_consumption\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.25,\n                \"percentile\": 89\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-04-01\",\n                \"end_period\": \"2019-04-30\",\n                \"total_producers\": 18\n            },\n            \"total_consumption\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 1,\n                \"percentile\": 45\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-05-01\",\n                \"end_period\": \"2019-05-31\",\n                \"total_producers\": 12\n            },\n            \"total_consumption\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.8,\n                \"percentile\": 52\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-06-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 11\n            },\n            \"total_consumption\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.52,\n                \"percentile\": 88\n            }\n        },\n        {\n            \"period\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 21\n            },\n            \"total_consumption\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 9\n            },\n            \"percentage_public_waters\": {\n                \"amount\": 0.6,\n                \"percentile\": 79\n            }\n        }\n    ],\n    \"energy\": [\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-01-31\",\n                \"total_producers\": 10\n            },\n            \"diesel\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 45\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.25,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.75,\n                    \"percentile\": 45\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 60,\n                \"percentile\": 60,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.2,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.8,\n                    \"percentile\": 45\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 180,\n                \"percentile\": 180,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.15,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.85,\n                    \"percentile\": 45\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-02-01\",\n                \"end_period\": \"2019-02-28\",\n                \"total_producers\": 15\n            },\n            \"diesel\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 65\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.4,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.6,\n                    \"percentile\": 65\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 54,\n                \"percentile\": 65,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.2,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.8,\n                    \"percentile\": 65\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 162,\n                \"percentile\": 195,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.25,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.75,\n                    \"percentile\": 65\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-03-01\",\n                \"end_period\": \"2019-03-31\",\n                \"total_producers\": 9\n            },\n            \"diesel\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 65\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.3,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.7,\n                    \"percentile\": 65\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 20,\n                \"percentile\": 89,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.1,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.9,\n                    \"percentile\": 65\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 60,\n                \"percentile\": 267,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.1,\n                    \"percentile\": 65\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.9,\n                    \"percentile\": 65\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-04-01\",\n                \"end_period\": \"2019-04-30\",\n                \"total_producers\": 18\n            },\n            \"diesel\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 90\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 90\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 90\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 90\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 100,\n                \"percentile\": 45,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.95,\n                    \"percentile\": 90\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.05,\n                    \"percentile\": 90\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 300,\n                \"percentile\": 145,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.55,\n                    \"percentile\": 90\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.45,\n                    \"percentile\": 90\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-05-01\",\n                \"end_period\": \"2019-05-31\",\n                \"total_producers\": 12\n            },\n            \"diesel\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 45\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.1,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.9,\n                    \"percentile\": 45\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 80,\n                \"percentile\": 52,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.25,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.75,\n                    \"percentile\": 45\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 240,\n                \"percentile\": 156,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.15,\n                    \"percentile\": 45\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.85,\n                    \"percentile\": 45\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-06-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 11\n            },\n            \"diesel\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.4,\n                    \"percentile\": 35\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.6,\n                    \"percentile\": 35\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.6,\n                    \"percentile\": 35\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.4,\n                    \"percentile\": 35\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 34,\n                \"percentile\": 88,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 35\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 35\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 102,\n                \"percentile\": 264,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.3,\n                    \"percentile\": 35\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.7,\n                    \"percentile\": 35\n                }\n            }\n        },\n        {\n            \"perdiod\": {\n                \"init_period\": \"2019-01-01\",\n                \"end_period\": \"2019-06-30\",\n                \"total_producers\": 21\n            },\n            \"diesel\": {\n                \"amount\": 348,\n                \"percentile\": 478,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.4,\n                    \"percentile\": 55\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.6,\n                    \"percentile\": 55\n                }\n            },\n            \"natural_gas\": {\n                \"amount\": 348,\n                \"percentile\": 478,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.78,\n                    \"percentile\": 55\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.22,\n                    \"percentile\": 55\n                }\n            },\n            \"ethanol\": {\n                \"amount\": 348,\n                \"percentile\": 478,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0,\n                    \"percentile\": 55\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 1,\n                    \"percentile\": 55\n                }\n            },\n            \"absolute_value\": {\n                \"amount\": 1044,\n                \"percentile\": 1434,\n                \"unit_measure_id\": 11,\n                \"percentage_renewable_energy\": {\n                    \"amount\": 0.47,\n                    \"percentile\": 55\n                },\n                \"percentage_non-renewable_energy\": {\n                    \"amount\": 0.53,\n                    \"percentile\": 55\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"a6a3fbbc-895e-419e-8a2d-2255b8f79cee"}],"id":"774c75ef-de1f-4670-af14-743f211303d6","description":"<p>Module to calculate relative intensity of farm level inputs of a site in relation to other producers with similar production characteristics</p>\n","_postman_id":"774c75ef-de1f-4670-af14-743f211303d6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}},{"name":"Geonames","item":[{"name":"Get geo-administrative division","id":"79fb4abe-0fc0-4d80-bc73-53e150508d96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/geoname/:country_code?adm1&adm2&adm3&adm4","description":"<p>Returns geo-administrative division of a country</p>\n","urlObject":{"path":["geoname",":country_code"],"host":["{{url}}"],"query":[{"description":{"content":"<p>A primary administrative division of a country, such as a state in the United States. Optional</p>\n","type":"text/plain"},"key":"adm1","value":""},{"description":{"content":"<p>A subdivision of a first-order administrative division. Optional, if exist required adm1 subdivision</p>\n","type":"text/plain"},"key":"adm2","value":""},{"description":{"content":"<p>A subdivision of a second-order administrative division. Optional, if exist required adm2 subdivision</p>\n","type":"text/plain"},"key":"adm3","value":""},{"description":{"content":"<p>A subdivision of a third-order administrative division. Optional, if exist required adm3 subdivision</p>\n","type":"text/plain"},"key":"adm4","value":""}],"variable":[{"id":"0c646739-678e-449c-bbbb-a91a5a6d970f","description":{"content":"<p>Country code, ISO-3166</p>\n","type":"text/plain"},"type":"string","value":"","key":"country_code"}]}},"response":[{"id":"e0954776-be37-49a8-aaa8-4ad1e4024118","name":"OK adm2","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/geoname/:country_code?adm1=01&adm2=083","host":["{{url}}"],"path":["geoname",":country_code"],"query":[{"key":"adm1","value":"01","description":"A primary administrative division of a country, such as a state in the United States. Optional"},{"key":"adm2","value":"083","description":"A subdivision of a first-order administrative division. Optional, if exist required adm1 subdivision"}],"variable":[{"key":"country_code","value":"DE","description":"Country code, ISO-3166"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"code\":\"083\",\r\n    \"name\":\"Freiburg Region\",\r\n    \"adm2\": [\r\n        {\r\n            \"code\":\"08311\",\r\n            \"name\":\"Freiburg im Breisgau\"\r\n        },\r\n        {\r\n            \"code\":\"08315\",\r\n            \"name\":\"Landkreis Breisgau-Hochschwarzwald\"\r\n        },\r\n        {\r\n            \"code\":\"08316\",\r\n            \"name\":\"Landkreis Emmendingen\"\r\n        },\r\n        {\r\n            \"code\":\"08335\",\r\n            \"name\":\"Landkreis Konstanz\"\r\n        },\r\n        {\r\n            \"code\":\"08336\",\r\n            \"name\":\"Landkreis Lörrach\"\r\n        },\r\n        {\r\n            \"code\":\"08325\",\r\n            \"name\":\"Landkreis Rottweil\"\r\n        },\r\n        {\r\n            \"code\":\"08327\",\r\n            \"name\":\"Landkreis Tuttlingen\"\r\n        },\r\n        {\r\n            \"code\":\"08337\",\r\n            \"name\":\"Landkreis Waldshut\"\r\n        },\r\n        {\r\n            \"code\":\"08317\",\r\n            \"name\":\"Ortenaukreis\"\r\n        },\r\n        {\r\n            \"code\":\"08326\",\r\n            \"name\":\"Schwarzwald-Baar-Kreis\"\r\n        }\r\n    ]\r\n}"},{"id":"7ae8741b-556f-4be7-abe8-700cab6f15ff","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMTIzMTIzIiwiZ2duIjoiVGVzdDEyMyJ9.66pO-mlHF7k8MOWjOtvQT4999oJeiegZFeO7Iiy0fDI","type":"text","description":"JSON Web Token"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/geoname/:country_code","host":["{{url}}"],"path":["geoname",":country_code"],"variable":[{"key":"country_code","value":"DE"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"code\":\"DE\",\n   \"name\":\"Germany\",\n   \"adm1\": [\n      {\n         \"code\":\"01\",\n         \"name\":\"Baden-Württemberg\"\n      },\n      {\n         \"code\":\"02\",\n         \"name\":\"Bavaria\"\n      },\n      {\n         \"code\":\"11\",\n         \"name\":\"Brandenburg\"\n      },\n      {\n         \"code\":\"03\",\n         \"name\":\"Bremen\"\n      },\n      {\n         \"code\":\"04\",\n         \"name\":\"Hamburg\"\n      },\n      {\n         \"code\":\"05\",\n         \"name\":\"Hesse\"\n      },\n      {\n         \"code\":\"16\",\n         \"name\":\"Land Berlin\"\n      },\n      {\n         \"code\":\"06\",\n         \"name\":\"Lower Saxony\"\n      },\n      {\n         \"code\":\"12\",\n         \"name\":\"Mecklenburg-Vorpommern\"\n      },\n      {\n         \"code\":\"07\",\n         \"name\":\"North Rhine-Westphalia\"\n      },\n      {\n         \"code\":\"08\",\n         \"name\":\"Rheinland-Pfalz\"\n      },\n      {\n         \"code\":\"09\",\n         \"name\":\"Saarland\"\n      },\n      {\n         \"code\":\"13\",\n         \"name\":\"Saxony\"\n      },\n      {\n         \"code\":\"14\",\n         \"name\":\"Saxony-Anhalt\"\n      },\n      {\n         \"code\":\"10\",\n         \"name\":\"Schleswig-Holstein\"\n      },\n      {\n         \"code\":\"15\",\n         \"name\":\"Thuringia\"\n      }\n   ]\n}"},{"id":"03885bb8-c0ff-4ca4-b14c-564468d8aa27","name":"OK adm4","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/geoname/:country_code?adm1=01&adm2=83&adm3=08315&adm4=08315007","host":["{{url}}"],"path":["geoname",":country_code"],"query":[{"key":"adm1","value":"01","description":"A primary administrative division of a country, such as a state in the United States. Optional"},{"key":"adm2","value":"83","description":"A subdivision of a first-order administrative division. Optional, if exist required adm1 subdivision"},{"key":"adm3","value":"08315","description":"A subdivision of a second-order administrative division. Optional, if exist required adm2 subdivision"},{"key":"adm4","value":"08315007","description":"A subdivision of a third-order administrative division. Optional, if exist required adm3 subdivision"}],"variable":[{"key":"country_code","value":"DE","description":"Country code, ISO-3166"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"code\":\"08315007\",\r\n    \"name\":\"Badenweiler\",\r\n    \"adm5\":[]\r\n}"},{"id":"d8b6de96-f536-4b9e-a4b9-ea1fdc0973b8","name":"OK adm3","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/geoname/:country_code?adm1=01&adm2=83&adm3=08315","host":["{{url}}"],"path":["geoname",":country_code"],"query":[{"key":"adm1","value":"01","description":"A primary administrative division of a country, such as a state in the United States. Optional"},{"key":"adm2","value":"83","description":"A subdivision of a first-order administrative division. Optional, if exist required adm1 subdivision"},{"key":"adm3","value":"08315","description":"A subdivision of a second-order administrative division. Optional, if exist required adm2 subdivision"}],"variable":[{"key":"country_code","value":"DE","description":"Country code, ISO-3166"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"code\":\"08315\",\r\n    \"name\":\"Landkreis Breisgau-Hochschwarzwald\",\r\n    \"adm4\": [\r\n        {\r\n            \"code\":\"08315003\",\r\n            \"name\":\"Au\"\r\n        },\r\n        {\r\n            \"code\":\"08315004\",\r\n            \"name\":\"Auggen\"\r\n        },\r\n        {\r\n            \"code\":\"08315006\",\r\n            \"name\":\"Bad Krozingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315007\",\r\n            \"name\":\"Badenweiler\"\r\n        },\r\n        {\r\n            \"code\":\"08315008\",\r\n            \"name\":\"Ballrechten-Dottingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315014\",\r\n            \"name\":\"Bollschweil\"\r\n        },\r\n        {\r\n            \"code\":\"08315013\",\r\n            \"name\":\"Bötzingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315015\",\r\n            \"name\":\"Breisach am Rhein\"\r\n        },\r\n        {\r\n            \"code\":\"08315016\",\r\n            \"name\":\"Breitnau\"\r\n        },\r\n        {\r\n            \"code\":\"08315020\",\r\n            \"name\":\"Buchenbach\"\r\n        },\r\n        {\r\n            \"code\":\"08315022\",\r\n            \"name\":\"Buggingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315028\",\r\n            \"name\":\"Ebringen\"\r\n        },\r\n        {\r\n            \"code\":\"08315131\",\r\n            \"name\":\"Ehrenkirchen\"\r\n        },\r\n        {\r\n            \"code\":\"08315030\",\r\n            \"name\":\"Eichstetten am Kaiserstuhl\"\r\n        },\r\n        {\r\n            \"code\":\"08315031\",\r\n            \"name\":\"Eisenbach (Hochschwarzwald)\"\r\n        },\r\n        {\r\n            \"code\":\"08315033\",\r\n            \"name\":\"Eschbach\"\r\n        },\r\n        {\r\n            \"code\":\"08315037\",\r\n            \"name\":\"Feldberg\"\r\n        },\r\n        {\r\n            \"code\":\"08315039\",\r\n            \"name\":\"Friedenweiler\"\r\n        },\r\n        {\r\n            \"code\":\"08315041\",\r\n            \"name\":\"Glottertal\"\r\n        },\r\n        {\r\n            \"code\":\"08315043\",\r\n            \"name\":\"Gottenheim\"\r\n        },\r\n        {\r\n            \"code\":\"08315047\",\r\n            \"name\":\"Gundelfingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315048\",\r\n            \"name\":\"Hartheim\"\r\n        },\r\n        {\r\n            \"code\":\"08315050\",\r\n            \"name\":\"Heitersheim\"\r\n        },\r\n        {\r\n            \"code\":\"08315051\",\r\n            \"name\":\"Heuweiler\"\r\n        },\r\n        {\r\n            \"code\":\"08315052\",\r\n            \"name\":\"Hinterzarten\"\r\n        },\r\n        {\r\n            \"code\":\"08315056\",\r\n            \"name\":\"Horben\"\r\n        },\r\n        {\r\n            \"code\":\"08315059\",\r\n            \"name\":\"Ihringen\"\r\n        },\r\n        {\r\n            \"code\":\"08315064\",\r\n            \"name\":\"Kirchzarten\"\r\n        },\r\n        {\r\n            \"code\":\"08315068\",\r\n            \"name\":\"Lenzkirch\"\r\n        },\r\n        {\r\n            \"code\":\"08315070\",\r\n            \"name\":\"Löffingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315132\",\r\n            \"name\":\"March\"\r\n        },\r\n        {\r\n            \"code\":\"08315072\",\r\n            \"name\":\"Merdingen\"\r\n        },\r\n        {\r\n            \"code\":\"08315073\",\r\n            \"name\":\"Merzhausen\"\r\n        },\r\n        {\r\n            \"code\":\"08315074\",\r\n            \"name\":\"Müllheim\"\r\n        },\r\n        {\r\n            \"code\":\"08315130\",\r\n            \"name\":\"Münstertal\"\r\n        },\r\n        {\r\n            \"code\":\"08315076\",\r\n            \"name\":\"Neuenburg am Rhein\"\r\n        },\r\n        {\r\n            \"code\":\"08315084\",\r\n            \"name\":\"Oberried\"\r\n        },\r\n        {\r\n            \"code\":\"08315089\",\r\n            \"name\":\"Pfaffenweiler\"\r\n        },\r\n        {\r\n            \"code\":\"08315098\",\r\n            \"name\":\"Schallstadt\"\r\n        },\r\n        {\r\n            \"code\":\"08315102\",\r\n            \"name\":\"Schluchsee\"\r\n        },\r\n        {\r\n            \"code\":\"08315107\",\r\n            \"name\":\"Sölden\"\r\n        },\r\n        {\r\n            \"code\":\"08315094\",\r\n            \"name\":\"St. Märgen\"\r\n        },\r\n        {\r\n            \"code\":\"08315095\",\r\n            \"name\":\"St. Peter\"\r\n        },\r\n        {\r\n            \"code\":\"08315108\",\r\n            \"name\":\"Staufen im Breisgau\"\r\n        },\r\n        {\r\n            \"code\":\"08315109\",\r\n            \"name\":\"Stegen\"\r\n        },\r\n        {\r\n            \"code\":\"08315111\",\r\n            \"name\":\"Sulzburg\"\r\n        },\r\n        {\r\n            \"code\":\"08315113\",\r\n            \"name\":\"Titisee-Neustadt\"\r\n        },\r\n        {\r\n            \"code\":\"08315115\",\r\n            \"name\":\"Umkirch\"\r\n        },\r\n        {\r\n            \"code\":\"08315133\",\r\n            \"name\":\"Vogtsburg im Kaiserstuhl\"\r\n        },\r\n        {\r\n            \"code\":\"08315125\",\r\n            \"name\":\"Wittnau\"\r\n        }\r\n    ]\r\n}"},{"id":"c122e860-4d10-4edf-9edc-8f679e288696","name":"OK adm1","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/geoname/:country_code?adm1=01","host":["{{url}}"],"path":["geoname",":country_code"],"query":[{"key":"adm1","value":"01","description":"A primary administrative division of a country, such as a state in the United States. Optional"}],"variable":[{"key":"country_code","value":"DE","description":"Country code, ISO-3166"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"code\":\"01\",\r\n    \"name\":\"Baden-Württemberg\",\r\n    \"adm2\":[\r\n        {\r\n            \"code\":\"083\",\r\n            \"name\":\"Freiburg Region\"\r\n        },\r\n        {\r\n            \"code\":\"082\",\r\n            \"name\":\"Karlsruhe Region\"\r\n        },\r\n        {\r\n            \"code\":\"081\",\r\n            \"name\":\"Regierungsbezirk Stuttgart\"\r\n        },\r\n        {\r\n            \"code\":\"084\",\r\n            \"name\":\"Tübingen Region\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"79fb4abe-0fc0-4d80-bc73-53e150508d96"}],"id":"e4709f7a-fe28-4e36-b9df-aaec51a41577","description":"<p>Module to get geo-administrative division of a country</p>\n","event":[{"listen":"prerequest","script":{"id":"edfdd26a-9b09-4b43-85d5-93e97003c8cd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1bdb614e-b943-4d3a-8125-41e9ffd4ca59","type":"text/javascript","exec":[""]}}],"_postman_id":"e4709f7a-fe28-4e36-b9df-aaec51a41577","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"id":"407bbc8d-1800-481e-b755-b6280544764f","description":"<p>This API collection is following the workflow of the original IDA API version. It was designed to be able to continue with the existing infrastructure base on the old api calls.</p>\n<p><strong>However</strong> some adjustments need to be made for each call, in order for these calls to continue working.</p>\n<h4 id=\"required-changes\">Required Changes</h4>\n<p><strong>Physical Site</strong></p>\n<p>This call is entirely new and needs to be implemented in order to create new sites. Existing sites, created prior to the update, have been issued a physical_site_ID. You can find this ID by using 'Get site'/'List sites'.</p>\n<p><strong>Site</strong></p>\n<p>Three new datapoints have been added. 1 of them is mandatory: physical_site_id.</p>\n<p>This <strong>MUST</strong> be implemented in order to use this call as before. See more details under the 'Add site' documentation.</p>\n<p><strong>Crop</strong></p>\n<p>At the crop level a number of new datapoints have been added. Two of them are mandatory in the 'recognition_id' and the 'audit_data_permission'. See more details in the 'Add crop' documentation.</p>\n<p><strong>Input Consumption Metrics</strong></p>\n<p>Only the URL needs to be adjusted for each input consumption metric. See in detail in the documentation of each metric.</p>\n","_postman_id":"407bbc8d-1800-481e-b755-b6280544764f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"bae0f9ed-3afa-4602-a08a-1235793d540b","id":"bae0f9ed-3afa-4602-a08a-1235793d540b","name":"GLOBALG.A.P. Impact-Driven Approach API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"bdadcce4-7125-48bc-be0d-3ba250481950","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"65dfcc1b-5614-4097-b0c9-24c6ec4c1c8a","type":"text/javascript","exec":[""]}}],"variable":[{"key":"Test Environment","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbWlzIjoiMyIsImdnbiI6IjAwMDAwMDExMDAwMDgifQ.PoIpvrccDXgaPSi1AeYk_W6ki48wEgXp2yekdW9AZqg"}]}