{"info":{"_postman_id":"fe8dfc28-5610-4b9d-bae7-859aff3533d9","name":"Residue Monitoring System v2.1 (DEMO RMS)","description":"<html><head></head><body><p>All API calls can receive a query string parameter Lang with the ISO2 of the desired language and results will be translated to that language if available, ie: &amp;lang=de</p>\n<p>All API calls return the same object with:</p>\n<p>* Success: true/false<br>* Message: string<br>* Timestamp: Datetime with format yyyy-MM-ddThh:mm:ss<br>* Result: The result object, is different for each API action.</p>\n<p>Unauthorized API calls will return a 401 http status but also the object with the structure above, with Message \"Unauthorized\"</p>\n<p>If error API calls will return a 500 http status but also the object with the structure above.</p>\n<h1 id=\"environments\">Environments</h1>\n<h4 id=\"live\">LIVE</h4>\n<p>Official GLOBALG.A.P. Residue Monitoring System<br><a href=\"https://residue-monitoring-system.globalgap.org\">https://residue-monitoring-system.globalgap.org</a></p>\n<h4 id=\"demo\">DEMO</h4>\n<p>Demo version before being deployed to LIVE Residue Monitoring System designed for the purpose of testing. Token will be different.<br><a href=\"https://demo-residue-monitoring-system.globalgap.org\">https://demo-residue-monitoring-system.globalgap.org</a></p>\n<p>Support</p>\n<p>Please send an e-mail to: <a href=\"mailto:rms_customer_support@globalgap.org\">rms_customer_support@globalgap.org</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Environments","slug":"environments"}],"owner":"17445982","collectionId":"fe8dfc28-5610-4b9d-bae7-859aff3533d9","publishedId":"2s8ZDeSdko","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-03-24T22:05:45.000Z"},"item":[{"name":"RMS/API/Register","id":"e9bde9a5-8b6a-4e40-9fbc-c7476a260292","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"GGN\": \"4056186467751\",\r\n    \"Product\": \"151010\",\r\n    \"SamplingSite\": \"Supply Chain\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pre.residue-control.com/RMS/Api/Register?ApiToken=PasteYourUserApiTokenHere","description":"<p>Request: Receives an object with fields:</p>\n<p>* \"GGN\": Number 13 digit valid GlobalG.A.P. identifier,</p>\n<p>* \"Product\": EU Code of the product</p>\n<p>* \"SamplingSite\": \"Supply Chain\" or \"Farm/Field\"</p>\n","urlObject":{"path":["RMS","Api","Register"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"e9bde9a5-8b6a-4e40-9fbc-c7476a260292"},{"name":"RMS/API/Unregister","id":"48a330c2-cf32-4f17-854b-d7aa8f698643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"GGN\": \"4056186467751\",\r\n    \"Product\": \"151010\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pre.residue-control.com/RMS/Api/Unregister?ApiToken=PasteYourUserApiTokenHere","description":"<p>Request: Receives an object with fields:</p>\n<p>* \"GGN\": Number 13 digit valid GlobalG.A.P. identifier,</p>\n<p>* \"Product\": EU Code of the product</p>\n","urlObject":{"path":["RMS","Api","Unregister"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"48a330c2-cf32-4f17-854b-d7aa8f698643"},{"name":"RMS/API/Scope","id":"d8789be8-e189-476a-b9d3-029665aec44b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pre.residue-control.com/RMS/Api/Scope?ApiToken=PasteYourUserApiTokenHere","urlObject":{"path":["RMS","Api","Scope"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"d8789be8-e189-476a-b9d3-029665aec44b"},{"name":"RMS/List/Laboratory","id":"51d5b495-bbf8-43dc-9e51-66d979520384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pre.residue-control.com/RMS/List/Laboratory?ApiToken=PasteYourUserApiTokenHere","urlObject":{"path":["RMS","List","Laboratory"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"51d5b495-bbf8-43dc-9e51-66d979520384"},{"name":"RMS/List/LabProfile","id":"76635571-905b-4e0e-9dd4-cac7a2438af8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pre.residue-control.com/RMS/List/LabProfile?ApiToken=PasteYourUserApiTokenHere","urlObject":{"path":["RMS","List","LabProfile"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"76635571-905b-4e0e-9dd4-cac7a2438af8"},{"name":"RMS/List/TurnAroundTime","id":"0480146a-2fb2-4f46-bc40-d7498e72bfd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pre.residue-control.com/RMS/List/TurnAroundTime?ApiToken=PasteYourUserApiTokenHere","urlObject":{"path":["RMS","List","TurnAroundTime"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"0480146a-2fb2-4f46-bc40-d7498e72bfd2"},{"name":"List/Product","id":"2629947c-3af5-43ef-86d5-67bcbc677e35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pre.residue-control.com/List/Product?ApiToken=PasteYourUserApiTokenHere","urlObject":{"path":["List","Product"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"2629947c-3af5-43ef-86d5-67bcbc677e35"},{"name":"List/Country","id":"66ff66c0-8463-4cdf-b190-19be9ce4cc05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pre.residue-control.com/List/Country?ApiToken=PasteYourUserApiTokenHere","urlObject":{"path":["List","Country"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"66ff66c0-8463-4cdf-b190-19be9ce4cc05"},{"name":"List/ActiveIngredient","id":"30219952-d655-4b04-8fe7-f5732c108bf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://pre.residue-control.com/List/ActiveIngredient?ApiToken=PasteYourUserApiTokenHere","urlObject":{"path":["List","ActiveIngredient"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"30219952-d655-4b04-8fe7-f5732c108bf8"},{"name":"Analysis/API/SaveSampleAndResults","id":"f8770194-0c25-4e21-8871-7815fec3033c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"SupplierGGN\": \"4049928348265\",\r\n        \"ProducerGGN\": \"4049928348265\",\r\n        \"SampleId\": \"Sample1123456_D\",\r\n        \"SampleDate\": \"2022-06-01\",\r\n        \"SampleLocationLat\": \"50.9447\",\r\n        \"SampleLocationLon\": \"6.9391\",\r\n        \"ProductId\": \"220010\",\r\n        \"Organic\": true,\r\n        \"BatchNumber\": \"aBatchNumber\",\r\n        \"CountryOfOriginISO\": \"ESP\",\r\n        \"CountryMRLISO\": \"ESP\",\r\n        \"SamplingSite\": 1,\r\n        \"LaboratoryId\": \"100070\",\r\n        \"LabProfileId\": \"770\",\r\n        \"ReportNumber\": \"RepNumber1234567\",\r\n        \"ReportDate\": \"2022-05-25\",\r\n        \"Results\": [\r\n            {\r\n                \"ActiveIngredientId\": \"133-07-3\",\r\n                \"Method\": \"aMethod\",\r\n                \"Detection\": \"0.002\",\r\n                \"LimitOfDetectionValue\": \"0.001\",\r\n                \"MRL\": \"0.001\"\r\n            }\r\n        ]\r\n    }","options":{"raw":{"language":"json"}}},"url":"https://pre.residue-control.com/analysis/api/SaveSampleAndResults?ApiToken=PasteYourUserApiTokenHere","description":"<p>Request receives an object with fields:</p>\n<p>* \"SupplierGGN\": Number 13 digit valid GlobalG.A.P. identifier,<br />* \"ProducerGGN\": Number 13 digit valid GlobalG.A.P. identifier,<br />* \"SampleId\": String uniqueidentifier for the sample,<br />* \"SampleDate\": Date with yyyy-MM-dd format,<br />* \"SampleLocationLat\": Decimal (point sepparated) with minimum 4 decimal digits. Greater than -90 and smailler than 90,<br />* \"SampleLocationLon\": Decimal (point sepparated) with minimum 4 decimal digits. Greater than -180 and smailler than 180,<br />* \"ProductId\": From List/Product (the product's EU Code),<br />* \"Organic\": true/false,<br />* \"BatchNumber\": String,<br />* \"CountryOfOriginISO\": Three letter ISO country code,<br />* \"CountryMRLISO\": Three letter ISO country code,<br />* \"SamplingSite\": 0 (Farm/field) or 1(Supply Chain),<br />* \"LaboratoryId\": From /RMS/List/Laboratory,<br />* \"LabProfileId\": Comma separated list of LabProfileId from RMS/LabProfile<br />* \"ReportNumber\": String,<br />* \"ReportDate\": Date with yyyy-MM-dd format,<br />* \"Results\": an array of objects with fields:<br />* \"ActiveIngredientId\": CAS Number from /List/ActiveIngredient,<br />* \"Method\": String,<br />* \"Detection\": Decimal (point sepparated) with three decimal digits,<br />* \"LimitOfDetectionValue\": Decimal (point sepparated) with three decimal digits,<br />* \"MRL\": Decimal (point sepparated) with three decimal digits</p>\n","urlObject":{"path":["analysis","api","SaveSampleAndResults"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"f8770194-0c25-4e21-8871-7815fec3033c"},{"name":"Analysis/API/SaveSampleAndRequest","id":"c7f6f4e6-8c04-4232-95c2-637d20be2038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"SupplierGGN\": \"4049928348265\",\r\n        \"ProducerGGN\": \"4049928348265\",\r\n        \"SampleId\": \"Sample12345678_B\",\r\n        \"SampleDate\": \"2022-06-01\",\r\n        \"SampleLocationLat\": \"50.9447\",\r\n        \"SampleLocationLon\": \"6.9391\",\r\n        \"ProductId\": \"220010\",\r\n        \"Organic\": true,\r\n        \"BatchNumber\": \"aBatchNumber\",\r\n        \"CountryOfOriginISO\": \"ESP\",\r\n        \"CountryMRLISO\": \"ESP\",\r\n        \"SamplingSite\": 1,\r\n        \"LaboratoryId\": \"100070\",\r\n        \"LabProfileId\": \"770,771\",\r\n        \"ExpectedDate\": \"2022-09-22\",\r\n        \"TurnAroundTimeId\": \"1\"\r\n    }","options":{"raw":{"language":"json"}}},"url":"https://pre.residue-control.com/analysis/api/SaveSampleAndRequest?ApiToken=PasteYourUserApiTokenHere","description":"<p>Request receives an object with fields:</p>\n<p>* \"SupplierGGN\": Number 13 digit valid GlobalG.A.P. identifier,<br />* \"ProducerGGN\": Number 13 digit valid GlobalG.A.P. identifier,<br />* \"SampleId\": String uniqueidentifier for the sample,<br />* \"SampleDate\": Date with yyyy-MM-dd format,<br />* \"SampleLocationLat\": Decimal (point sepparated) with minimum 4 decimal digits. Greater than -90 and smailler than 90,<br />* \"SampleLocationLon\": Decimal (point sepparated) with minimum 4 decimal digits. Greater than -180 and smailler than 180,<br />* \"ProductId\": From List/Product (the product's EU Code),<br />* \"Organic\": true/false,<br />* \"BatchNumber\": String,<br />* \"CountryOfOriginISO\": Three letter ISO country code,<br />* \"CountryMRLISO\": Three letter ISO country code,<br />* \"SamplingSite\": 0 (Farm/field) or 1(Supply Chain),<br />* \"LaboratoryId\": From /RMS/List/Laboratory,<br />* \"LabProfileId\": Comma separated list of LabProfileId from RMS/LabProfile<br />* \"ExpectedDate\": Date with yyyy-MM-dd format,<br />* \"TurnAroundTimeId\": From RMS/List/TurnAroundTime</p>\n","urlObject":{"path":["analysis","api","SaveSampleAndRequest"],"host":["https://pre.residue-control.com"],"query":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere"}],"variable":[]}},"response":[],"_postman_id":"c7f6f4e6-8c04-4232-95c2-637d20be2038"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"abb81ef8-39cf-462d-9649-28e4d0d1a32b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c3e137b3-2748-475f-87c4-1ee25007062c"}}],"variable":[{"key":"ApiToken","value":"PasteYourUserApiTokenHere","type":"string"},{"key":"Domain","value":"https://pre.residue-control.com","type":"string"}]}