diff --git a/postman_collection_icat.json b/postman_collection_icat.json new file mode 100644 index 00000000..91b1e8a9 --- /dev/null +++ b/postman_collection_icat.json @@ -0,0 +1,29667 @@ +{ + "info": { + "_postman_id": "124fd4f3-2ce0-4860-ab79-fae94eaeec29", + "name": "DataGateway API", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "Entity By ID", + "item": [ + { + "name": "Application", + "item": [ + { + "name": "Applications By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "fb854830-b850-47b1-9c04-000295a8325e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/applications/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "applications", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Applications By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "dd79e0e1-e42b-4c9d-96fe-79d6c911339e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Test Name\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/applications/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "applications", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Applications By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "fb39b640-0b0e-4cdb-abfd-1996a34acb50", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/applications/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "applications", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "1ae565de-d274-47a0-b0e3-a7bc3cfff0b8", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "ae90b003-bf35-413a-83c8-e03dfdaf1ed8", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DataCollection", + "item": [ + { + "name": "DataCollections By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "5e7e249a-fbdf-452a-9d0e-663e939ee5c2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollections/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollections", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataCollections By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "7ac209ba-106d-4d68-ab27-0d8fd2e6d07d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"doi\": \"test DOI\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollections/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollections", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataCollections By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "bdd41f3e-e574-42ce-a4b0-0ad1e86e31e9", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollections/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollections", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "cd8f67ed-d071-4c81-b2e4-a00b6d118f72", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "80038429-b045-4792-a151-5c7f54cb6824", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DataCollectionDatafile", + "item": [ + { + "name": "DataCollectionDatafiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "7a301158-9155-4a50-80a1-b3c1d769b52a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatafiles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatafiles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataCollectionDatafiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "dd1986fd-890f-43bd-9ded-2119d0ba77aa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatafiles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatafiles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataCollectionDatafiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "69624ada-f4f0-418f-9de6-b49df33d46e5", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatafiles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatafiles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "7e57a795-629a-4a4c-b030-2d83a8c8568f", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "25e7f41c-0025-4182-9606-be898a37820e", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DataCollectionDataset", + "item": [ + { + "name": "DataCollectionDatasets By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "e766ecb8-a027-49f7-b2ad-c533b244df90", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatasets/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatasets", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataCollectionDatasets By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "675ef19f-2ea9-443c-a05d-a7d0d2234ea8", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatasets/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatasets", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataCollectionDatasets By ID", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "430f448c-41bf-4401-9831-326eb8026b83", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "c8cec27b-ac85-4d4d-af59-2388a533ae85", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatasets/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatasets", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "3289ce89-c31f-4e22-870c-63cf356773ca", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "39891eb6-3eb2-4a0a-a41d-2bca6151b4b3", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DataCollectionParameter", + "item": [ + { + "name": "DataCollectionParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "df6928ae-903b-4f9f-bfb0-191e237561ca", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectionparameters/100", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectionparameters", + "100" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataCollectionParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "ea71a98a-9201-4ae9-8770-02faef62534f", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"dateTimeValue\": \"2013-06-01 00:00:00\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectionparameters/100", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectionparameters", + "100" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataCollectionParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "c8376906-40aa-48fe-a0b0-1d9d684672bc", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectionparameters/100", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectionparameters", + "100" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "0a211880-4916-4977-a57f-6d2715d8768f", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "999d4318-6e20-417d-8662-04021bb06be6", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Datafile", + "item": [ + { + "name": "Datafiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "1424d426-6272-4b28-ad65-3aecb003f8b7", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafiles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafiles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Datafiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "8f2f3151-a8f7-4763-ac69-2a3067f1c1e4", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"fileSize\": 2147483648849848\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafiles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafiles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DataFiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "35145d6c-0c85-4698-a044-8d35e41cccd2", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafiles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafiles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "d3883cd3-0222-4229-a9a2-ee5ac1864e29", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "c3683d5f-7b97-49a5-b5fe-ca92562d7181", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DatafileFormat", + "item": [ + { + "name": "DatafileFormats By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "58e1bd19-cd46-4ad0-9fde-caaf653b820b", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileformats/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileformats", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DatafileFormats By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "b32897db-5715-436a-9f7f-f37601257ca4", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"Example description of a datafileformat\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafileformats/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileformats", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DatafileFormats By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "fcfe38f8-56a2-4529-8dd7-7704c1e59040", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileformats/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileformats", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "587938d5-94c7-493f-a1ad-e0ccc0fd4618", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "d4d516da-7f20-4d76-bc93-c0f33566ad28", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DatafileParameter", + "item": [ + { + "name": "DatafileParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "1024de5d-3e77-40ad-adf4-50692a24e9a4", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DatafileParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "d77b397f-6272-4ee8-bd09-f40a1a973982", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"rangeBottom\": 8.0\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafileparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DatafileParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "0681e29b-3a1a-4197-993a-76a26b3802b6", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "1656df87-a2d6-4dec-bebb-b5b9ce6b0e3c", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "575faf11-89bc-40b9-bb28-47e8594fc01b", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Dataset", + "item": [ + { + "name": "Datasets By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "9bc2022e-061e-498c-bcd2-239948c1dd2a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasets/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasets", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Datasets By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "e87b1eac-c3cf-42e8-8575-b15b44601568", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"startDate\": \"2014-06-01 15:00:15\",\r\n \"complete\": true\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasets/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasets", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Datasets By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "9f526562-e662-4cc4-b66f-4f13578032f0", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasets/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasets", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DatasetParameter", + "item": [ + { + "name": "DatasetParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "e75068bf-bc82-427c-8ce9-cd174cc5d5fa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasetparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasetparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DatasetParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "a11554cc-f635-45fb-822c-52c2c0666883", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"stringValue\": \"String value for datasetparameter\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasetparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasetparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DatasetParameters By ID", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "502a56b9-3df7-4737-9280-64ec16a56036", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "1aef3d74-2447-45f8-886b-c9b74ec71a52", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasetparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasetparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "e1fe8577-e52a-45ff-b34f-dbe9f65f3127", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "e001025f-3de8-4a5b-8070-6d95a74414f8", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DatasetType", + "item": [ + { + "name": "DatasetTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "3c07de08-79e9-4052-88eb-24f5bed7caa2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasettypes/3", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasettypes", + "3" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DatasetTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "7504a39f-9f03-4589-9176-983ff2d3da2e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"New description for a dataset type\" \r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasettypes/3", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasettypes", + "3" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "DatasetTypes By ID", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "855cbe51-c8e5-4db4-ad8a-051e73966ef1", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "6b7d8646-63db-40a1-ac39-f85d319ba006", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasettypes/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasettypes", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Facility", + "item": [ + { + "name": "Facilities By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "dec70332-025d-4168-a86a-efd11551bbb5", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilities/1", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilities", + "1" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Facilities By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "f62c71a2-d24b-4219-a9dd-a6e86e40c6b6", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"daysUntilRelease\": 1829\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/facilities/1", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilities", + "1" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Facilities By ID", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "641659bb-9fff-4f54-923d-58a77c80ace0", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "47efa9d4-93b9-4de0-a096-86ee20fce645", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilities/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilities", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "FacilityCycle", + "item": [ + { + "name": "FacilityCycles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "8e9fe1b6-da18-46f7-bf26-01e71449fcfb", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilitycycles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilitycycles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "FacilityCycles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "38dd99c1-2562-49f4-a8f8-3d332dfd9cb4", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"New Facility Cycle Name\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/facilitycycles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilitycycles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "FacilityCycles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "6283cfec-b712-4903-b413-a55e11a491bb", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilitycycles/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilitycycles", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Grouping", + "item": [ + { + "name": "Groupings By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "fbceee32-3ee6-401a-aca8-0219f143349d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/groupings/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "groupings", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Groupings By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "f2647bcd-993b-4906-8027-94328ac3bfec", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Updated Grouping Name\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/groupings/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "groupings", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Groupings By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "1dd88b9d-470d-49cf-84f1-96deecd6fa71", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/groupings/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "groupings", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Instrument", + "item": [ + { + "name": "Instruments By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "655ba402-e5ff-4a00-97b9-94d91ea8890a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Instruments By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "71f21c9b-c07f-436f-b221-e93568606e06", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"fullName\": \"Full Name of an instrument\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/instruments/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Instruments By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "11d9022e-39cf-47cb-9d73-6623162a3d69", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments/6", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "6" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InstrumentScientist", + "item": [ + { + "name": "InstrumentScientists By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "1248f759-1bad-4ee0-bf32-a9500a04542f", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instrumentscientists/6", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instrumentscientists", + "6" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InstrumentScientists By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "7c8df6af-4590-4ec4-84c9-2d1028d1e14a", + "exec": [ + "pm.test(\"Status: 400\", function () {\r", + " pm.response.to.have.status(400);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"modId\": \"simple/root\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/instrumentscientists/6", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instrumentscientists", + "6" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InstrumentScientists By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "de38cf59-2106-45d1-bd12-d50d13860145", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instrumentscientists/6", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instrumentscientists", + "6" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Investigation", + "item": [ + { + "name": "Investigations By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "a8729bd9-f7b7-4f6a-b724-d2674874b894", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigations/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Investigations By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "ddf293dc-8ffb-47f7-abae-062996c14c69", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"summary\": \"Short summary regarding an investigaferegretion...\"\r\n}\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigations/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Investigations By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "573c75ba-4d58-477e-b816-8ca5914d4369", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigations/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationGroup", + "item": [ + { + "name": "InvestigationGroups By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "37d262b3-b73c-4f46-953a-2feda0fa6efa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationgroups/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationgroups", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationGroups By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "91cbd68d-43ec-447c-b94e-1cd8a88489b8", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"role\": \"Role of investigation group\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationgroups/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationgroups", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationGroups By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "0b5dd480-d181-4351-a831-838fc135b8e4", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationgroups/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationgroups", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationInstrument", + "item": [ + { + "name": "InvestigationInstruments By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "2f438cba-f1d0-465e-8dd5-e09733099edd", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationinstruments/44", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationinstruments", + "44" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationInstruments By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "b02d3e72-8bfd-4c34-8c96-c3429d7b11a7", + "exec": [ + "pm.test(\"Status: 400\", function () {\r", + " pm.response.to.have.status(400);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"modId\": \"simple/root\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationinstruments/44", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationinstruments", + "44" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationInstruments By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "c080652f-b6af-4799-b058-c2a579429569", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationinstruments/44", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationinstruments", + "44" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationParameter", + "item": [ + { + "name": "InvestigationParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "dd99b829-7ef4-4bb4-bf49-472e8ba897c2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "695152ae-b4ec-4215-bf4a-06de6af1aaa0", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"stringValue\": \"NewStringValue\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "b27f289e-da11-4062-9008-d9d34ba03838", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationType", + "item": [ + { + "name": "InvestigationTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "062e9276-9f2d-4c4c-9950-5d4911a91897", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationtypes/3", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationtypes", + "3" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "e64d5476-f686-4d87-ab23-b3a727d4d194", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Name of investigation type\",\r\n \"description\": \"description of investigation type\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationtypes/3", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationtypes", + "3" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "4745fd6c-5c86-4f17-89b9-f63ba7d06f3e", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationtypes/3", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationtypes", + "3" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationUser", + "item": [ + { + "name": "InvestigationUsers By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "9a6275dd-6e3c-4371-a467-d6fd46da1a37", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationusers/10", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationusers", + "10" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationUsers By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "f643ceff-92a1-49ad-86d5-78f88529f896", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"role\": \"Role of investigation user\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationusers/10", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationusers", + "10" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "InvestigationUsers By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "2c5a3b77-8083-4ac0-872a-3ecb475a685e", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationusers/10", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationusers", + "10" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Job", + "item": [ + { + "name": "Jobs By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "64432de1-1a51-49b5-a981-4895b17fcf04", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/jobs/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "jobs", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Jobs By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "8903c6b1-54aa-44bf-9244-87d5a4ca6afb", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"arguments\": \"String arguments updated...\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/jobs/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "jobs", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Jobs By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "dd84930f-ee63-49fe-b0d5-072af632222c", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/jobs/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "jobs", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Keyword", + "item": [ + { + "name": "Keywords By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "bd7ae51a-0883-45fe-bfd8-342a2e3316c3", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/keywords/28", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "keywords", + "28" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Keywords By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "0c14149d-6046-40e5-a548-9e29c32af922", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Name of keyword updated.\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/keywords/28", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "keywords", + "28" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Keywords By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "acb86dab-9adb-4533-b876-e2fd47c35a59", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/keywords/28", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "keywords", + "28" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "ParameterType", + "item": [ + { + "name": "ParameterTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "7977d6c4-2db0-497c-b321-ba3c23c21ede", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/parametertypes/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "parametertypes", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "ParameterTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "74938375-0c79-4a60-a249-dcd9c481874a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"valueType\": \"STRING\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/parametertypes/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "parametertypes", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "ParameterTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "46ed998b-2638-4441-b62a-4d6ffe9cc3d1", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/parametertypes/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "parametertypes", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "PermissibleStringValue", + "item": [ + { + "name": "PermissibleStringValues By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "d192cda3-70dd-4e20-a54f-4603bc598c4a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/permissiblestringvalues/8", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "permissiblestringvalues", + "8" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "PermissibleStringValues By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "12032b26-3299-4cef-a0fa-5503972989a2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"value\": \"VALUE OF PERMISSIBLESTRINGVALUE\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/permissiblestringvalues/8", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "permissiblestringvalues", + "8" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "PermissibleStringValues By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "0efb4be9-4fae-406f-a6f2-51443610dc9a", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/permissiblestringvalues/8", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "permissiblestringvalues", + "8" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "PublicStep", + "item": [ + { + "name": "PublicSteps By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "75cb7718-2107-48da-9398-0693878c0a53", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publicsteps/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publicsteps", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "PublicSteps By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "b37571be-8cee-4cc5-9e17-5e1031e818aa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"field\": \"Field no more than 32 characters attempt....\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/publicsteps/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publicsteps", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "PublicSteps By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "9028bc57-da9c-4cc1-bf76-ff06c0b8b678", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publicsteps/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publicsteps", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Publication", + "item": [ + { + "name": "Publications By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "1b8eafc6-5bfe-445d-9a15-fb582d77491d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publications/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publications", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Publications By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "2ac8c6db-6326-46df-a304-a9b35de38f50", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"repositoryId\": \"Repo ID string of the publication\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/publications/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publications", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Publications By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "2fe72d37-279e-455d-91a1-b25f74acdc2c", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publications/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publications", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "RelatedDatafile", + "item": [ + { + "name": "RelatedDatafiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "8fe52399-b972-4a1b-a8de-7803a1c148f8", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/relateddatafiles/1", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "relateddatafiles", + "1" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "RelatedDatafiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "941006d5-0e4a-4750-8c0d-d1cd632e9319", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"relation\": \"COPY\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/relateddatafiles/1", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "relateddatafiles", + "1" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "RelatedDatafiles By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "710ba74a-697c-4c9e-b3b7-90081d28290d", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/relateddatafiles/1", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "relateddatafiles", + "1" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Rule", + "item": [ + { + "name": "Rules By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "8c32fae3-babd-4228-aa20-995f15cb368a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/rules/10", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "rules", + "10" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Rules By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "088d1078-93bd-417e-aa9f-153cef482ab9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"crudFlags\": \"C\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/rules/10", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "rules", + "10" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Rules By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "95587434-ccbb-41e2-892e-bdb6b204caae", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/rules/10", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "rules", + "10" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Sample", + "item": [ + { + "name": "Samples By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "2f02cb31-cdde-4d9d-afc9-63baed04d40c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/samples/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "samples", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Samples By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "006fc0ea-0335-47e4-b328-74ef799b3b02", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Sample of name\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/samples/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "samples", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Samples By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "e29c091f-deed-4e16-b3f6-99d7b462f60f", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/samples/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "samples", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "SampleParameter", + "item": [ + { + "name": "SampleParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "a69ec15a-de43-4052-9d53-9dfaaebf1b99", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampleparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampleparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "SampleParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "713b7d0c-0a3b-45c4-8a28-5cffbc1e7cf0", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"error\": 345657.0\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sampleparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampleparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "SampleParameters By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "d1c507d6-109b-49eb-9804-75e4f5f39643", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampleparameters/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampleparameters", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "SampleType", + "item": [ + { + "name": "SampleTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "8dc59159-aa49-41cd-98b8-b42970597c52", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampletypes/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampletypes", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "SampleTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "0dc3b458-4613-4e4d-bdb9-23278a9a638e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Name of sample type\",\r\n \"safetyInformation\": \"Health and safety and all that...\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sampletypes/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampletypes", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "SampleTypes By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "df6d4224-bf3a-424b-a460-1810495ee1dc", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampletypes/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampletypes", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Shift", + "item": [ + { + "name": "Shifts By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "d79a8650-e39e-476b-94d9-67fa7991e21d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/shifts/100", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "100" + ] + } + }, + "response": [ + { + "name": "Shifts By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/shifts/102", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "102" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "395" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Wed, 22 Jul 2020 10:18:03 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 102,\n \"COMMENT\": \"Answer since heart message. Happy mission ok play dog character organization. Theory be region character along artist best.\",\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2003-01-05 13:20:58\",\n \"ENDDATE\": \"2027-01-10 00:00:00\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2011-05-06 16:20:45\",\n \"STARTDATE\": \"2027-02-07 00:00:00\",\n \"INVESTIGATION_ID\": 108\n}" + }, + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Shifts By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "cee44e10-07b8-489f-b1a5-178305983b43", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"comment\": \"my test comment2222\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/shifts/100", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "100" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Shifts By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "b82f8612-e684-4ebb-9637-77d6840e46d5", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/shifts/100", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "100" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Study", + "item": [ + { + "name": "Studies By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "6c614f07-ffcb-4353-806e-a869e9396c35", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studies/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studies", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Studies By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "517ca6cc-8461-45c7-9c38-3d7cd87a0731", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"status\": \"COMPLETE\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/studies/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studies", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Studies By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "734b898e-af6e-4094-a5da-9809cca2255d", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studies/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studies", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "StudyInvestigation", + "item": [ + { + "name": "StudyInvestigations By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "0475abd0-cce6-4835-bc84-fbc510ea9bd5", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studyinvestigations/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studyinvestigations", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "StudyInvestigations By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "bf8ca29f-8b7e-43ff-b816-02d41e243e94", + "exec": [ + "pm.test(\"Status: 400\", function () {\r", + " pm.response.to.have.status(400);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"createId\": \"simple/root\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/studyinvestigations/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studyinvestigations", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "StudyInvestigations By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "78124deb-3250-4604-a9ea-073455af98ac", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studyinvestigations/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studyinvestigations", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "User", + "item": [ + { + "name": "Users By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "3ff1e38d-0793-4c33-b66e-b470a236da45", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/497", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "497" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Users By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "fe987850-087a-4e43-a07a-458fb9eee9a9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"name\": \"new name123\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/users/497", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "497" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Users By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "9acf1038-f9a5-4cba-803c-6352967e2d86", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/497", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "497" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "UserGroup", + "item": [ + { + "name": "UserGroups By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "2f7190c6-fdaa-4f9f-8be0-b23eab9c7ba6", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/usergroups/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "usergroups", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "UserGroups By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "909b1fe9-952c-48c3-b012-fcfb9f57f84a", + "exec": [ + "pm.test(\"Status: 400\", function () {\r", + " pm.response.to.have.status(400);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"createId\": \"simple/root\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/usergroups/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "usergroups", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "UserGroups By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "a6ac9abe-65bd-40d7-8748-1ff1231ed302", + "exec": [ + "pm.test(\"Status: 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "DELETE", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/usergroups/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "usergroups", + "4" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {} + }, + { + "name": "Other Entity Requests", + "item": [ + { + "name": "Application", + "item": [ + { + "name": "Applications By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "a1facd9c-60cc-420f-b88a-caccc2544b76", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/applications", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "applications" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Applications", + "event": [ + { + "listen": "test", + "script": { + "id": "8dce9a50-2bbc-483e-bc9e-7f7c555c6b2b", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Test Name\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/applications", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "applications" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Applications", + "event": [ + { + "listen": "test", + "script": { + "id": "d874a553-cb97-40fe-a1d1-11c0bc5edd67", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My New Application5\",\r\n \"version\": \"Application version 0.01\",\r\n \"facility\": 1\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/applications", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "applications" + ] + } + }, + "response": [] + }, + { + "name": "Count Applications", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "54e73805-65c7-45d0-a13a-68465e319cdd", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "d2f026fd-db1f-4329-9611-9d63fdadb7c9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/applications/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "applications", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Application", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "3a291abc-47ac-4071-8710-4333c64a93a5", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "d5f740c1-07b1-4d5e-8094-352dc8c54f76", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/applications/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "applications", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "e1f974ee-6440-48fe-8394-f004db3d00b0", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "fc9fc87f-4200-4d5a-867c-8c9770ea65e9", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DataCollection", + "item": [ + { + "name": "DataCollections By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "07d74df0-f28e-46dc-9e6e-0a1534bf4662", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollections?where={\"id\":{\"gt\":995}}", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollections" + ], + "query": [ + { + "key": "where", + "value": "{\"id\":{\"gt\":995}}" + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update DataCollections", + "event": [ + { + "listen": "test", + "script": { + "id": "96079549-bb65-4576-bed8-17ff097d1256", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"doi\": \"test DOI\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollections", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollections" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create DataCollections", + "event": [ + { + "listen": "test", + "script": { + "id": "978e51c7-e42e-4f3d-9e18-2e56ca1991cc", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"doi\": \"My new DOI\"\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollections", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollections" + ] + } + }, + "response": [] + }, + { + "name": "Count DataCollections", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "ac52445f-c1b2-4d2f-b1cb-24097e8b76c5", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "ab1f6ebd-e9f7-4acd-a960-a4f429b1456c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollections/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollections", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One DataCollection", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "ec9b88ec-bb18-46da-926d-950753c09b2e", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "82af69e4-7905-4b99-8116-690eb01d7d1a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollections/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollections", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "d4830ca6-26f6-4a3c-8bdd-f2e908fcb2cb", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "25827689-adbb-4c33-9bf6-6511cb37854c", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DataCollectionDatafile", + "item": [ + { + "name": "DataCollectionDatafiles By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "25f49a6b-6d6c-4724-ae81-9102f1e82194", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatafiles" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update DataCollectionDatafiles", + "event": [ + { + "listen": "test", + "script": { + "id": "303e951c-0a46-49b0-ba2c-8e78c9ea767e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatafiles" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create DataCollectionDatafiles", + "event": [ + { + "listen": "test", + "script": { + "id": "14b68008-c371-4f13-81b0-4374a62e4e1d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"dataCollection\": 4,\r\n \"datafile\": 10\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatafiles" + ] + } + }, + "response": [] + }, + { + "name": "Count DataCollectionDatafiles", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "d0c052e4-550b-423d-a9f7-c748bc711f26", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "b84693e9-aa99-4330-a91c-907a1a0258f9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatafiles/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatafiles", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One DatacollectionDatafile", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "cd9d2572-22ac-4617-aad0-326821f20c34", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "ef4ed756-6f46-485e-acdd-ea0f76173aad", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatafiles/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatafiles", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "7282ab14-a6eb-4efa-a78e-a7b76be06ba4", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "f8e34930-7148-4071-ac49-738e3fd2d597", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DataCollectionDataset", + "item": [ + { + "name": "DataCollectionDatasets By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "bac48433-ef15-48e4-8547-738bda44a3c9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatasets", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatasets" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update DataCollectionDatasets", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "e5aed12e-e8ca-47d2-b393-6a332846fcbd", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "1436884a-86d7-40db-a237-5d97d935822c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatasets", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatasets" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create DataCollectionDatasets", + "event": [ + { + "listen": "test", + "script": { + "id": "09f65736-e387-4ffc-a027-feee6ee95aff", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"dataset\": 4,\r\n \"dataCollection\": 8\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatasets", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatasets" + ] + } + }, + "response": [] + }, + { + "name": "Count DataCollectionDatasets", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "d95db506-cf49-4800-b794-89ef1d52f281", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "8d5b3102-ebf8-48af-a512-0fd40b5e8a64", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatasets/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatasets", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One DatacollectionDataset", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "10c16598-e40e-44e0-93ed-73077d32d86b", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "86675cc6-5a22-4247-9654-ee7ad9f1d390", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectiondatasets/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectiondatasets", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "d79803e3-b74f-41c5-be20-ec1e306e2129", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "e7553813-aa6a-4baf-8de6-5ab2ec14792b", + "type": "text/javascript", + "exec": [ + "pm.test(\"Status: 200\", function () {", + " pm.response.to.have.status(200);", + "});" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DataCollectionParameter", + "item": [ + { + "name": "DataCollectionParameters By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "8e2e107b-9485-45d7-9118-f8fb4588eb19", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectionparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectionparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update DataCollectionParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "4da6862d-3b8b-410e-9614-5b17095c4bd7", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"stringValue\": \"try100\",\r\n \"error\": 36221.0\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectionparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectionparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create DataCollectionParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "e9fa05ff-556a-4594-b11a-2ade2f85e3ef", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"stringValue\": \"My String Value...\",\r\n \"rangeTop\": 3.0,\r\n \"rangeBottom\": 10.5,\r\n \"dateTimeValue\": \"2020-07-10 12:23:34\",\r\n \"error\": 135607.0,\r\n \"numericValue\": 3.0,\r\n \"dataCollection\": 6,\r\n \"type\": 13\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datacollectionparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectionparameters" + ] + } + }, + "response": [] + }, + { + "name": "Count DataCollectionParameters", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "c8434903-6db6-450a-8e18-30ebe445b6ac", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "13a66a70-a01e-4dd5-99b3-b2142265e081", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectionparameters/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectionparameters", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One DataCollectionParameter", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "32507639-029d-4951-bbc7-8a0d7038be76", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "c05f4978-0af3-4731-a260-5e421d157e01", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datacollectionparameters/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datacollectionparameters", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "cf7b24e6-0dd2-4d8a-8ea2-c507c36df4b6", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "12d64703-96ed-4c40-b2c9-b881c6e10b43", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Datafile", + "item": [ + { + "name": "Datafiles By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "2c989820-89d8-4e4d-9b84-8d4e8d92f3ff", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafiles" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Datafiles", + "event": [ + { + "listen": "test", + "script": { + "id": "51ea5e04-2b7a-4720-8937-77b0db6666e9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"fileSize\": 2147483648849848\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafiles" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Datafiles", + "event": [ + { + "listen": "test", + "script": { + "id": "83e19d8c-de1f-472d-b0aa-3193892f6ea5", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My new datafile12\",\r\n \"fileSize\": 40540960605490,\r\n \"location\": \"Logical location of the file\",\r\n \"datafileModTime\": \"2020-10-20 20:20:20\",\r\n \"dataset\": 3,\r\n \"datafileFormat\": 2\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafiles" + ] + } + }, + "response": [] + }, + { + "name": "Count Datafiles", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "6d8d351a-b976-4d89-8052-5f6dbf70aebf", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "da2a5d45-05ac-4ad7-80b1-b0b5f403974c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafiles/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafiles", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Datafile", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "0d0cb90e-e705-44e4-9789-1ba077d56061", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "9bd10ebc-e455-44ca-b644-d2c948c04459", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafiles/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafiles", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "fac9a2a9-7106-4c03-96bd-6800505fbd2f", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "8448cb0b-5ce8-4cc6-aba8-c10163b1ed6f", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DatafileFormat", + "item": [ + { + "name": "DatafileFormats By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "f5a118c2-30d7-4a10-93d4-727968f4bfb7", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileformats", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileformats" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update DatafileFormats", + "event": [ + { + "listen": "test", + "script": { + "id": "265475e0-6186-47c7-9732-5a9d902f1deb", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"Example description of a datafileformat\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafileformats", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileformats" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create DatafileFormats", + "event": [ + { + "listen": "test", + "script": { + "id": "0ba3d871-2f5e-4788-ad36-47405221d5ef", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My New Datafile forma1t\",\r\n \"description\": \"nice little description\",\r\n \"version\": \"0.10.0.0.0.1\",\r\n \"type\": \"text\",\r\n \"facility\": 1\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafileformats", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileformats" + ] + } + }, + "response": [] + }, + { + "name": "Count DatafileFormats", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "458f02f4-ece5-4b40-8530-51410aa3e46a", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "dc6a1250-6267-4c3c-9c7f-90a9cec6dbc0", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileformats/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileformats", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One DatafileFormat", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "b2994b37-3cf2-4c22-b506-500ba01ab12a", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "c0662dac-293f-43c3-bd77-e8e96c2803df", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileformats/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileformats", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "79df7162-2bec-4ad1-ad01-0d780a18b987", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "8c4b2c87-c1de-4620-b2d6-21a64ae0d8b1", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DatafileParameter", + "item": [ + { + "name": "DatafileParameters By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "a0383285-cce4-4f75-b216-5c58d6f80e49", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update DatafileParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "df837f3e-a2dc-4d52-b364-3b308b031467", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"stringValue\": \"New String Value\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafileparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create DatafileParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "5150a7af-13fe-43aa-8eee-e99edf270891", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"stringValue\": \"value 2\",\r\n \"datafile\": 1,\r\n \"type\": 2\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datafileparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileparameters" + ] + } + }, + "response": [] + }, + { + "name": "Count DatafileParameters", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "0c823ff8-4587-40ca-8852-edc9e8430448", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "c5681c2e-9eba-4059-8842-95b2781d34c9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileparameters/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileparameters", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One DatafileParameter", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "ede5a9e5-7974-4647-9021-14bf71beed85", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "d5cf8e85-0b65-4977-b1b9-f090ecffebd4", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datafileparameters/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datafileparameters", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "c4aabf55-c790-4cda-b7fc-9fff9fd3a9ee", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "17da6f5a-856e-4ede-92cc-813b8b7ab055", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Dataset", + "item": [ + { + "name": "Datasets By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "b2a85bda-5382-44eb-9c08-7b8472eb0516", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasets", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasets" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Datasets", + "event": [ + { + "listen": "test", + "script": { + "id": "f6d619c1-ad3d-44de-b425-680987bbaea4", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"startDate\": \"2014-06-01 15:00:15\",\r\n \"complete\": true\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasets", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasets" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Datasets", + "event": [ + { + "listen": "test", + "script": { + "id": "c174ea12-558b-4d6f-bec9-fef385bee6c5", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"Dataset Name1\",\r\n \"location\": \"/root/my/dir\",\r\n \"complete\": true,\r\n \"investigation\": 22,\r\n \"type\": 3,\r\n \"sample\": 5\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasets", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasets" + ] + } + }, + "response": [] + }, + { + "name": "Count Datasets", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "387001ed-cdde-4766-96f0-80109b4b799f", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "8c16e6b8-829d-421d-aa1d-aa19aae74e15", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasets/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasets", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Dataset", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "6898751c-0c09-43f0-bf2e-eaf153d1a441", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "5a226ded-2b70-4e26-b99d-fbbfebb0e74c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasets/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasets", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DatasetParameter", + "item": [ + { + "name": "DatasetParameters By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "4ddefddc-ed93-4e66-b338-d0d27f890b0c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasetparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasetparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update DatasetParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "01388a71-d05e-405c-9c30-4dd2b0431959", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"stringValue\": \"String value for datasetparameter\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasetparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasetparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create DatasetParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "79e11e48-5ac4-4952-a4c9-3ddca3978ba7", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"stringValue\": \"value 2\",\r\n \"type\": 2,\r\n \"dataset\": 2\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasetparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasetparameters" + ] + } + }, + "response": [] + }, + { + "name": "Count DatasetParameters", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "5526c100-fa84-40c8-a1f3-971c1cf1cf34", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "8f0525f5-2753-49ae-b499-665e59b7d07c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasetparameters/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasetparameters", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One DatasetParameter", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "84a587c9-4d7a-4d59-a17d-45a053e285be", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "36b461f5-bb51-4234-9e09-6be71272f89a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasetparameters/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasetparameters", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "f1d480f0-60e8-4972-b7bd-67b725d254ab", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "93d7fb99-4b49-4378-82d7-af0ff725c0e4", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "DatasetType", + "item": [ + { + "name": "DatasetTypes By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "8d9eeb13-da8b-402f-b78f-bbf4d45af149", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasettypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasettypes" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update DatasetTypes", + "event": [ + { + "listen": "test", + "script": { + "id": "710d7bca-04a1-4eb4-aa87-23aaa59b20c3", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"New description for a dataset type\" \r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasettypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasettypes" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create DatasetTypes", + "event": [ + { + "listen": "test", + "script": { + "id": "c0af4fcf-8740-4e3e-8d22-72e0485680c0", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My New Dataset Type\",\r\n \"description\": \"This is a brand new dataset type, state of the art.....\",\r\n \"facility\": 1\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/datasettypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasettypes" + ] + } + }, + "response": [] + }, + { + "name": "Count DatasetTypes", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "e01ff4dc-33a4-46dc-a34d-71b31b919d6f", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "d1f57685-cac5-449c-badf-e7522e9ccdaa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasettypes/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasettypes", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One DatasetType", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "5aa396be-23e7-44e4-975d-8adc52146d33", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "bf6caadd-8dcd-4197-896d-672a139bb2b0", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/datasettypes/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "datasettypes", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Facility", + "item": [ + { + "name": "Facilities By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "a366872b-b5c5-481e-97b5-2b1b8cb2dc29", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilities", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilities" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Facilities", + "event": [ + { + "listen": "test", + "script": { + "id": "4166297b-4706-401a-b81a-4aa4b6c02f43", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"daysUntilRelease\": 1825\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/facilities", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilities" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Facilities", + "event": [ + { + "listen": "test", + "script": { + "id": "7e495ce5-18a1-444b-8ccb-ffacf25d5c63", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My Test Facility123\",\r\n \"daysUntilRelease\": 500,\r\n \"fullName\": \"My Development Test Facility\"\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/facilities", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilities" + ] + } + }, + "response": [] + }, + { + "name": "Count Facilities", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "3b74eb8b-f372-41d8-9d17-63d712723f8b", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "9b5231c9-4765-4198-90be-641cc7e082e3", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilities/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilities", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Facility", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "f7a0f73e-fbdc-4781-a09f-e0bea14e8a6b", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "76892690-934d-450a-a5dd-03b57f6819e2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilities/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilities", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "FacilityCycle", + "item": [ + { + "name": "FacilityCycles By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "75c49599-2615-4c88-8acf-874e3c0b3c6b", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilitycycles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilitycycles" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update FacilityCycles", + "event": [ + { + "listen": "test", + "script": { + "id": "b1b8daea-e845-428d-9f0f-c03f4c914bf6", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"New Facility Cycle Name\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/facilitycycles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilitycycles" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create FacilityCycles", + "event": [ + { + "listen": "test", + "script": { + "id": "66f70764-8a8b-4dde-bb47-7f00d5b29608", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My New Facility Cycle\",\r\n \"startDate\": \"2014-04-05 12:34:56\",\r\n \"facility\": 2\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/facilitycycles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilitycycles" + ] + } + }, + "response": [] + }, + { + "name": "Count FacilityCycles", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "64c03c32-9ede-43ad-a682-3049e44379f7", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "a205f126-aecc-4203-826d-4731e31d3d10", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilitycycles/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilitycycles", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One FacilityCycles", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "7eb53e4b-a41e-497e-873a-4fbb66ed66f6", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "26ba2d09-3541-4d0e-bb50-2df511075088", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/facilitycycles/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "facilitycycles", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Grouping", + "item": [ + { + "name": "Groupings By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "86c1eb5f-48ce-4689-99cf-8465c376a3ba", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/groupings", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "groupings" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Groupings", + "event": [ + { + "listen": "test", + "script": { + "id": "59223757-30ba-404a-a8d9-cbabdded07ec", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Updated Grouping Name\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/groupings", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "groupings" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Groupings", + "event": [ + { + "listen": "test", + "script": { + "id": "261e1390-129c-44d9-81b0-c51a66fddd8e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My New Grouping1\"\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/groupings", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "groupings" + ] + } + }, + "response": [] + }, + { + "name": "Count Groupings", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "43216eec-7a40-4643-a619-f85dae21d9c9", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "7c384cf2-a056-4595-a669-d54604ee668e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/groupings/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "groupings", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Grouping", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "708442c1-39bf-481b-892a-fb4ca1cda088", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "123091c2-baf1-44a9-8ade-39b84e728b12", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/groupings/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "groupings", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Instrument", + "item": [ + { + "name": "Instruments By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "5ccd10dd-0bf6-45b5-90af-3918fd16802f", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Instruments", + "event": [ + { + "listen": "test", + "script": { + "id": "c11b4666-3b84-42fc-8a48-22b4a9e06f52", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"fullName\": \"Full Name of an instrument\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/instruments", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Instruments", + "event": [ + { + "listen": "test", + "script": { + "id": "69bdae1f-9f30-4e0b-940e-c3a78701a009", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My New Scientific Instrumen1t\",\r\n \"url\": \"mynewscientificinstrument.com\",\r\n \"facility\": 1\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/instruments", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments" + ] + } + }, + "response": [] + }, + { + "name": "Count Instruments", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "06f9ff59-e30a-4d61-b6c5-3ab7ef82434c", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "d8bc023e-e1df-4455-bc70-2ddcfa751a75", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Instrument", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "5148698d-d8e9-424c-934a-57e6b59d9dc1", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "989c1dd7-fd4c-4f86-a09c-5e0258370ca4", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InstrumentScientist", + "item": [ + { + "name": "InstrumentScientists By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "45912883-70b7-4d9d-bee6-b41a0672e516", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instrumentscientists", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instrumentscientists" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update InstrumentScientists", + "event": [ + { + "listen": "test", + "script": { + "id": "e5e7c3e3-6748-4f85-a1b3-ec3080da2433", + "exec": [ + "pm.test(\"Status: 400\", function () {\r", + " pm.response.to.have.status(400);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"modId\": \"simple/root\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/instrumentscientists", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instrumentscientists" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create InstrumentScientists", + "event": [ + { + "listen": "test", + "script": { + "id": "a1feadb9-5079-42c9-a822-ce8bc85ea0ac", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"user\": 456,\r\n \"instrument\": 2\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/instrumentscientists", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instrumentscientists" + ] + } + }, + "response": [] + }, + { + "name": "Count InstrumentScientists", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "bba8ca9f-8edf-4c12-85ea-c3f05cd0c20d", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "6865922e-1c34-469c-a0a6-9ce366049eb8", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instrumentscientists/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instrumentscientists", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One InstrumentScientist", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "eb5de760-6626-4b00-a4ef-2134fd94bcbf", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "3651fc4b-43c1-4098-91ef-50fcb7af462a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instrumentscientists/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instrumentscientists", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Investigation", + "item": [ + { + "name": "Investigations By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "e56c2482-b9e8-418a-b967-1fcf09e0ab7b", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigations?where={\"id\": {\"eq\":8}}", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations" + ], + "query": [ + { + "key": "distinct", + "value": "\"ID\"", + "disabled": true + }, + { + "key": "distinct", + "value": "[\"name\", \"title\"]", + "disabled": true + }, + { + "key": "where", + "value": "{\"title\": {\"like\":\"dog\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"eq\":8}}" + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Investigations", + "event": [ + { + "listen": "test", + "script": { + "id": "a421bfe7-d53c-4dc1-8a88-ea47673c53cf", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 90,\r\n \"summary\": \"Short summary regarding an investigation.......3.\",\r\n \"releaseDate\": \"2019-03-30 12:45:32\",\r\n \"startDate\": \"2020-05-05 12:24:37\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigations", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Investigations", + "event": [ + { + "listen": "test", + "script": { + "id": "86c6b295-fd62-428e-bebb-379b558e55f7", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"My New Investigation12\",\r\n \"title\": \"My New Investigation with Title\",\r\n \"summary\": \"Short summary regarding an investigation........\",\r\n \"releaseDate\": \"2019-03-30 12:45:32\",\r\n \"startDate\": \"2020-05-05 12:24:37\",\r\n \"endDate\": \"2020-05-07 23:43:45\",\r\n \"visitId\": \"Visit ID..\",\r\n \"facility\": 2,\r\n \"type\": 2\r\n },\r\n {\r\n \"name\": \"My New Investigation13\",\r\n \"title\": \"My New Investigation with Title\",\r\n \"summary\": \"Short summary regarding an investigation........\",\r\n \"releaseDate\": \"2019-03-30 12:45:32\",\r\n \"startDate\": \"2020-05-05 12:24:37\",\r\n \"endDate\": \"2020-05-07 23:43:45\",\r\n \"visitId\": \"Visit ID..\",\r\n \"facility\": 2,\r\n \"type\": 2\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigations", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations" + ] + } + }, + "response": [] + }, + { + "name": "Count Investigations", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "ef76a45c-c05c-49ea-8f89-71fa3924e265", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "f73eaf1d-dd61-40c3-8c10-df414e95e958", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigations/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Investigation", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "a23b4cad-2d04-4f88-a817-49cdb1c1f6f9", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "d268049e-6c6d-48c0-b973-cdc44e90398d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigations/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationGroup", + "item": [ + { + "name": "InvestigationGroups By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "d0b1e7ed-e108-4236-97c4-d191dfdb2f18", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationgroups", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationgroups" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update InvestigationGroups", + "event": [ + { + "listen": "test", + "script": { + "id": "8a14c06c-a7f0-4267-b5ee-b1059072ce3f", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"role\": \"Role of investigation group\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationgroups", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationgroups" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create InvestigationGroups", + "event": [ + { + "listen": "test", + "script": { + "id": "90351e88-b923-4c62-a289-86c702c7b3b9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"role\": \"Position of the members regarding the investigation\",\r\n \"investigation\": 45,\r\n \"grouping\": 8\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationgroups", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationgroups" + ] + } + }, + "response": [] + }, + { + "name": "Count InvestigationGroups", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "1a262202-7e76-45ae-aa24-2e9248b58a7f", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "f7371e19-6459-477c-9105-b585797d4ed8", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationgroups/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationgroups", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One InvestigationGroup", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "8132ddc3-9622-45a9-898c-b6724eb5e6df", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "7c36bb62-d96f-44d5-aafe-4ebaff291ee0", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationgroups/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationgroups", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationInstrument", + "item": [ + { + "name": "InvestigationInstruments By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "6f076ebd-dadd-42f7-9e3c-f96ba2395ffa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationinstruments?include=\"instrument\"&where={\"instrument.id\": {\"in\": [1, 2, 3, 4, 5]}}&order=\"instrument.id desc\"&order=\"id asc\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationinstruments" + ], + "query": [ + { + "key": "include", + "value": "\"instrument\"" + }, + { + "key": "where", + "value": "{\"instrument.id\": {\"in\": [1, 2, 3, 4, 5]}}" + }, + { + "key": "order", + "value": "\"instrument.id desc\"" + }, + { + "key": "order", + "value": "\"id asc\"" + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update InvestigationInstruments", + "event": [ + { + "listen": "test", + "script": { + "id": "f8704d00-c0ec-4bf0-b087-1a85dec1927c", + "exec": [ + "pm.test(\"Status: 400\", function () {\r", + " pm.response.to.have.status(400);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"modId\": \"simple/root\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationinstruments", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationinstruments" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create InvestigationInstruments", + "event": [ + { + "listen": "test", + "script": { + "id": "5d214dd4-33cd-41a5-ad74-b250edeba6fa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"investigation\": 5,\r\n \"instrument\": 8\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationinstruments", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationinstruments" + ] + } + }, + "response": [] + }, + { + "name": "Count InvestigationInstruments", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "c1adbe21-fc1a-4059-8eb5-f28ea87b8360", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "030127eb-0a86-44af-9cdb-ef90a9a4d07a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationinstruments/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationinstruments", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One InvestigationInstrument", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "6bfe9bdf-de89-46f0-9973-8095b3a2c018", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "e8c0bd2b-878c-4b92-a9f9-9a28ed794f75", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationinstruments/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationinstruments", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationParameter", + "item": [ + { + "name": "InvestigationParameters By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "5c00b4af-3144-4ec7-80ee-12ceafa5fd35", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update InvestigationParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "0d3d17c8-38cd-4eeb-be5d-084ab42a3fe6", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"stringValue\": \"NewStringValue\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create InvestigationParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "c098f3e4-62cc-4b6f-8ba5-7f4c4fd8d6a9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"stringValue\": \"Example string value...\",\r\n \"rangeTop\": 3456.0,\r\n \"rangeBottom\": 4.5,\r\n \"investigation\": 34,\r\n \"type\": 50\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationparameters" + ] + } + }, + "response": [] + }, + { + "name": "Count InvestigationParameters", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "6022d631-31fb-4a30-98e6-e063d04e63ab", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "a8f6d578-2122-45c3-809a-ca163ee2a4bb", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationparameters/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationparameters", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One InvestigationParameters", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "5ba17970-1958-453c-a88e-77afb0068ea2", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "328d1d5d-2f90-4a48-9953-af9e6d963f9a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationparameters/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationparameters", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationType", + "item": [ + { + "name": "InvestigationTypes By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "732ae740-6192-46cf-b23d-01738743d7bf", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationtypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationtypes" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update InvestigationTypes", + "event": [ + { + "listen": "test", + "script": { + "id": "d21185b4-aaa4-46fb-89da-2d7308d20ce1", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Name of investigation type\",\r\n \"description\": \"description of investigation type\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationtypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationtypes" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create InvestigationTypes", + "event": [ + { + "listen": "test", + "script": { + "id": "cb02da2f-f972-43fe-b466-cd362c430a90", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"Example Investigation Typ1e\",\r\n \"facility\": 1\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationtypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationtypes" + ] + } + }, + "response": [] + }, + { + "name": "Count InvestigationTypes", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "17fcac5d-5930-4372-ab08-d02aeac05320", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "101aeb1f-9d59-42f3-aea9-90ad41176b98", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationtypes/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationtypes", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One InvestigationType", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "7ad383be-0c62-4e73-a0fc-bbbc770c6e78", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "4bf60ec5-d05a-4062-85d6-8e311b829fda", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationtypes/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationtypes", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "InvestigationUser", + "item": [ + { + "name": "InvestigationUsers By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "60e1b0f7-dbde-41b4-80ee-3940d0bff57e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationusers", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationusers" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update InvestigationUsers", + "event": [ + { + "listen": "test", + "script": { + "id": "74a2f887-5885-4355-80b7-6bf7c1697a2d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"role\": \"Role of investigation user\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationusers", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationusers" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create InvestigationUsers", + "event": [ + { + "listen": "test", + "script": { + "id": "9cac23ce-d138-4cf8-bfee-18f484928963", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"role\": \"Role of an investigation user...1\",\r\n \"investigation\": 1,\r\n \"user\": 40\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/investigationusers", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationusers" + ] + } + }, + "response": [] + }, + { + "name": "Count InvestigationUsers", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "e45cf902-0216-4aa0-bee8-6b877b153b54", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "48bde646-9ef7-4ad8-8de5-c5bfc7a0141e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationusers/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationusers", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One InvestigationUser", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "1c8fa6f1-d124-49d6-8906-e97af89a3a2b", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "4d47c6be-810a-45d2-b294-1e96b42efd5e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/investigationusers/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigationusers", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Job", + "item": [ + { + "name": "Jobs By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "8d05a1af-e6bd-483f-ad7f-28e39c75fa4e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/jobs", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "jobs" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Jobs", + "event": [ + { + "listen": "test", + "script": { + "id": "34671830-536c-4a72-a6f6-16a210a00068", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"arguments\": \"String arguments updated...\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/jobs", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "jobs" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Jobs", + "event": [ + { + "listen": "test", + "script": { + "id": "971710a7-f31f-4c0d-8ac0-54cce7748d03", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"arguments\": \"Many, many arguments...\",\r\n \"application\": 2,\r\n \"inputDataCollection\": 4,\r\n \"outputDataCollection\": 10\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/jobs", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "jobs" + ] + } + }, + "response": [] + }, + { + "name": "Count Jobs", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "52e912e3-f847-49f4-ba5f-568d23fcd728", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "a08dafe6-a18d-4e04-a902-0ac94d093eb2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/jobs/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "jobs", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Job", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "811e9adc-bec5-4688-93bb-8a2193527467", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "e23a726f-f413-4518-b0f4-ad7c561955bd", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/jobs/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "jobs", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Keyword", + "item": [ + { + "name": "Keywords By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "ca30a51e-7462-4cbd-bc00-e2ff1fbfc22f", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(500);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/keywords", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "keywords" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Keywords", + "event": [ + { + "listen": "test", + "script": { + "id": "064c2779-2956-4097-b86f-9f38cdcc5ae7", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Name of keyword updated.\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/keywords", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "keywords" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Keywords", + "event": [ + { + "listen": "test", + "script": { + "id": "5399afe3-f4d8-42b0-8080-96fc4eb56b50", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"Example Keyword..\",\r\n \"investigation\": 6\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/keywords", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "keywords" + ] + } + }, + "response": [] + }, + { + "name": "Count Keywords", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "6054130c-7524-41ab-8fed-729406dfd81d", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "310f8ced-8929-4b05-93de-f4e3848ffbe1", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/keywords/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "keywords", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Keyword", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "dbec880f-83ed-4f5c-afb9-dcfda832a79f", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "ba8df30a-dfaf-44a8-a9fa-773a066ad030", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/keywords/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "keywords", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "ParameterType", + "item": [ + { + "name": "ParameterTypes By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "629fc626-787c-443a-a2f3-9302979443f4", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/parametertypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "parametertypes" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update ParameterTypes", + "event": [ + { + "listen": "test", + "script": { + "id": "e0eadb51-0aa8-4af7-a634-011e077a491d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"valueType\": \"STRING\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/parametertypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "parametertypes" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create ParameterTypes", + "event": [ + { + "listen": "test", + "script": { + "id": "7037d8e2-4e6b-4406-a802-b588f1562cf1", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"Example Parameter Type...\",\r\n \"units\": \"Parameter type units\",\r\n \"valueType\": \"STRING\",\r\n \"applicableToDataset\": true,\r\n \"applicableToInvestigation\": true,\r\n \"facility\": 1\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/parametertypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "parametertypes" + ] + } + }, + "response": [] + }, + { + "name": "Count ParameterTypes", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "839cc129-2b54-49ba-bf11-b7ca9c43f086", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "36a36d91-2f6a-4e4d-8356-13bf26225ab2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/parametertypes/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "parametertypes", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One ParameterType", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "124d4985-27ca-4257-ac2f-6c7abec5c6a4", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "d21de205-cffa-41a0-a231-6d29c27312ee", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/parametertypes/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "parametertypes", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "PermissibleStringValue", + "item": [ + { + "name": "PermissibleStringValues By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "3c7ead07-71bd-4133-8f3c-913480718e83", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/permissiblestringvalues", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "permissiblestringvalues" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update PermissibleStringValues", + "event": [ + { + "listen": "test", + "script": { + "id": "2a9d52f1-c5a0-4bed-9bfa-9694b233c3ac", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"value\": \"VALUE OF PERMISSIBLESTRINGVALUE\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/permissiblestringvalues", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "permissiblestringvalues" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create PermissibleStringValues", + "event": [ + { + "listen": "test", + "script": { + "id": "397e4ece-3381-434a-9a98-08412e33d5d1", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"value\": \"Value of string1\",\r\n \"type\": 4\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/permissiblestringvalues", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "permissiblestringvalues" + ] + } + }, + "response": [] + }, + { + "name": "Count PermissibleStringValues", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "6d2212f4-f138-4caa-8681-972e315eb4be", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "3a8b5864-bfdf-42ef-9240-ce62a2ec9a80", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/permissiblestringvalues/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "permissiblestringvalues", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One PermissibleStringValue", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "35bd509b-bcf4-4fd4-9fea-db49b3f18eec", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "1d7c1830-083f-43ac-b287-dc1ceec20476", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/permissiblestringvalues/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "permissiblestringvalues", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "PublicStep", + "item": [ + { + "name": "PublicSteps By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "e2d32d5b-38b4-4fdc-9c4d-31f58c4fc6bb", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publicsteps", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publicsteps" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update PublicSteps", + "event": [ + { + "listen": "test", + "script": { + "id": "f0f5d07d-ebb6-41aa-b153-a043e2159548", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"field\": \"Field no more than 32 characters attempt....\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/publicsteps", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publicsteps" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create PublicSteps", + "event": [ + { + "listen": "test", + "script": { + "id": "0def1b99-1394-45de-ba1a-1e67c199e9e2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"field\": \"grouping\",\r\n \"origin\": \"Rule\"\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/publicsteps", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publicsteps" + ] + } + }, + "response": [] + }, + { + "name": "Count PublicSteps", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "b806734b-825f-436a-9d6d-04509e1326f9", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "6b62845f-2162-4fad-b1e4-1a3dcb681d38", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publicsteps/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publicsteps", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One PublicSteps", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "06320cad-3b8b-46fa-b130-7d3df76d2e32", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "989f2d18-169e-4fc2-96d9-e94ba324a3fd", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publicsteps/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publicsteps", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Publication", + "item": [ + { + "name": "Publications By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "f1c5af70-77eb-4ab6-af43-603d896942d7", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publications", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publications" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Publications", + "event": [ + { + "listen": "test", + "script": { + "id": "bf958ac3-f27a-4be1-b206-cd10a41375f7", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"repositoryId\": \"Repo ID string of the publication\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/publications", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publications" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Publications", + "event": [ + { + "listen": "test", + "script": { + "id": "7a47a7e4-ad98-440b-8baf-019bb4da56aa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"doi\": \"Example DOI\",\r\n \"url\": \"Publication URL\",\r\n \"fullReference\": \"Full entire reference of a publication...\",\r\n \"investigation\": 5\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/publications", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publications" + ] + } + }, + "response": [] + }, + { + "name": "Count Publications", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "c133f7c7-44d3-4be9-b55e-eb0ee1be1da1", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "98710151-0f10-4e01-bab1-11e4db2ffedf", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publications/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publications", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Publication", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "69b62de6-ded5-4864-9935-9b1d5a9687e2", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "78eb830e-175a-498e-88c1-73ebea186299", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/publications/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "publications", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "RelatedDatafile", + "item": [ + { + "name": "RelatedDatafiles By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "2f69f07f-0ee1-4728-abde-2aba9a292f4d", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/relateddatafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "relateddatafiles" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update RelatedDatafiles", + "event": [ + { + "listen": "test", + "script": { + "id": "dbdff1fa-4d95-4aac-b352-4e8579a3db11", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"relation\": \"COPY\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/relateddatafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "relateddatafiles" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create RelatedDatafiles", + "event": [ + { + "listen": "test", + "script": { + "id": "52f7ac69-4790-4ac3-85f4-e6278b98d03c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"relation\": \"COPY\",\r\n \"sourceDatafile\": 5,\r\n \"destDatafile\": 7\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/relateddatafiles", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "relateddatafiles" + ] + } + }, + "response": [] + }, + { + "name": "Count RelatedDatafiles", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "173ba461-c4ab-427d-be92-ac43125af5f8", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "f9842ff4-8b73-4c53-9a91-f03cc2832268", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/relateddatafiles/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "relateddatafiles", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One RelatedDatafiles", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "e7f15e74-7852-431a-b8b6-481b3499ad9a", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "a7db2ac7-61be-4458-bda6-0af32f8bfab9", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/relateddatafiles/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "relateddatafiles", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Rule", + "item": [ + { + "name": "Rules By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "47d8e18b-05d7-44ce-9246-287825c7b812", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/rules", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "rules" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Rules", + "event": [ + { + "listen": "test", + "script": { + "id": "fa61bd84-26f6-44c3-9666-638fe4a9e10e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"crudFlags\": \"C\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/rules", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "rules" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Rules", + "event": [ + { + "listen": "test", + "script": { + "id": "daf2b68f-45d4-4bd2-bf95-61a89e12acaf", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"crudFlags\": \"CR\",\r\n \"what\": \"Investigation\",\r\n \"grouping\": 6\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/rules", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "rules" + ] + } + }, + "response": [] + }, + { + "name": "Count Rules", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "6e314830-2de0-4c1b-ae9e-0fa4fdf8429d", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "7c7e4d87-c99d-41c1-bc49-d734051c3cb1", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/rules/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "rules", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Rule", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "724678e5-65a7-477b-a9b6-5d33d1f6c247", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "e87dca2f-3eb1-4e9c-86ea-164afd3b09af", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/rules/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "rules", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Sample", + "item": [ + { + "name": "Samples By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "d78c8e10-b449-4efd-9aa2-328b7d791eff", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/samples", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "samples" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Samples", + "event": [ + { + "listen": "test", + "script": { + "id": "dd880d3b-8c5a-4817-afa0-40387948a486", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Sample of name\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/samples", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "samples" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Samples", + "event": [ + { + "listen": "test", + "script": { + "id": "19f8cb84-8520-4366-af10-df5b2316f018", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"Example Sample...\",\r\n \"investigation\": 43,\r\n \"type\": 4\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/samples", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "samples" + ] + } + }, + "response": [] + }, + { + "name": "Count Samples", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "3fb9c7a6-9e86-4f46-b5dd-0d5b83fa1abd", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "3438e430-b9fb-4e5e-9ed0-875e94fa222e", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/samples/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "samples", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Sample", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "530957c4-0988-4a52-9353-4f1c96e249ce", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "b38166bf-e3ba-43d6-8ac9-f7e41849eac2", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/samples/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "samples", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "SampleParameter", + "item": [ + { + "name": "SampleParameters By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "0140a293-a72a-46df-a675-7b6b01100f2b", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampleparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampleparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update SampleParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "6d21069d-cc62-4eb1-bb31-d5355ed75321", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"error\": 345657.0\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sampleparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampleparameters" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create SampleParameters", + "event": [ + { + "listen": "test", + "script": { + "id": "4043f987-bae8-4562-ae7b-ea6ef1eb8123", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"stringValue\": \"value 2\",\r\n \"sample\": 4,\r\n \"type\": 2\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sampleparameters", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampleparameters" + ] + } + }, + "response": [] + }, + { + "name": "Count SampleParameters", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "582879b7-fe54-44b7-87db-bc869c6ee30d", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "877449eb-d096-46b4-814e-1d01555c39b3", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampleparameters/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampleparameters", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One SampleParameter", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "8517f331-cd64-44af-abf2-3a34512a59d5", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "11bcd35d-6a42-4493-bd4e-d406374e63df", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampleparameters/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampleparameters", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "SampleType", + "item": [ + { + "name": "SampleTypes By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "19046218-86f0-4849-99d1-1131b1647407", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampletypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampletypes" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update SampleTypes", + "event": [ + { + "listen": "test", + "script": { + "id": "0c4457a4-1b6a-43c9-9a0d-2c811db92a9f", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"Name of sample type\",\r\n \"safetyInformation\": \"Health and safety and all that...\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sampletypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampletypes" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create SampleTypes", + "event": [ + { + "listen": "test", + "script": { + "id": "68f8a542-4844-494a-9a48-b85d2d8e1b93", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"Example Sample Typ2e...\",\r\n \"molecularFormula\": \"C3H5O2D4G5\",\r\n \"facility\": 1\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sampletypes", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampletypes" + ] + } + }, + "response": [] + }, + { + "name": "Count SampleTypes", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "d65a743a-5ffc-4195-b24e-5845ddd4a204", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "1df2bd64-7245-4b61-a8e3-39f16d8e5193", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampletypes/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampletypes", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One SampleType", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "e5e3b6d1-4a74-4c88-9d3c-536677b92bab", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "bec61a28-fe8e-4b2f-9758-afc423a758ca", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sampletypes/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sampletypes", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Shift", + "item": [ + { + "name": "Shifts By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "7430a0c2-0a6f-4158-810e-1b9747cf4512", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/shifts/", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "" + ] + } + }, + "response": [ + { + "name": "Shifts By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/shifts/102", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "102" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "395" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Wed, 22 Jul 2020 10:18:03 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 102,\n \"COMMENT\": \"Answer since heart message. Happy mission ok play dog character organization. Theory be region character along artist best.\",\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2003-01-05 13:20:58\",\n \"ENDDATE\": \"2027-01-10 00:00:00\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2011-05-06 16:20:45\",\n \"STARTDATE\": \"2027-02-07 00:00:00\",\n \"INVESTIGATION_ID\": 108\n}" + }, + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Shifts", + "event": [ + { + "listen": "test", + "script": { + "id": "90df5e83-90bd-48ac-9ce5-8b40ea930da3", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"comment\": \"my test comment2222\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/shifts/", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Shifts", + "event": [ + { + "listen": "test", + "script": { + "id": "909c7c24-e1f4-4f7f-905b-0ed8b2158560", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"comment\": \"Example shift comments..1.\",\r\n \"startDate\": \"2019-02-20 20:20:20\",\r\n \"endDate\": \"2020-02-02 02:02:02\",\r\n \"investigation\": 7\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/shifts", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts" + ] + } + }, + "response": [] + }, + { + "name": "Count Shifts", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "aeb300af-5dd0-47f6-9220-6de1082cbdfa", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "55c13c69-2799-4647-ba56-45d12332827f", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/shifts/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Shift", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "19296a04-9bb3-4779-8c9d-49c699194edf", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "d684a398-5681-4274-94d6-9216b6aae0f6", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/shifts/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "shifts", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "Study", + "item": [ + { + "name": "Studies By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "dc6879ec-84ff-4dd5-87fd-c0e2c01410a3", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studies", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studies" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update Studies", + "event": [ + { + "listen": "test", + "script": { + "id": "ba2556bd-bd7c-416e-af0e-d75d6932fc15", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"status\": \"COMPLETE\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/studies", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studies" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Studies", + "event": [ + { + "listen": "test", + "script": { + "id": "a1c58868-1354-4f1e-86a0-5b2be4202bee", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"name\": \"Example Study Record\",\r\n \"status\": \"IN_PROGRESS\",\r\n \"user\": 51\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/studies", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studies" + ] + } + }, + "response": [] + }, + { + "name": "Count Studies", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "49d86c10-2038-4890-a663-7698c33598d6", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "322434fc-731f-457e-a190-49fe673e0abe", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studies/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studies", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Study", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "b478f962-f8ec-412e-b067-069ca66e6f59", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "cf058126-e3d3-4e39-b188-51d0d086fa45", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studies/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studies", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "StudyInvestigation", + "item": [ + { + "name": "StudyInvestigations By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "0844aa5b-4145-44c8-8a61-fb04ed4255d1", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studyinvestigations?limit=2&include=\"investigation\"&distinct=\"investigation.id\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studyinvestigations" + ], + "query": [ + { + "key": "limit", + "value": "2" + }, + { + "key": "include", + "value": "\"investigation\"" + }, + { + "key": "order", + "value": "\"investigation.title desc\"", + "disabled": true + }, + { + "key": "distinct", + "value": "\"investigation.id\"" + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update StudyInvestigations", + "event": [ + { + "listen": "test", + "script": { + "id": "245eeab0-159c-4ac1-8739-19d8bb342135", + "exec": [ + "pm.test(\"Status: 400\", function () {\r", + " pm.response.to.have.status(400);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"createId\": \"simple/root\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/studyinvestigations", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studyinvestigations" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create StudyInvestigations", + "event": [ + { + "listen": "test", + "script": { + "id": "122e3477-a94a-4fd7-9c7d-1d5e0b15ceda", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"study\": 4,\r\n \"investigation\": 16\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/studyinvestigations", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studyinvestigations" + ] + } + }, + "response": [] + }, + { + "name": "Count StudyInvestigations", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "6ec3cc90-fe48-4589-83af-f65a1c3d0fd7", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "f99d801f-c0b7-4938-939c-c34070a36d42", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studyinvestigations/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studyinvestigations", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One StudyInvestigation", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "8a20e2d3-1345-495f-b056-2aa162fa3a1a", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "b3a5f9e2-46fe-4b87-809e-51cdbb9ed19a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/studyinvestigations/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "studyinvestigations", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "User", + "item": [ + { + "name": "Users By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "41d7d29e-e94c-46ce-a317-73e250c52266", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?where={\"id\": {\"in\": [1, 2, 3, 4, 5]}}", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [1, 2, 3, 4, 5]}}" + }, + { + "key": "include", + "value": "[\"userGroups\", {\"investigationUsers\":[\"investigation\"]}]", + "disabled": true + }, + { + "key": "include", + "value": "{\"investigationUsers\":{\"investigation\": \"datasets\"}}", + "disabled": true + }, + { + "key": "include", + "value": "[\"userGroups\", \"studies\", {\"investigationUsers\":{\"investigation\": \"datasets\"}}, \"instrumentScientists\"]", + "disabled": true + }, + { + "key": "include", + "value": "[\"USERGROUP\", {\"INVESTIGATIONUSER\":{\"INVESTIGATION\":\"DATASET\"}}]", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":[\"INVESTIGATION\"]}", + "disabled": true + }, + { + "key": "order", + "value": "\"userGroups.id desc\"", + "disabled": true + }, + { + "key": "distinct", + "value": "[\"name\", \"fullName\", \"modTime\"]", + "disabled": true + }, + { + "key": "where", + "value": "{\"userGroups.id\": {\"eq\": 50}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "distinct", + "value": "[\"userGroups.id\", \"userGroups.modTime\", \"userGroups.user.id\", \"id\"]", + "disabled": true + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "5", + "disabled": true + }, + { + "key": "include", + "value": "\"userGroups\"", + "disabled": true + }, + { + "key": "distinct", + "value": "\"investigationUsers.investigation.name\"", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By Filter - Distinct, no included fields", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?distinct=\"id\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"userGroups.id\": {\"in\": [44,23]}}", + "disabled": true + }, + { + "key": "include", + "value": "[\"userGroups\", {\"investigationUsers\":[\"investigation\"]}]", + "disabled": true + }, + { + "key": "include", + "value": "{\"investigationUsers\":{\"investigation\": \"datasets\"}}", + "disabled": true + }, + { + "key": "include", + "value": "[\"userGroups\", \"studies\", {\"investigationUsers\":{\"investigation\": \"datasets\"}}, \"instrumentScientists\"]", + "disabled": true + }, + { + "key": "include", + "value": "[\"USERGROUP\", {\"INVESTIGATIONUSER\":{\"INVESTIGATION\":\"DATASET\"}}]", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":[\"INVESTIGATION\"]}", + "disabled": true + }, + { + "key": "order", + "value": "\"id desc\"", + "disabled": true + }, + { + "key": "distinct", + "value": "[\"name\", \"fullName\", \"orcidId\", \"modTime\"]", + "disabled": true + }, + { + "key": "where", + "value": "{\"userGroups.id\": {\"eq\": 50}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"" + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "5", + "disabled": true + }, + { + "key": "include", + "value": "\"userGroups\"", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "15333" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 15 Sep 2020 10:33:56 GMT" + } + ], + "cookie": [], + "body": "[\n {\n \"id\": 1\n },\n {\n \"id\": 2\n },\n {\n \"id\": 3\n },\n {\n \"id\": 4\n },\n {\n \"id\": 5\n },\n {\n \"id\": 6\n },\n {\n \"id\": 7\n },\n {\n \"id\": 8\n },\n {\n \"id\": 9\n },\n {\n \"id\": 10\n },\n {\n \"id\": 11\n },\n {\n \"id\": 12\n },\n {\n \"id\": 13\n },\n {\n \"id\": 14\n },\n {\n \"id\": 15\n },\n {\n \"id\": 16\n },\n {\n \"id\": 17\n },\n {\n \"id\": 18\n },\n {\n \"id\": 19\n },\n {\n \"id\": 20\n },\n {\n \"id\": 21\n },\n {\n \"id\": 22\n },\n {\n \"id\": 23\n },\n {\n \"id\": 24\n },\n {\n \"id\": 25\n },\n {\n \"id\": 26\n },\n {\n \"id\": 27\n },\n {\n \"id\": 28\n },\n {\n \"id\": 29\n },\n {\n \"id\": 30\n },\n {\n \"id\": 31\n },\n {\n \"id\": 32\n },\n {\n \"id\": 33\n },\n {\n \"id\": 34\n },\n {\n \"id\": 35\n },\n {\n \"id\": 36\n },\n {\n \"id\": 37\n },\n {\n \"id\": 38\n },\n {\n \"id\": 39\n },\n {\n \"id\": 40\n },\n {\n \"id\": 41\n },\n {\n \"id\": 42\n },\n {\n \"id\": 43\n },\n {\n \"id\": 44\n },\n {\n \"id\": 45\n },\n {\n \"id\": 46\n },\n {\n \"id\": 47\n },\n {\n \"id\": 48\n },\n {\n \"id\": 49\n },\n {\n \"id\": 50\n },\n {\n \"id\": 51\n },\n {\n \"id\": 52\n },\n {\n \"id\": 53\n },\n {\n \"id\": 54\n },\n {\n \"id\": 55\n },\n {\n \"id\": 56\n },\n {\n \"id\": 57\n },\n {\n \"id\": 58\n },\n {\n \"id\": 59\n },\n {\n \"id\": 60\n },\n {\n \"id\": 61\n },\n {\n \"id\": 62\n },\n {\n \"id\": 63\n },\n {\n \"id\": 64\n },\n {\n \"id\": 65\n },\n {\n \"id\": 66\n },\n {\n \"id\": 67\n },\n {\n \"id\": 68\n },\n {\n \"id\": 69\n },\n {\n \"id\": 70\n },\n {\n \"id\": 71\n },\n {\n \"id\": 72\n },\n {\n \"id\": 73\n },\n {\n \"id\": 74\n },\n {\n \"id\": 75\n },\n {\n \"id\": 76\n },\n {\n \"id\": 77\n },\n {\n \"id\": 78\n },\n {\n \"id\": 79\n },\n {\n \"id\": 80\n },\n {\n \"id\": 81\n },\n {\n \"id\": 82\n },\n {\n \"id\": 83\n },\n {\n \"id\": 84\n },\n {\n \"id\": 85\n },\n {\n \"id\": 86\n },\n {\n \"id\": 87\n },\n {\n \"id\": 88\n },\n {\n \"id\": 89\n },\n {\n \"id\": 90\n },\n {\n \"id\": 91\n },\n {\n \"id\": 92\n },\n {\n \"id\": 93\n },\n {\n \"id\": 94\n },\n {\n \"id\": 95\n },\n {\n \"id\": 96\n },\n {\n \"id\": 97\n },\n {\n \"id\": 98\n },\n {\n \"id\": 99\n },\n {\n \"id\": 100\n },\n {\n \"id\": 101\n },\n {\n \"id\": 102\n },\n {\n \"id\": 103\n },\n {\n \"id\": 104\n },\n {\n \"id\": 105\n },\n {\n \"id\": 106\n },\n {\n \"id\": 107\n },\n {\n \"id\": 108\n },\n {\n \"id\": 109\n },\n {\n \"id\": 110\n },\n {\n \"id\": 111\n },\n {\n \"id\": 112\n },\n {\n \"id\": 113\n },\n {\n \"id\": 114\n },\n {\n \"id\": 115\n },\n {\n \"id\": 116\n },\n {\n \"id\": 117\n },\n {\n \"id\": 118\n },\n {\n \"id\": 119\n },\n {\n \"id\": 120\n },\n {\n \"id\": 121\n },\n {\n \"id\": 122\n },\n {\n \"id\": 123\n },\n {\n \"id\": 124\n },\n {\n \"id\": 125\n },\n {\n \"id\": 126\n },\n {\n \"id\": 127\n },\n {\n \"id\": 128\n },\n {\n \"id\": 129\n },\n {\n \"id\": 130\n },\n {\n \"id\": 131\n },\n {\n \"id\": 132\n },\n {\n \"id\": 133\n },\n {\n \"id\": 134\n },\n {\n \"id\": 135\n },\n {\n \"id\": 136\n },\n {\n \"id\": 137\n },\n {\n \"id\": 138\n },\n {\n \"id\": 139\n },\n {\n \"id\": 140\n },\n {\n \"id\": 141\n },\n {\n \"id\": 142\n },\n {\n \"id\": 143\n },\n {\n \"id\": 144\n },\n {\n \"id\": 145\n },\n {\n \"id\": 146\n },\n {\n \"id\": 147\n },\n {\n \"id\": 148\n },\n {\n \"id\": 149\n },\n {\n \"id\": 150\n },\n {\n \"id\": 151\n },\n {\n \"id\": 152\n },\n {\n \"id\": 153\n },\n {\n \"id\": 154\n },\n {\n \"id\": 155\n },\n {\n \"id\": 156\n },\n {\n \"id\": 157\n },\n {\n \"id\": 158\n },\n {\n \"id\": 159\n },\n {\n \"id\": 160\n },\n {\n \"id\": 161\n },\n {\n \"id\": 162\n },\n {\n \"id\": 163\n },\n {\n \"id\": 164\n },\n {\n \"id\": 165\n },\n {\n \"id\": 166\n },\n {\n \"id\": 167\n },\n {\n \"id\": 168\n },\n {\n \"id\": 169\n },\n {\n \"id\": 170\n },\n {\n \"id\": 171\n },\n {\n \"id\": 172\n },\n {\n \"id\": 173\n },\n {\n \"id\": 174\n },\n {\n \"id\": 175\n },\n {\n \"id\": 176\n },\n {\n \"id\": 177\n },\n {\n \"id\": 178\n },\n {\n \"id\": 179\n },\n {\n \"id\": 180\n },\n {\n \"id\": 181\n },\n {\n \"id\": 182\n },\n {\n \"id\": 183\n },\n {\n \"id\": 184\n },\n {\n \"id\": 185\n },\n {\n \"id\": 186\n },\n {\n \"id\": 187\n },\n {\n \"id\": 188\n },\n {\n \"id\": 189\n },\n {\n \"id\": 190\n },\n {\n \"id\": 191\n },\n {\n \"id\": 192\n },\n {\n \"id\": 193\n },\n {\n \"id\": 194\n },\n {\n \"id\": 195\n },\n {\n \"id\": 196\n },\n {\n \"id\": 197\n },\n {\n \"id\": 198\n },\n {\n \"id\": 199\n },\n {\n \"id\": 200\n },\n {\n \"id\": 201\n },\n {\n \"id\": 202\n },\n {\n \"id\": 203\n },\n {\n \"id\": 204\n },\n {\n \"id\": 205\n },\n {\n \"id\": 206\n },\n {\n \"id\": 207\n },\n {\n \"id\": 208\n },\n {\n \"id\": 209\n },\n {\n \"id\": 210\n },\n {\n \"id\": 211\n },\n {\n \"id\": 212\n },\n {\n \"id\": 213\n },\n {\n \"id\": 214\n },\n {\n \"id\": 215\n },\n {\n \"id\": 216\n },\n {\n \"id\": 217\n },\n {\n \"id\": 218\n },\n {\n \"id\": 219\n },\n {\n \"id\": 220\n },\n {\n \"id\": 221\n },\n {\n \"id\": 222\n },\n {\n \"id\": 223\n },\n {\n \"id\": 224\n },\n {\n \"id\": 225\n },\n {\n \"id\": 226\n },\n {\n \"id\": 227\n },\n {\n \"id\": 228\n },\n {\n \"id\": 229\n },\n {\n \"id\": 230\n },\n {\n \"id\": 231\n },\n {\n \"id\": 232\n },\n {\n \"id\": 233\n },\n {\n \"id\": 234\n },\n {\n \"id\": 235\n },\n {\n \"id\": 236\n },\n {\n \"id\": 237\n },\n {\n \"id\": 238\n },\n {\n \"id\": 239\n },\n {\n \"id\": 240\n },\n {\n \"id\": 241\n },\n {\n \"id\": 242\n },\n {\n \"id\": 243\n },\n {\n \"id\": 244\n },\n {\n \"id\": 245\n },\n {\n \"id\": 246\n },\n {\n \"id\": 247\n },\n {\n \"id\": 248\n },\n {\n \"id\": 249\n },\n {\n \"id\": 250\n },\n {\n \"id\": 251\n },\n {\n \"id\": 252\n },\n {\n \"id\": 253\n },\n {\n \"id\": 254\n },\n {\n \"id\": 255\n },\n {\n \"id\": 256\n },\n {\n \"id\": 257\n },\n {\n \"id\": 258\n },\n {\n \"id\": 259\n },\n {\n \"id\": 260\n },\n {\n \"id\": 261\n },\n {\n \"id\": 262\n },\n {\n \"id\": 263\n },\n {\n \"id\": 264\n },\n {\n \"id\": 265\n },\n {\n \"id\": 266\n },\n {\n \"id\": 267\n },\n {\n \"id\": 268\n },\n {\n \"id\": 269\n },\n {\n \"id\": 270\n },\n {\n \"id\": 271\n },\n {\n \"id\": 272\n },\n {\n \"id\": 273\n },\n {\n \"id\": 274\n },\n {\n \"id\": 275\n },\n {\n \"id\": 276\n },\n {\n \"id\": 277\n },\n {\n \"id\": 278\n },\n {\n \"id\": 279\n },\n {\n \"id\": 280\n },\n {\n \"id\": 281\n },\n {\n \"id\": 282\n },\n {\n \"id\": 283\n },\n {\n \"id\": 284\n },\n {\n \"id\": 285\n },\n {\n \"id\": 286\n },\n {\n \"id\": 287\n },\n {\n \"id\": 288\n },\n {\n \"id\": 289\n },\n {\n \"id\": 290\n },\n {\n \"id\": 291\n },\n {\n \"id\": 292\n },\n {\n \"id\": 293\n },\n {\n \"id\": 294\n },\n {\n \"id\": 295\n },\n {\n \"id\": 296\n },\n {\n \"id\": 297\n },\n {\n \"id\": 298\n },\n {\n \"id\": 299\n },\n {\n \"id\": 300\n },\n {\n \"id\": 301\n },\n {\n \"id\": 302\n },\n {\n \"id\": 303\n },\n {\n \"id\": 304\n },\n {\n \"id\": 305\n },\n {\n \"id\": 306\n },\n {\n \"id\": 307\n },\n {\n \"id\": 308\n },\n {\n \"id\": 309\n },\n {\n \"id\": 310\n },\n {\n \"id\": 311\n },\n {\n \"id\": 312\n },\n {\n \"id\": 313\n },\n {\n \"id\": 314\n },\n {\n \"id\": 315\n },\n {\n \"id\": 316\n },\n {\n \"id\": 317\n },\n {\n \"id\": 318\n },\n {\n \"id\": 319\n },\n {\n \"id\": 320\n },\n {\n \"id\": 321\n },\n {\n \"id\": 322\n },\n {\n \"id\": 323\n },\n {\n \"id\": 324\n },\n {\n \"id\": 325\n },\n {\n \"id\": 326\n },\n {\n \"id\": 327\n },\n {\n \"id\": 328\n },\n {\n \"id\": 329\n },\n {\n \"id\": 330\n },\n {\n \"id\": 331\n },\n {\n \"id\": 332\n },\n {\n \"id\": 333\n },\n {\n \"id\": 334\n },\n {\n \"id\": 335\n },\n {\n \"id\": 336\n },\n {\n \"id\": 337\n },\n {\n \"id\": 338\n },\n {\n \"id\": 339\n },\n {\n \"id\": 340\n },\n {\n \"id\": 341\n },\n {\n \"id\": 342\n },\n {\n \"id\": 343\n },\n {\n \"id\": 344\n },\n {\n \"id\": 345\n },\n {\n \"id\": 346\n },\n {\n \"id\": 347\n },\n {\n \"id\": 348\n },\n {\n \"id\": 349\n },\n {\n \"id\": 350\n },\n {\n \"id\": 351\n },\n {\n \"id\": 352\n },\n {\n \"id\": 353\n },\n {\n \"id\": 354\n },\n {\n \"id\": 355\n },\n {\n \"id\": 356\n },\n {\n \"id\": 357\n },\n {\n \"id\": 358\n },\n {\n \"id\": 359\n },\n {\n \"id\": 360\n },\n {\n \"id\": 361\n },\n {\n \"id\": 362\n },\n {\n \"id\": 363\n },\n {\n \"id\": 364\n },\n {\n \"id\": 365\n },\n {\n \"id\": 366\n },\n {\n \"id\": 367\n },\n {\n \"id\": 368\n },\n {\n \"id\": 369\n },\n {\n \"id\": 370\n },\n {\n \"id\": 371\n },\n {\n \"id\": 372\n },\n {\n \"id\": 373\n },\n {\n \"id\": 374\n },\n {\n \"id\": 375\n },\n {\n \"id\": 376\n },\n {\n \"id\": 377\n },\n {\n \"id\": 378\n },\n {\n \"id\": 379\n },\n {\n \"id\": 380\n },\n {\n \"id\": 381\n },\n {\n \"id\": 382\n },\n {\n \"id\": 383\n },\n {\n \"id\": 384\n },\n {\n \"id\": 385\n },\n {\n \"id\": 386\n },\n {\n \"id\": 387\n },\n {\n \"id\": 388\n },\n {\n \"id\": 389\n },\n {\n \"id\": 390\n },\n {\n \"id\": 391\n },\n {\n \"id\": 392\n },\n {\n \"id\": 393\n },\n {\n \"id\": 394\n },\n {\n \"id\": 395\n },\n {\n \"id\": 396\n },\n {\n \"id\": 397\n },\n {\n \"id\": 398\n },\n {\n \"id\": 399\n },\n {\n \"id\": 400\n },\n {\n \"id\": 401\n },\n {\n \"id\": 402\n },\n {\n \"id\": 403\n },\n {\n \"id\": 404\n },\n {\n \"id\": 405\n },\n {\n \"id\": 406\n },\n {\n \"id\": 407\n },\n {\n \"id\": 408\n },\n {\n \"id\": 409\n },\n {\n \"id\": 410\n },\n {\n \"id\": 411\n },\n {\n \"id\": 412\n },\n {\n \"id\": 413\n },\n {\n \"id\": 414\n },\n {\n \"id\": 415\n },\n {\n \"id\": 416\n },\n {\n \"id\": 417\n },\n {\n \"id\": 418\n },\n {\n \"id\": 419\n },\n {\n \"id\": 420\n },\n {\n \"id\": 421\n },\n {\n \"id\": 422\n },\n {\n \"id\": 423\n },\n {\n \"id\": 424\n },\n {\n \"id\": 425\n },\n {\n \"id\": 426\n },\n {\n \"id\": 427\n },\n {\n \"id\": 428\n },\n {\n \"id\": 429\n },\n {\n \"id\": 430\n },\n {\n \"id\": 431\n },\n {\n \"id\": 432\n },\n {\n \"id\": 433\n },\n {\n \"id\": 434\n },\n {\n \"id\": 435\n },\n {\n \"id\": 436\n },\n {\n \"id\": 437\n },\n {\n \"id\": 438\n },\n {\n \"id\": 439\n },\n {\n \"id\": 440\n },\n {\n \"id\": 441\n },\n {\n \"id\": 442\n },\n {\n \"id\": 443\n },\n {\n \"id\": 444\n },\n {\n \"id\": 445\n },\n {\n \"id\": 446\n },\n {\n \"id\": 447\n },\n {\n \"id\": 448\n },\n {\n \"id\": 449\n },\n {\n \"id\": 450\n },\n {\n \"id\": 451\n },\n {\n \"id\": 452\n },\n {\n \"id\": 453\n },\n {\n \"id\": 454\n },\n {\n \"id\": 455\n },\n {\n \"id\": 456\n },\n {\n \"id\": 457\n },\n {\n \"id\": 458\n },\n {\n \"id\": 459\n },\n {\n \"id\": 460\n },\n {\n \"id\": 461\n },\n {\n \"id\": 462\n },\n {\n \"id\": 463\n },\n {\n \"id\": 464\n },\n {\n \"id\": 465\n },\n {\n \"id\": 466\n },\n {\n \"id\": 467\n },\n {\n \"id\": 468\n },\n {\n \"id\": 469\n },\n {\n \"id\": 470\n },\n {\n \"id\": 471\n },\n {\n \"id\": 472\n },\n {\n \"id\": 473\n },\n {\n \"id\": 474\n },\n {\n \"id\": 475\n },\n {\n \"id\": 476\n },\n {\n \"id\": 477\n },\n {\n \"id\": 478\n },\n {\n \"id\": 479\n },\n {\n \"id\": 480\n },\n {\n \"id\": 481\n },\n {\n \"id\": 482\n },\n {\n \"id\": 483\n },\n {\n \"id\": 484\n },\n {\n \"id\": 485\n },\n {\n \"id\": 486\n },\n {\n \"id\": 487\n },\n {\n \"id\": 488\n },\n {\n \"id\": 489\n },\n {\n \"id\": 490\n },\n {\n \"id\": 491\n },\n {\n \"id\": 492\n },\n {\n \"id\": 493\n },\n {\n \"id\": 494\n },\n {\n \"id\": 495\n },\n {\n \"id\": 496\n },\n {\n \"id\": 498\n },\n {\n \"id\": 499\n }\n]" + }, + { + "name": "Users By Filter", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?distinct=\"NAME\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [492, 3]}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"ID desc\"", + "disabled": true + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "5", + "disabled": true + }, + { + "key": "distinct", + "value": "\"NAME\"" + }, + { + "key": "where", + "value": "{\"id\": {\"like\": 4}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"id desc\"", + "disabled": true + }, + { + "key": "order", + "value": "\"name asc\"", + "disabled": true + }, + { + "key": "order", + "value": "\"orcidId desc\"", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "20374" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Mon, 24 Aug 2020 12:18:53 GMT" + } + ], + "cookie": [], + "body": "[\n {\n \"NAME\": \"Aaron311\"\n },\n {\n \"NAME\": \"Aaron374\"\n },\n {\n \"NAME\": \"Aaron438\"\n },\n {\n \"NAME\": \"Adam133\"\n },\n {\n \"NAME\": \"Adam196\"\n },\n {\n \"NAME\": \"Adam428\"\n },\n {\n \"NAME\": \"Adam491\"\n },\n {\n \"NAME\": \"Adriana19\"\n },\n {\n \"NAME\": \"Adriana82\"\n },\n {\n \"NAME\": \"Alexandra135\"\n },\n {\n \"NAME\": \"Alexandra198\"\n },\n {\n \"NAME\": \"Alicia175\"\n },\n {\n \"NAME\": \"Alicia238\"\n },\n {\n \"NAME\": \"Alison113\"\n },\n {\n \"NAME\": \"Alison50\"\n },\n {\n \"NAME\": \"Alyssa420\"\n },\n {\n \"NAME\": \"Alyssa483\"\n },\n {\n \"NAME\": \"Amanda259\"\n },\n {\n \"NAME\": \"Amanda322\"\n },\n {\n \"NAME\": \"Amy160\"\n },\n {\n \"NAME\": \"Amy223\"\n },\n {\n \"NAME\": \"Andrea392\"\n },\n {\n \"NAME\": \"Andrea435\"\n },\n {\n \"NAME\": \"Andrea455\"\n },\n {\n \"NAME\": \"Andrea498\"\n },\n {\n \"NAME\": \"Andrew147\"\n },\n {\n \"NAME\": \"Andrew151\"\n },\n {\n \"NAME\": \"Andrew167\"\n },\n {\n \"NAME\": \"Andrew210\"\n },\n {\n \"NAME\": \"Andrew214\"\n },\n {\n \"NAME\": \"Andrew230\"\n },\n {\n \"NAME\": \"Andrew390\"\n },\n {\n \"NAME\": \"Andrew453\"\n },\n {\n \"NAME\": \"Angel34\"\n },\n {\n \"NAME\": \"Angel97\"\n },\n {\n \"NAME\": \"Angela399\"\n },\n {\n \"NAME\": \"Angela462\"\n },\n {\n \"NAME\": \"Anna303\"\n },\n {\n \"NAME\": \"Anna366\"\n },\n {\n \"NAME\": \"Anne172\"\n },\n {\n \"NAME\": \"Anne235\"\n },\n {\n \"NAME\": \"Anthony395\"\n },\n {\n \"NAME\": \"Anthony458\"\n },\n {\n \"NAME\": \"April271\"\n },\n {\n \"NAME\": \"April334\"\n },\n {\n \"NAME\": \"Ashley159\"\n },\n {\n \"NAME\": \"Ashley222\"\n },\n {\n \"NAME\": \"Bailey400\"\n },\n {\n \"NAME\": \"Bailey463\"\n },\n {\n \"NAME\": \"Barbara115\"\n },\n {\n \"NAME\": \"Barbara385\"\n },\n {\n \"NAME\": \"Barbara448\"\n },\n {\n \"NAME\": \"Barbara52\"\n },\n {\n \"NAME\": \"Benjamin15\"\n },\n {\n \"NAME\": \"Benjamin78\"\n },\n {\n \"NAME\": \"Beverly143\"\n },\n {\n \"NAME\": \"Beverly206\"\n },\n {\n \"NAME\": \"Brandon396\"\n },\n {\n \"NAME\": \"Brandon459\"\n },\n {\n \"NAME\": \"Brandy121\"\n },\n {\n \"NAME\": \"Brandy58\"\n },\n {\n \"NAME\": \"Brenda144\"\n },\n {\n \"NAME\": \"Brenda207\"\n },\n {\n \"NAME\": \"Brittany295\"\n },\n {\n \"NAME\": \"Brittany358\"\n },\n {\n \"NAME\": \"Bryan171\"\n },\n {\n \"NAME\": \"Bryan234\"\n },\n {\n \"NAME\": \"Carl1\"\n },\n {\n \"NAME\": \"Carl64\"\n },\n {\n \"NAME\": \"Carla110\"\n },\n {\n \"NAME\": \"Carla47\"\n },\n {\n \"NAME\": \"Carlos169\"\n },\n {\n \"NAME\": \"Carlos232\"\n },\n {\n \"NAME\": \"Carol284\"\n },\n {\n \"NAME\": \"Carol347\"\n },\n {\n \"NAME\": \"Casey148\"\n },\n {\n \"NAME\": \"Casey211\"\n },\n {\n \"NAME\": \"Catherine275\"\n },\n {\n \"NAME\": \"Catherine338\"\n },\n {\n \"NAME\": \"Catherine406\"\n },\n {\n \"NAME\": \"Catherine469\"\n },\n {\n \"NAME\": \"Charlotte150\"\n },\n {\n \"NAME\": \"Charlotte213\"\n },\n {\n \"NAME\": \"Christina381\"\n },\n {\n \"NAME\": \"Christina444\"\n },\n {\n \"NAME\": \"Christopher11\"\n },\n {\n \"NAME\": \"Christopher124\"\n },\n {\n \"NAME\": \"Christopher156\"\n },\n {\n \"NAME\": \"Christopher186\"\n },\n {\n \"NAME\": \"Christopher188\"\n },\n {\n \"NAME\": \"Christopher219\"\n },\n {\n \"NAME\": \"Christopher249\"\n },\n {\n \"NAME\": \"Christopher251\"\n },\n {\n \"NAME\": \"Christopher262\"\n },\n {\n \"NAME\": \"Christopher29\"\n },\n {\n \"NAME\": \"Christopher325\"\n },\n {\n \"NAME\": \"Christopher6\"\n },\n {\n \"NAME\": \"Christopher61\"\n },\n {\n \"NAME\": \"Christopher69\"\n },\n {\n \"NAME\": \"Christopher74\"\n },\n {\n \"NAME\": \"Christopher92\"\n },\n {\n \"NAME\": \"Colleen283\"\n },\n {\n \"NAME\": \"Colleen346\"\n },\n {\n \"NAME\": \"Curtis14\"\n },\n {\n \"NAME\": \"Curtis77\"\n },\n {\n \"NAME\": \"Dana154\"\n },\n {\n \"NAME\": \"Dana217\"\n },\n {\n \"NAME\": \"Daniel20\"\n },\n {\n \"NAME\": \"Daniel267\"\n },\n {\n \"NAME\": \"Daniel296\"\n },\n {\n \"NAME\": \"Daniel330\"\n },\n {\n \"NAME\": \"Daniel359\"\n },\n {\n \"NAME\": \"Daniel83\"\n },\n {\n \"NAME\": \"Darryl436\"\n },\n {\n \"NAME\": \"Darryl499\"\n },\n {\n \"NAME\": \"David383\"\n },\n {\n \"NAME\": \"David386\"\n },\n {\n \"NAME\": \"David418\"\n },\n {\n \"NAME\": \"David429\"\n },\n {\n \"NAME\": \"David446\"\n },\n {\n \"NAME\": \"David449\"\n },\n {\n \"NAME\": \"David481\"\n },\n {\n \"NAME\": \"David492\"\n },\n {\n \"NAME\": \"Dawn297\"\n },\n {\n \"NAME\": \"Dawn360\"\n },\n {\n \"NAME\": \"Debbie162\"\n },\n {\n \"NAME\": \"Debbie225\"\n },\n {\n \"NAME\": \"Denise117\"\n },\n {\n \"NAME\": \"Denise54\"\n },\n {\n \"NAME\": \"Dennis161\"\n },\n {\n \"NAME\": \"Dennis224\"\n },\n {\n \"NAME\": \"Dennis402\"\n },\n {\n \"NAME\": \"Dennis465\"\n },\n {\n \"NAME\": \"Derek111\"\n },\n {\n \"NAME\": \"Derek48\"\n },\n {\n \"NAME\": \"Desiree404\"\n },\n {\n \"NAME\": \"Desiree467\"\n },\n {\n \"NAME\": \"Diane24\"\n },\n {\n \"NAME\": \"Diane87\"\n },\n {\n \"NAME\": \"Douglas178\"\n },\n {\n \"NAME\": \"Douglas241\"\n },\n {\n \"NAME\": \"Dustin7\"\n },\n {\n \"NAME\": \"Dustin70\"\n },\n {\n \"NAME\": \"Eric391\"\n },\n {\n \"NAME\": \"Eric454\"\n },\n {\n \"NAME\": \"Erica4\"\n },\n {\n \"NAME\": \"Erica67\"\n },\n {\n \"NAME\": \"Erik183\"\n },\n {\n \"NAME\": \"Erik246\"\n },\n {\n \"NAME\": \"Erin112\"\n },\n {\n \"NAME\": \"Erin268\"\n },\n {\n \"NAME\": \"Erin331\"\n },\n {\n \"NAME\": \"Erin49\"\n },\n {\n \"NAME\": \"Francisco71\"\n },\n {\n \"NAME\": \"Francisco8\"\n },\n {\n \"NAME\": \"Frank138\"\n },\n {\n \"NAME\": \"Frank201\"\n },\n {\n \"NAME\": \"Frank25\"\n },\n {\n \"NAME\": \"Frank88\"\n },\n {\n \"NAME\": \"Garrett157\"\n },\n {\n \"NAME\": \"Garrett220\"\n },\n {\n \"NAME\": \"George16\"\n },\n {\n \"NAME\": \"George306\"\n },\n {\n \"NAME\": \"George369\"\n },\n {\n \"NAME\": \"George79\"\n },\n {\n \"NAME\": \"Gerald164\"\n },\n {\n \"NAME\": \"Gerald227\"\n },\n {\n \"NAME\": \"Gregory274\"\n },\n {\n \"NAME\": \"Gregory337\"\n },\n {\n \"NAME\": \"Gregory426\"\n },\n {\n \"NAME\": \"Gregory489\"\n },\n {\n \"NAME\": \"Howard256\"\n },\n {\n \"NAME\": \"Howard319\"\n },\n {\n \"NAME\": \"Jacob181\"\n },\n {\n \"NAME\": \"Jacob244\"\n },\n {\n \"NAME\": \"Jacqueline440\"\n },\n {\n \"NAME\": \"James10\"\n },\n {\n \"NAME\": \"James109\"\n },\n {\n \"NAME\": \"James12\"\n },\n {\n \"NAME\": \"James155\"\n },\n {\n \"NAME\": \"James218\"\n },\n {\n \"NAME\": \"James382\"\n },\n {\n \"NAME\": \"James412\"\n },\n {\n \"NAME\": \"James417\"\n },\n {\n \"NAME\": \"James445\"\n },\n {\n \"NAME\": \"James46\"\n },\n {\n \"NAME\": \"James475\"\n },\n {\n \"NAME\": \"James480\"\n },\n {\n \"NAME\": \"James73\"\n },\n {\n \"NAME\": \"James75\"\n },\n {\n \"NAME\": \"Jared128\"\n },\n {\n \"NAME\": \"Jared191\"\n },\n {\n \"NAME\": \"Jason103\"\n },\n {\n \"NAME\": \"Jason40\"\n },\n {\n \"NAME\": \"Jeffrey264\"\n },\n {\n \"NAME\": \"Jeffrey327\"\n },\n {\n \"NAME\": \"Jennifer185\"\n },\n {\n \"NAME\": \"Jennifer248\"\n },\n {\n \"NAME\": \"Jeremy141\"\n },\n {\n \"NAME\": \"Jeremy204\"\n },\n {\n \"NAME\": \"Jeremy414\"\n },\n {\n \"NAME\": \"Jeremy477\"\n },\n {\n \"NAME\": \"Jerry257\"\n },\n {\n \"NAME\": \"Jerry320\"\n },\n {\n \"NAME\": \"Jessica305\"\n },\n {\n \"NAME\": \"Jessica368\"\n },\n {\n \"NAME\": \"Jessica433\"\n },\n {\n \"NAME\": \"Jessica496\"\n },\n {\n \"NAME\": \"Joe269\"\n },\n {\n \"NAME\": \"Joe332\"\n },\n {\n \"NAME\": \"John187\"\n },\n {\n \"NAME\": \"John189\"\n },\n {\n \"NAME\": \"John250\"\n },\n {\n \"NAME\": \"John252\"\n },\n {\n \"NAME\": \"John30\"\n },\n {\n \"NAME\": \"John300\"\n },\n {\n \"NAME\": \"John308\"\n },\n {\n \"NAME\": \"John32\"\n },\n {\n \"NAME\": \"John363\"\n },\n {\n \"NAME\": \"John371\"\n },\n {\n \"NAME\": \"John397\"\n },\n {\n \"NAME\": \"John434\"\n },\n {\n \"NAME\": \"John460\"\n },\n {\n \"NAME\": \"John497\"\n },\n {\n \"NAME\": \"John93\"\n },\n {\n \"NAME\": \"John95\"\n },\n {\n \"NAME\": \"Johnny279\"\n },\n {\n \"NAME\": \"Johnny342\"\n },\n {\n \"NAME\": \"Jonathan100\"\n },\n {\n \"NAME\": \"Jonathan17\"\n },\n {\n \"NAME\": \"Jonathan260\"\n },\n {\n \"NAME\": \"Jonathan323\"\n },\n {\n \"NAME\": \"Jonathan37\"\n },\n {\n \"NAME\": \"Jonathan415\"\n },\n {\n \"NAME\": \"Jonathan478\"\n },\n {\n \"NAME\": \"Jonathan80\"\n },\n {\n \"NAME\": \"Joseph163\"\n },\n {\n \"NAME\": \"Joseph165\"\n },\n {\n \"NAME\": \"Joseph226\"\n },\n {\n \"NAME\": \"Joseph228\"\n },\n {\n \"NAME\": \"Joseph411\"\n },\n {\n \"NAME\": \"Joseph432\"\n },\n {\n \"NAME\": \"Joseph474\"\n },\n {\n \"NAME\": \"Joseph495\"\n },\n {\n \"NAME\": \"Julie27\"\n },\n {\n \"NAME\": \"Julie90\"\n },\n {\n \"NAME\": \"Justin389\"\n },\n {\n \"NAME\": \"Justin452\"\n },\n {\n \"NAME\": \"Kaitlyn106\"\n },\n {\n \"NAME\": \"Kaitlyn43\"\n },\n {\n \"NAME\": \"Karen280\"\n },\n {\n \"NAME\": \"Karen343\"\n },\n {\n \"NAME\": \"Karen407\"\n },\n {\n \"NAME\": \"Karen425\"\n },\n {\n \"NAME\": \"Karen470\"\n },\n {\n \"NAME\": \"Karen488\"\n },\n {\n \"NAME\": \"Katherine119\"\n },\n {\n \"NAME\": \"Katherine22\"\n },\n {\n \"NAME\": \"Katherine56\"\n },\n {\n \"NAME\": \"Katherine85\"\n },\n {\n \"NAME\": \"Kelly302\"\n },\n {\n \"NAME\": \"Kelly365\"\n },\n {\n \"NAME\": \"Kevin134\"\n },\n {\n \"NAME\": \"Kevin197\"\n },\n {\n \"NAME\": \"Kim380\"\n },\n {\n \"NAME\": \"Kim443\"\n },\n {\n \"NAME\": \"Kimberly23\"\n },\n {\n \"NAME\": \"Kimberly26\"\n },\n {\n \"NAME\": \"Kimberly86\"\n },\n {\n \"NAME\": \"Kimberly89\"\n },\n {\n \"NAME\": \"Kristen315\"\n },\n {\n \"NAME\": \"Kristen378\"\n },\n {\n \"NAME\": \"Kristy423\"\n },\n {\n \"NAME\": \"Kristy486\"\n },\n {\n \"NAME\": \"Kyle388\"\n },\n {\n \"NAME\": \"Kyle451\"\n },\n {\n \"NAME\": \"Leah21\"\n },\n {\n \"NAME\": \"Leah84\"\n },\n {\n \"NAME\": \"Linda142\"\n },\n {\n \"NAME\": \"Linda205\"\n },\n {\n \"NAME\": \"Lindsey127\"\n },\n {\n \"NAME\": \"Lindsey190\"\n },\n {\n \"NAME\": \"Lisa136\"\n },\n {\n \"NAME\": \"Lisa179\"\n },\n {\n \"NAME\": \"Lisa199\"\n },\n {\n \"NAME\": \"Lisa242\"\n },\n {\n \"NAME\": \"Lisa276\"\n },\n {\n \"NAME\": \"Lisa339\"\n },\n {\n \"NAME\": \"Lisa398\"\n },\n {\n \"NAME\": \"Lisa461\"\n },\n {\n \"NAME\": \"Logan35\"\n },\n {\n \"NAME\": \"Logan98\"\n },\n {\n \"NAME\": \"Loretta3\"\n },\n {\n \"NAME\": \"Loretta66\"\n },\n {\n \"NAME\": \"Madison137\"\n },\n {\n \"NAME\": \"Madison200\"\n },\n {\n \"NAME\": \"Maria285\"\n },\n {\n \"NAME\": \"Maria348\"\n },\n {\n \"NAME\": \"Maria405\"\n },\n {\n \"NAME\": \"Maria468\"\n },\n {\n \"NAME\": \"Marie108\"\n },\n {\n \"NAME\": \"Marie45\"\n },\n {\n \"NAME\": \"Marissa401\"\n },\n {\n \"NAME\": \"Marissa464\"\n },\n {\n \"NAME\": \"Mark263\"\n },\n {\n \"NAME\": \"Mark326\"\n },\n {\n \"NAME\": \"Mary430\"\n },\n {\n \"NAME\": \"Mary493\"\n },\n {\n \"NAME\": \"Matthew18\"\n },\n {\n \"NAME\": \"Matthew293\"\n },\n {\n \"NAME\": \"Matthew356\"\n },\n {\n \"NAME\": \"Matthew379\"\n },\n {\n \"NAME\": \"Matthew409\"\n },\n {\n \"NAME\": \"Matthew437\"\n },\n {\n \"NAME\": \"Matthew442\"\n },\n {\n \"NAME\": \"Matthew472\"\n },\n {\n \"NAME\": \"Matthew81\"\n },\n {\n \"NAME\": \"Megan291\"\n },\n {\n \"NAME\": \"Megan354\"\n },\n {\n \"NAME\": \"Megan387\"\n },\n {\n \"NAME\": \"Megan450\"\n },\n {\n \"NAME\": \"Melissa422\"\n },\n {\n \"NAME\": \"Melissa485\"\n },\n {\n \"NAME\": \"Michael122\"\n },\n {\n \"NAME\": \"Michael123\"\n },\n {\n \"NAME\": \"Michael168\"\n },\n {\n \"NAME\": \"Michael174\"\n },\n {\n \"NAME\": \"Michael231\"\n },\n {\n \"NAME\": \"Michael237\"\n },\n {\n \"NAME\": \"Michael410\"\n },\n {\n \"NAME\": \"Michael473\"\n },\n {\n \"NAME\": \"Michael59\"\n },\n {\n \"NAME\": \"Michael60\"\n },\n {\n \"NAME\": \"Micheal139\"\n },\n {\n \"NAME\": \"Micheal202\"\n },\n {\n \"NAME\": \"Michelle129\"\n },\n {\n \"NAME\": \"Michelle170\"\n },\n {\n \"NAME\": \"Michelle192\"\n },\n {\n \"NAME\": \"Michelle233\"\n },\n {\n \"NAME\": \"Michelle254\"\n },\n {\n \"NAME\": \"Michelle317\"\n },\n {\n \"NAME\": \"Michelle419\"\n },\n {\n \"NAME\": \"Michelle482\"\n },\n {\n \"NAME\": \"Miguel104\"\n },\n {\n \"NAME\": \"Miguel41\"\n },\n {\n \"NAME\": \"Monica393\"\n },\n {\n \"NAME\": \"Monica456\"\n },\n {\n \"NAME\": \"Nancy114\"\n },\n {\n \"NAME\": \"Nancy51\"\n },\n {\n \"NAME\": \"Natalie266\"\n },\n {\n \"NAME\": \"Natalie329\"\n },\n {\n \"NAME\": \"Natasha153\"\n },\n {\n \"NAME\": \"Natasha216\"\n },\n {\n \"NAME\": \"Nicholas255\"\n },\n {\n \"NAME\": \"Nicholas318\"\n },\n {\n \"NAME\": \"Nicholas33\"\n },\n {\n \"NAME\": \"Nicholas96\"\n },\n {\n \"NAME\": \"Norma258\"\n },\n {\n \"NAME\": \"Norma321\"\n },\n {\n \"NAME\": \"Olivia31\"\n },\n {\n \"NAME\": \"Olivia94\"\n },\n {\n \"NAME\": \"Pamela265\"\n },\n {\n \"NAME\": \"Pamela328\"\n },\n {\n \"NAME\": \"Patrick273\"\n },\n {\n \"NAME\": \"Patrick281\"\n },\n {\n \"NAME\": \"Patrick336\"\n },\n {\n \"NAME\": \"Patrick344\"\n },\n {\n \"NAME\": \"Peter184\"\n },\n {\n \"NAME\": \"Peter247\"\n },\n {\n \"NAME\": \"Phyllis441\"\n },\n {\n \"NAME\": \"Rachel173\"\n },\n {\n \"NAME\": \"Rachel236\"\n },\n {\n \"NAME\": \"Raymond394\"\n },\n {\n \"NAME\": \"Raymond457\"\n },\n {\n \"NAME\": \"Rebecca101\"\n },\n {\n \"NAME\": \"Rebecca38\"\n },\n {\n \"NAME\": \"Ricardo158\"\n },\n {\n \"NAME\": \"Ricardo221\"\n },\n {\n \"NAME\": \"Richard290\"\n },\n {\n \"NAME\": \"Richard353\"\n },\n {\n \"NAME\": \"Ricky288\"\n },\n {\n \"NAME\": \"Ricky351\"\n },\n {\n \"NAME\": \"Rita309\"\n },\n {\n \"NAME\": \"Rita372\"\n },\n {\n \"NAME\": \"Robert431\"\n },\n {\n \"NAME\": \"Robert494\"\n },\n {\n \"NAME\": \"Robert5\"\n },\n {\n \"NAME\": \"Robert68\"\n },\n {\n \"NAME\": \"Robin307\"\n },\n {\n \"NAME\": \"Robin370\"\n },\n {\n \"NAME\": \"Ruth286\"\n },\n {\n \"NAME\": \"Ruth349\"\n },\n {\n \"NAME\": \"Ryan272\"\n },\n {\n \"NAME\": \"Ryan335\"\n },\n {\n \"NAME\": \"Ryan72\"\n },\n {\n \"NAME\": \"Ryan9\"\n },\n {\n \"NAME\": \"Samantha304\"\n },\n {\n \"NAME\": \"Samantha367\"\n },\n {\n \"NAME\": \"Samuel120\"\n },\n {\n \"NAME\": \"Samuel28\"\n },\n {\n \"NAME\": \"Samuel416\"\n },\n {\n \"NAME\": \"Samuel479\"\n },\n {\n \"NAME\": \"Samuel57\"\n },\n {\n \"NAME\": \"Samuel91\"\n },\n {\n \"NAME\": \"Sandra126\"\n },\n {\n \"NAME\": \"Sandra313\"\n },\n {\n \"NAME\": \"Sandra376\"\n },\n {\n \"NAME\": \"Sandra63\"\n },\n {\n \"NAME\": \"Sarah298\"\n },\n {\n \"NAME\": \"Sarah314\"\n },\n {\n \"NAME\": \"Sarah361\"\n },\n {\n \"NAME\": \"Sarah377\"\n },\n {\n \"NAME\": \"Sarah408\"\n },\n {\n \"NAME\": \"Sarah471\"\n },\n {\n \"NAME\": \"Savannah130\"\n },\n {\n \"NAME\": \"Savannah193\"\n },\n {\n \"NAME\": \"Scott413\"\n },\n {\n \"NAME\": \"Scott476\"\n },\n {\n \"NAME\": \"Shane253\"\n },\n {\n \"NAME\": \"Shane316\"\n },\n {\n \"NAME\": \"Shannon107\"\n },\n {\n \"NAME\": \"Shannon278\"\n },\n {\n \"NAME\": \"Shannon341\"\n },\n {\n \"NAME\": \"Shannon384\"\n },\n {\n \"NAME\": \"Shannon44\"\n },\n {\n \"NAME\": \"Shannon447\"\n },\n {\n \"NAME\": \"Shelly36\"\n },\n {\n \"NAME\": \"Shelly99\"\n },\n {\n \"NAME\": \"Sherry289\"\n },\n {\n \"NAME\": \"Sherry352\"\n },\n {\n \"NAME\": \"Sierra261\"\n },\n {\n \"NAME\": \"Sierra324\"\n },\n {\n \"NAME\": \"Stephanie145\"\n },\n {\n \"NAME\": \"Stephanie208\"\n },\n {\n \"NAME\": \"Stephanie403\"\n },\n {\n \"NAME\": \"Stephanie466\"\n },\n {\n \"NAME\": \"Stephen177\"\n },\n {\n \"NAME\": \"Stephen240\"\n },\n {\n \"NAME\": \"Stephen427\"\n },\n {\n \"NAME\": \"Stephen490\"\n },\n {\n \"NAME\": \"Steven176\"\n },\n {\n \"NAME\": \"Steven239\"\n },\n {\n \"NAME\": \"Steven270\"\n },\n {\n \"NAME\": \"Steven301\"\n },\n {\n \"NAME\": \"Steven312\"\n },\n {\n \"NAME\": \"Steven333\"\n },\n {\n \"NAME\": \"Steven364\"\n },\n {\n \"NAME\": \"Steven375\"\n },\n {\n \"NAME\": \"Susan116\"\n },\n {\n \"NAME\": \"Susan140\"\n },\n {\n \"NAME\": \"Susan203\"\n },\n {\n \"NAME\": \"Susan53\"\n },\n {\n \"NAME\": \"Tamara146\"\n },\n {\n \"NAME\": \"Tamara209\"\n },\n {\n \"NAME\": \"Tammie125\"\n },\n {\n \"NAME\": \"Tammie62\"\n },\n {\n \"NAME\": \"Taylor287\"\n },\n {\n \"NAME\": \"Taylor350\"\n },\n {\n \"NAME\": \"Theresa182\"\n },\n {\n \"NAME\": \"Theresa245\"\n },\n {\n \"NAME\": \"Thomas105\"\n },\n {\n \"NAME\": \"Thomas149\"\n },\n {\n \"NAME\": \"Thomas166\"\n },\n {\n \"NAME\": \"Thomas212\"\n },\n {\n \"NAME\": \"Thomas229\"\n },\n {\n \"NAME\": \"Thomas42\"\n },\n {\n \"NAME\": \"Tiffany13\"\n },\n {\n \"NAME\": \"Tiffany76\"\n },\n {\n \"NAME\": \"Timothy294\"\n },\n {\n \"NAME\": \"Timothy299\"\n },\n {\n \"NAME\": \"Timothy357\"\n },\n {\n \"NAME\": \"Timothy362\"\n },\n {\n \"NAME\": \"Tina180\"\n },\n {\n \"NAME\": \"Tina243\"\n },\n {\n \"NAME\": \"Tina277\"\n },\n {\n \"NAME\": \"Tina310\"\n },\n {\n \"NAME\": \"Tina340\"\n },\n {\n \"NAME\": \"Tina373\"\n },\n {\n \"NAME\": \"Todd421\"\n },\n {\n \"NAME\": \"Todd484\"\n },\n {\n \"NAME\": \"Tonya102\"\n },\n {\n \"NAME\": \"Tonya39\"\n },\n {\n \"NAME\": \"Travis132\"\n },\n {\n \"NAME\": \"Travis195\"\n },\n {\n \"NAME\": \"Vanessa282\"\n },\n {\n \"NAME\": \"Vanessa345\"\n },\n {\n \"NAME\": \"Victor292\"\n },\n {\n \"NAME\": \"Victor355\"\n },\n {\n \"NAME\": \"Victoria424\"\n },\n {\n \"NAME\": \"Victoria487\"\n },\n {\n \"NAME\": \"Whitney118\"\n },\n {\n \"NAME\": \"Whitney2\"\n },\n {\n \"NAME\": \"Whitney55\"\n },\n {\n \"NAME\": \"Whitney65\"\n },\n {\n \"NAME\": \"Zachary131\"\n },\n {\n \"NAME\": \"Zachary152\"\n },\n {\n \"NAME\": \"Zachary194\"\n },\n {\n \"NAME\": \"Zachary215\"\n }\n]" + }, + { + "name": "Users By Filter - DB Include Filter", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?include=[\"USERGROUP\", {\"INVESTIGATIONUSER\":{\"INVESTIGATION\":\"DATASET\"}}]&limit=2&skip=4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"ID\": {\"in\": [49,23]}}", + "disabled": true + }, + { + "key": "include", + "value": "\"userGroups\"", + "disabled": true + }, + { + "key": "include", + "value": "[\"USERGROUP\", {\"INVESTIGATIONUSER\":{\"INVESTIGATION\":\"DATASET\"}}]" + }, + { + "key": "order", + "value": "\"id desc\"", + "disabled": true + }, + { + "key": "limit", + "value": "2" + }, + { + "key": "skip", + "value": "4" + }, + { + "key": "distinct", + "value": "[\"name\", \"fullName\", \"orcidId\", \"modTime\"]", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"eq\": 6}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"name asc\"", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "4521" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Wed, 02 Sep 2020 14:35:19 GMT" + } + ], + "cookie": [], + "body": "[\n {\n \"ID\": 5,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2007-07-28 18:17:48\",\n \"EMAIL\": \"ljames@tapia.biz\",\n \"FULLNAME\": \"Rachel Herman\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2014-09-07 20:48:44\",\n \"NAME\": \"Loretta3\",\n \"ORCIDID\": \"5437\",\n \"USERGROUP\": [\n {\n \"ID\": 11,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2003-08-28 02:17:38\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2003-04-20 18:29:09\",\n \"GROUP_ID\": 7,\n \"USER_ID\": 5\n }\n ]\n },\n {\n \"ID\": 6,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2007-07-28 18:17:48\",\n \"EMAIL\": \"ljames@tapia.biz\",\n \"FULLNAME\": \"Rachel Herman\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2014-09-07 20:48:44\",\n \"NAME\": \"Loretta66\",\n \"ORCIDID\": \"15966\",\n \"USERGROUP\": [\n {\n \"ID\": 13,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2011-02-27 11:47:00\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2016-08-25 00:53:55\",\n \"GROUP_ID\": 4,\n \"USER_ID\": 6\n }\n ],\n \"INVESTIGATIONUSER\": [\n {\n \"ID\": 36,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2011-03-06 18:05:52\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2003-03-09 01:58:15\",\n \"ROLE\": \"CI\",\n \"INVESTIGATION_ID\": 33,\n \"USER_ID\": 6,\n \"INVESTIGATION\": {\n \"ID\": 33,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2016-12-12 08:53:47\",\n \"DOI\": \"1-148-83222-X\",\n \"ENDDATE\": \"2008-05-04 00:00:00\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2005-01-04 07:22:59\",\n \"NAME\": \"INVESTIGATION 32\",\n \"RELEASEDATE\": \"2008-01-26 00:00:00\",\n \"STARTDATE\": \"2008-02-02 00:00:00\",\n \"SUMMARY\": \"Contain sea lose. Threat available well fish expert. Involve begin father.\",\n \"TITLE\": \"Trouble it write available low market open them. Maintain letter adult study child individual example. Behind appear throughout mother statement campaign month.\",\n \"VISIT_ID\": \"29\",\n \"FACILITY_ID\": 1,\n \"TYPE_ID\": 1,\n \"DATASET\": [\n {\n \"ID\": 135,\n \"COMPLETE\": false,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2012-06-07 21:26:39\",\n \"DESCRIPTION\": \"Respond opportunity record seek home. Yard anything get next page tree hundred. Feeling enter many treat kind community manage.\",\n \"DOI\": \"1-342-36668-9\",\n \"END_DATE\": null,\n \"LOCATION\": \"/agent/near.wav\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2018-10-27 14:59:23\",\n \"NAME\": \"DATASET 153\",\n \"STARTDATE\": \"2038-01-15 00:00:00\",\n \"INVESTIGATION_ID\": 33,\n \"SAMPLE_ID\": 33,\n \"TYPE_ID\": 1\n },\n {\n \"ID\": 14,\n \"COMPLETE\": true,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2019-05-06 07:27:24\",\n \"DESCRIPTION\": \"Eat young business more similar important write local. Keep man despite kitchen positive. Store material all effort drug decade.\",\n \"DOI\": \"1-925475-68-9\",\n \"END_DATE\": null,\n \"LOCATION\": \"/full/song.png\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2002-02-24 04:37:23\",\n \"NAME\": \"DATASET 33\",\n \"STARTDATE\": \"2008-02-15 00:00:00\",\n \"INVESTIGATION_ID\": 33,\n \"SAMPLE_ID\": 33,\n \"TYPE_ID\": 3\n }\n ]\n }\n }\n ]\n }\n]" + }, + { + "name": "Users By Filter", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?distinct=\"NAME\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [492, 3]}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"ID desc\"", + "disabled": true + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "5", + "disabled": true + }, + { + "key": "distinct", + "value": "\"NAME\"" + }, + { + "key": "where", + "value": "{\"id\": {\"like\": 4}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"id desc\"", + "disabled": true + }, + { + "key": "order", + "value": "\"name asc\"", + "disabled": true + }, + { + "key": "order", + "value": "\"orcidId desc\"", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "20374" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Mon, 24 Aug 2020 12:18:53 GMT" + } + ], + "cookie": [], + "body": "[\n {\n \"NAME\": \"Aaron311\"\n },\n {\n \"NAME\": \"Aaron374\"\n },\n {\n \"NAME\": \"Aaron438\"\n },\n {\n \"NAME\": \"Adam133\"\n },\n {\n \"NAME\": \"Adam196\"\n },\n {\n \"NAME\": \"Adam428\"\n },\n {\n \"NAME\": \"Adam491\"\n },\n {\n \"NAME\": \"Adriana19\"\n },\n {\n \"NAME\": \"Adriana82\"\n },\n {\n \"NAME\": \"Alexandra135\"\n },\n {\n \"NAME\": \"Alexandra198\"\n },\n {\n \"NAME\": \"Alicia175\"\n },\n {\n \"NAME\": \"Alicia238\"\n },\n {\n \"NAME\": \"Alison113\"\n },\n {\n \"NAME\": \"Alison50\"\n },\n {\n \"NAME\": \"Alyssa420\"\n },\n {\n \"NAME\": \"Alyssa483\"\n },\n {\n \"NAME\": \"Amanda259\"\n },\n {\n \"NAME\": \"Amanda322\"\n },\n {\n \"NAME\": \"Amy160\"\n },\n {\n \"NAME\": \"Amy223\"\n },\n {\n \"NAME\": \"Andrea392\"\n },\n {\n \"NAME\": \"Andrea435\"\n },\n {\n \"NAME\": \"Andrea455\"\n },\n {\n \"NAME\": \"Andrea498\"\n },\n {\n \"NAME\": \"Andrew147\"\n },\n {\n \"NAME\": \"Andrew151\"\n },\n {\n \"NAME\": \"Andrew167\"\n },\n {\n \"NAME\": \"Andrew210\"\n },\n {\n \"NAME\": \"Andrew214\"\n },\n {\n \"NAME\": \"Andrew230\"\n },\n {\n \"NAME\": \"Andrew390\"\n },\n {\n \"NAME\": \"Andrew453\"\n },\n {\n \"NAME\": \"Angel34\"\n },\n {\n \"NAME\": \"Angel97\"\n },\n {\n \"NAME\": \"Angela399\"\n },\n {\n \"NAME\": \"Angela462\"\n },\n {\n \"NAME\": \"Anna303\"\n },\n {\n \"NAME\": \"Anna366\"\n },\n {\n \"NAME\": \"Anne172\"\n },\n {\n \"NAME\": \"Anne235\"\n },\n {\n \"NAME\": \"Anthony395\"\n },\n {\n \"NAME\": \"Anthony458\"\n },\n {\n \"NAME\": \"April271\"\n },\n {\n \"NAME\": \"April334\"\n },\n {\n \"NAME\": \"Ashley159\"\n },\n {\n \"NAME\": \"Ashley222\"\n },\n {\n \"NAME\": \"Bailey400\"\n },\n {\n \"NAME\": \"Bailey463\"\n },\n {\n \"NAME\": \"Barbara115\"\n },\n {\n \"NAME\": \"Barbara385\"\n },\n {\n \"NAME\": \"Barbara448\"\n },\n {\n \"NAME\": \"Barbara52\"\n },\n {\n \"NAME\": \"Benjamin15\"\n },\n {\n \"NAME\": \"Benjamin78\"\n },\n {\n \"NAME\": \"Beverly143\"\n },\n {\n \"NAME\": \"Beverly206\"\n },\n {\n \"NAME\": \"Brandon396\"\n },\n {\n \"NAME\": \"Brandon459\"\n },\n {\n \"NAME\": \"Brandy121\"\n },\n {\n \"NAME\": \"Brandy58\"\n },\n {\n \"NAME\": \"Brenda144\"\n },\n {\n \"NAME\": \"Brenda207\"\n },\n {\n \"NAME\": \"Brittany295\"\n },\n {\n \"NAME\": \"Brittany358\"\n },\n {\n \"NAME\": \"Bryan171\"\n },\n {\n \"NAME\": \"Bryan234\"\n },\n {\n \"NAME\": \"Carl1\"\n },\n {\n \"NAME\": \"Carl64\"\n },\n {\n \"NAME\": \"Carla110\"\n },\n {\n \"NAME\": \"Carla47\"\n },\n {\n \"NAME\": \"Carlos169\"\n },\n {\n \"NAME\": \"Carlos232\"\n },\n {\n \"NAME\": \"Carol284\"\n },\n {\n \"NAME\": \"Carol347\"\n },\n {\n \"NAME\": \"Casey148\"\n },\n {\n \"NAME\": \"Casey211\"\n },\n {\n \"NAME\": \"Catherine275\"\n },\n {\n \"NAME\": \"Catherine338\"\n },\n {\n \"NAME\": \"Catherine406\"\n },\n {\n \"NAME\": \"Catherine469\"\n },\n {\n \"NAME\": \"Charlotte150\"\n },\n {\n \"NAME\": \"Charlotte213\"\n },\n {\n \"NAME\": \"Christina381\"\n },\n {\n \"NAME\": \"Christina444\"\n },\n {\n \"NAME\": \"Christopher11\"\n },\n {\n \"NAME\": \"Christopher124\"\n },\n {\n \"NAME\": \"Christopher156\"\n },\n {\n \"NAME\": \"Christopher186\"\n },\n {\n \"NAME\": \"Christopher188\"\n },\n {\n \"NAME\": \"Christopher219\"\n },\n {\n \"NAME\": \"Christopher249\"\n },\n {\n \"NAME\": \"Christopher251\"\n },\n {\n \"NAME\": \"Christopher262\"\n },\n {\n \"NAME\": \"Christopher29\"\n },\n {\n \"NAME\": \"Christopher325\"\n },\n {\n \"NAME\": \"Christopher6\"\n },\n {\n \"NAME\": \"Christopher61\"\n },\n {\n \"NAME\": \"Christopher69\"\n },\n {\n \"NAME\": \"Christopher74\"\n },\n {\n \"NAME\": \"Christopher92\"\n },\n {\n \"NAME\": \"Colleen283\"\n },\n {\n \"NAME\": \"Colleen346\"\n },\n {\n \"NAME\": \"Curtis14\"\n },\n {\n \"NAME\": \"Curtis77\"\n },\n {\n \"NAME\": \"Dana154\"\n },\n {\n \"NAME\": \"Dana217\"\n },\n {\n \"NAME\": \"Daniel20\"\n },\n {\n \"NAME\": \"Daniel267\"\n },\n {\n \"NAME\": \"Daniel296\"\n },\n {\n \"NAME\": \"Daniel330\"\n },\n {\n \"NAME\": \"Daniel359\"\n },\n {\n \"NAME\": \"Daniel83\"\n },\n {\n \"NAME\": \"Darryl436\"\n },\n {\n \"NAME\": \"Darryl499\"\n },\n {\n \"NAME\": \"David383\"\n },\n {\n \"NAME\": \"David386\"\n },\n {\n \"NAME\": \"David418\"\n },\n {\n \"NAME\": \"David429\"\n },\n {\n \"NAME\": \"David446\"\n },\n {\n \"NAME\": \"David449\"\n },\n {\n \"NAME\": \"David481\"\n },\n {\n \"NAME\": \"David492\"\n },\n {\n \"NAME\": \"Dawn297\"\n },\n {\n \"NAME\": \"Dawn360\"\n },\n {\n \"NAME\": \"Debbie162\"\n },\n {\n \"NAME\": \"Debbie225\"\n },\n {\n \"NAME\": \"Denise117\"\n },\n {\n \"NAME\": \"Denise54\"\n },\n {\n \"NAME\": \"Dennis161\"\n },\n {\n \"NAME\": \"Dennis224\"\n },\n {\n \"NAME\": \"Dennis402\"\n },\n {\n \"NAME\": \"Dennis465\"\n },\n {\n \"NAME\": \"Derek111\"\n },\n {\n \"NAME\": \"Derek48\"\n },\n {\n \"NAME\": \"Desiree404\"\n },\n {\n \"NAME\": \"Desiree467\"\n },\n {\n \"NAME\": \"Diane24\"\n },\n {\n \"NAME\": \"Diane87\"\n },\n {\n \"NAME\": \"Douglas178\"\n },\n {\n \"NAME\": \"Douglas241\"\n },\n {\n \"NAME\": \"Dustin7\"\n },\n {\n \"NAME\": \"Dustin70\"\n },\n {\n \"NAME\": \"Eric391\"\n },\n {\n \"NAME\": \"Eric454\"\n },\n {\n \"NAME\": \"Erica4\"\n },\n {\n \"NAME\": \"Erica67\"\n },\n {\n \"NAME\": \"Erik183\"\n },\n {\n \"NAME\": \"Erik246\"\n },\n {\n \"NAME\": \"Erin112\"\n },\n {\n \"NAME\": \"Erin268\"\n },\n {\n \"NAME\": \"Erin331\"\n },\n {\n \"NAME\": \"Erin49\"\n },\n {\n \"NAME\": \"Francisco71\"\n },\n {\n \"NAME\": \"Francisco8\"\n },\n {\n \"NAME\": \"Frank138\"\n },\n {\n \"NAME\": \"Frank201\"\n },\n {\n \"NAME\": \"Frank25\"\n },\n {\n \"NAME\": \"Frank88\"\n },\n {\n \"NAME\": \"Garrett157\"\n },\n {\n \"NAME\": \"Garrett220\"\n },\n {\n \"NAME\": \"George16\"\n },\n {\n \"NAME\": \"George306\"\n },\n {\n \"NAME\": \"George369\"\n },\n {\n \"NAME\": \"George79\"\n },\n {\n \"NAME\": \"Gerald164\"\n },\n {\n \"NAME\": \"Gerald227\"\n },\n {\n \"NAME\": \"Gregory274\"\n },\n {\n \"NAME\": \"Gregory337\"\n },\n {\n \"NAME\": \"Gregory426\"\n },\n {\n \"NAME\": \"Gregory489\"\n },\n {\n \"NAME\": \"Howard256\"\n },\n {\n \"NAME\": \"Howard319\"\n },\n {\n \"NAME\": \"Jacob181\"\n },\n {\n \"NAME\": \"Jacob244\"\n },\n {\n \"NAME\": \"Jacqueline440\"\n },\n {\n \"NAME\": \"James10\"\n },\n {\n \"NAME\": \"James109\"\n },\n {\n \"NAME\": \"James12\"\n },\n {\n \"NAME\": \"James155\"\n },\n {\n \"NAME\": \"James218\"\n },\n {\n \"NAME\": \"James382\"\n },\n {\n \"NAME\": \"James412\"\n },\n {\n \"NAME\": \"James417\"\n },\n {\n \"NAME\": \"James445\"\n },\n {\n \"NAME\": \"James46\"\n },\n {\n \"NAME\": \"James475\"\n },\n {\n \"NAME\": \"James480\"\n },\n {\n \"NAME\": \"James73\"\n },\n {\n \"NAME\": \"James75\"\n },\n {\n \"NAME\": \"Jared128\"\n },\n {\n \"NAME\": \"Jared191\"\n },\n {\n \"NAME\": \"Jason103\"\n },\n {\n \"NAME\": \"Jason40\"\n },\n {\n \"NAME\": \"Jeffrey264\"\n },\n {\n \"NAME\": \"Jeffrey327\"\n },\n {\n \"NAME\": \"Jennifer185\"\n },\n {\n \"NAME\": \"Jennifer248\"\n },\n {\n \"NAME\": \"Jeremy141\"\n },\n {\n \"NAME\": \"Jeremy204\"\n },\n {\n \"NAME\": \"Jeremy414\"\n },\n {\n \"NAME\": \"Jeremy477\"\n },\n {\n \"NAME\": \"Jerry257\"\n },\n {\n \"NAME\": \"Jerry320\"\n },\n {\n \"NAME\": \"Jessica305\"\n },\n {\n \"NAME\": \"Jessica368\"\n },\n {\n \"NAME\": \"Jessica433\"\n },\n {\n \"NAME\": \"Jessica496\"\n },\n {\n \"NAME\": \"Joe269\"\n },\n {\n \"NAME\": \"Joe332\"\n },\n {\n \"NAME\": \"John187\"\n },\n {\n \"NAME\": \"John189\"\n },\n {\n \"NAME\": \"John250\"\n },\n {\n \"NAME\": \"John252\"\n },\n {\n \"NAME\": \"John30\"\n },\n {\n \"NAME\": \"John300\"\n },\n {\n \"NAME\": \"John308\"\n },\n {\n \"NAME\": \"John32\"\n },\n {\n \"NAME\": \"John363\"\n },\n {\n \"NAME\": \"John371\"\n },\n {\n \"NAME\": \"John397\"\n },\n {\n \"NAME\": \"John434\"\n },\n {\n \"NAME\": \"John460\"\n },\n {\n \"NAME\": \"John497\"\n },\n {\n \"NAME\": \"John93\"\n },\n {\n \"NAME\": \"John95\"\n },\n {\n \"NAME\": \"Johnny279\"\n },\n {\n \"NAME\": \"Johnny342\"\n },\n {\n \"NAME\": \"Jonathan100\"\n },\n {\n \"NAME\": \"Jonathan17\"\n },\n {\n \"NAME\": \"Jonathan260\"\n },\n {\n \"NAME\": \"Jonathan323\"\n },\n {\n \"NAME\": \"Jonathan37\"\n },\n {\n \"NAME\": \"Jonathan415\"\n },\n {\n \"NAME\": \"Jonathan478\"\n },\n {\n \"NAME\": \"Jonathan80\"\n },\n {\n \"NAME\": \"Joseph163\"\n },\n {\n \"NAME\": \"Joseph165\"\n },\n {\n \"NAME\": \"Joseph226\"\n },\n {\n \"NAME\": \"Joseph228\"\n },\n {\n \"NAME\": \"Joseph411\"\n },\n {\n \"NAME\": \"Joseph432\"\n },\n {\n \"NAME\": \"Joseph474\"\n },\n {\n \"NAME\": \"Joseph495\"\n },\n {\n \"NAME\": \"Julie27\"\n },\n {\n \"NAME\": \"Julie90\"\n },\n {\n \"NAME\": \"Justin389\"\n },\n {\n \"NAME\": \"Justin452\"\n },\n {\n \"NAME\": \"Kaitlyn106\"\n },\n {\n \"NAME\": \"Kaitlyn43\"\n },\n {\n \"NAME\": \"Karen280\"\n },\n {\n \"NAME\": \"Karen343\"\n },\n {\n \"NAME\": \"Karen407\"\n },\n {\n \"NAME\": \"Karen425\"\n },\n {\n \"NAME\": \"Karen470\"\n },\n {\n \"NAME\": \"Karen488\"\n },\n {\n \"NAME\": \"Katherine119\"\n },\n {\n \"NAME\": \"Katherine22\"\n },\n {\n \"NAME\": \"Katherine56\"\n },\n {\n \"NAME\": \"Katherine85\"\n },\n {\n \"NAME\": \"Kelly302\"\n },\n {\n \"NAME\": \"Kelly365\"\n },\n {\n \"NAME\": \"Kevin134\"\n },\n {\n \"NAME\": \"Kevin197\"\n },\n {\n \"NAME\": \"Kim380\"\n },\n {\n \"NAME\": \"Kim443\"\n },\n {\n \"NAME\": \"Kimberly23\"\n },\n {\n \"NAME\": \"Kimberly26\"\n },\n {\n \"NAME\": \"Kimberly86\"\n },\n {\n \"NAME\": \"Kimberly89\"\n },\n {\n \"NAME\": \"Kristen315\"\n },\n {\n \"NAME\": \"Kristen378\"\n },\n {\n \"NAME\": \"Kristy423\"\n },\n {\n \"NAME\": \"Kristy486\"\n },\n {\n \"NAME\": \"Kyle388\"\n },\n {\n \"NAME\": \"Kyle451\"\n },\n {\n \"NAME\": \"Leah21\"\n },\n {\n \"NAME\": \"Leah84\"\n },\n {\n \"NAME\": \"Linda142\"\n },\n {\n \"NAME\": \"Linda205\"\n },\n {\n \"NAME\": \"Lindsey127\"\n },\n {\n \"NAME\": \"Lindsey190\"\n },\n {\n \"NAME\": \"Lisa136\"\n },\n {\n \"NAME\": \"Lisa179\"\n },\n {\n \"NAME\": \"Lisa199\"\n },\n {\n \"NAME\": \"Lisa242\"\n },\n {\n \"NAME\": \"Lisa276\"\n },\n {\n \"NAME\": \"Lisa339\"\n },\n {\n \"NAME\": \"Lisa398\"\n },\n {\n \"NAME\": \"Lisa461\"\n },\n {\n \"NAME\": \"Logan35\"\n },\n {\n \"NAME\": \"Logan98\"\n },\n {\n \"NAME\": \"Loretta3\"\n },\n {\n \"NAME\": \"Loretta66\"\n },\n {\n \"NAME\": \"Madison137\"\n },\n {\n \"NAME\": \"Madison200\"\n },\n {\n \"NAME\": \"Maria285\"\n },\n {\n \"NAME\": \"Maria348\"\n },\n {\n \"NAME\": \"Maria405\"\n },\n {\n \"NAME\": \"Maria468\"\n },\n {\n \"NAME\": \"Marie108\"\n },\n {\n \"NAME\": \"Marie45\"\n },\n {\n \"NAME\": \"Marissa401\"\n },\n {\n \"NAME\": \"Marissa464\"\n },\n {\n \"NAME\": \"Mark263\"\n },\n {\n \"NAME\": \"Mark326\"\n },\n {\n \"NAME\": \"Mary430\"\n },\n {\n \"NAME\": \"Mary493\"\n },\n {\n \"NAME\": \"Matthew18\"\n },\n {\n \"NAME\": \"Matthew293\"\n },\n {\n \"NAME\": \"Matthew356\"\n },\n {\n \"NAME\": \"Matthew379\"\n },\n {\n \"NAME\": \"Matthew409\"\n },\n {\n \"NAME\": \"Matthew437\"\n },\n {\n \"NAME\": \"Matthew442\"\n },\n {\n \"NAME\": \"Matthew472\"\n },\n {\n \"NAME\": \"Matthew81\"\n },\n {\n \"NAME\": \"Megan291\"\n },\n {\n \"NAME\": \"Megan354\"\n },\n {\n \"NAME\": \"Megan387\"\n },\n {\n \"NAME\": \"Megan450\"\n },\n {\n \"NAME\": \"Melissa422\"\n },\n {\n \"NAME\": \"Melissa485\"\n },\n {\n \"NAME\": \"Michael122\"\n },\n {\n \"NAME\": \"Michael123\"\n },\n {\n \"NAME\": \"Michael168\"\n },\n {\n \"NAME\": \"Michael174\"\n },\n {\n \"NAME\": \"Michael231\"\n },\n {\n \"NAME\": \"Michael237\"\n },\n {\n \"NAME\": \"Michael410\"\n },\n {\n \"NAME\": \"Michael473\"\n },\n {\n \"NAME\": \"Michael59\"\n },\n {\n \"NAME\": \"Michael60\"\n },\n {\n \"NAME\": \"Micheal139\"\n },\n {\n \"NAME\": \"Micheal202\"\n },\n {\n \"NAME\": \"Michelle129\"\n },\n {\n \"NAME\": \"Michelle170\"\n },\n {\n \"NAME\": \"Michelle192\"\n },\n {\n \"NAME\": \"Michelle233\"\n },\n {\n \"NAME\": \"Michelle254\"\n },\n {\n \"NAME\": \"Michelle317\"\n },\n {\n \"NAME\": \"Michelle419\"\n },\n {\n \"NAME\": \"Michelle482\"\n },\n {\n \"NAME\": \"Miguel104\"\n },\n {\n \"NAME\": \"Miguel41\"\n },\n {\n \"NAME\": \"Monica393\"\n },\n {\n \"NAME\": \"Monica456\"\n },\n {\n \"NAME\": \"Nancy114\"\n },\n {\n \"NAME\": \"Nancy51\"\n },\n {\n \"NAME\": \"Natalie266\"\n },\n {\n \"NAME\": \"Natalie329\"\n },\n {\n \"NAME\": \"Natasha153\"\n },\n {\n \"NAME\": \"Natasha216\"\n },\n {\n \"NAME\": \"Nicholas255\"\n },\n {\n \"NAME\": \"Nicholas318\"\n },\n {\n \"NAME\": \"Nicholas33\"\n },\n {\n \"NAME\": \"Nicholas96\"\n },\n {\n \"NAME\": \"Norma258\"\n },\n {\n \"NAME\": \"Norma321\"\n },\n {\n \"NAME\": \"Olivia31\"\n },\n {\n \"NAME\": \"Olivia94\"\n },\n {\n \"NAME\": \"Pamela265\"\n },\n {\n \"NAME\": \"Pamela328\"\n },\n {\n \"NAME\": \"Patrick273\"\n },\n {\n \"NAME\": \"Patrick281\"\n },\n {\n \"NAME\": \"Patrick336\"\n },\n {\n \"NAME\": \"Patrick344\"\n },\n {\n \"NAME\": \"Peter184\"\n },\n {\n \"NAME\": \"Peter247\"\n },\n {\n \"NAME\": \"Phyllis441\"\n },\n {\n \"NAME\": \"Rachel173\"\n },\n {\n \"NAME\": \"Rachel236\"\n },\n {\n \"NAME\": \"Raymond394\"\n },\n {\n \"NAME\": \"Raymond457\"\n },\n {\n \"NAME\": \"Rebecca101\"\n },\n {\n \"NAME\": \"Rebecca38\"\n },\n {\n \"NAME\": \"Ricardo158\"\n },\n {\n \"NAME\": \"Ricardo221\"\n },\n {\n \"NAME\": \"Richard290\"\n },\n {\n \"NAME\": \"Richard353\"\n },\n {\n \"NAME\": \"Ricky288\"\n },\n {\n \"NAME\": \"Ricky351\"\n },\n {\n \"NAME\": \"Rita309\"\n },\n {\n \"NAME\": \"Rita372\"\n },\n {\n \"NAME\": \"Robert431\"\n },\n {\n \"NAME\": \"Robert494\"\n },\n {\n \"NAME\": \"Robert5\"\n },\n {\n \"NAME\": \"Robert68\"\n },\n {\n \"NAME\": \"Robin307\"\n },\n {\n \"NAME\": \"Robin370\"\n },\n {\n \"NAME\": \"Ruth286\"\n },\n {\n \"NAME\": \"Ruth349\"\n },\n {\n \"NAME\": \"Ryan272\"\n },\n {\n \"NAME\": \"Ryan335\"\n },\n {\n \"NAME\": \"Ryan72\"\n },\n {\n \"NAME\": \"Ryan9\"\n },\n {\n \"NAME\": \"Samantha304\"\n },\n {\n \"NAME\": \"Samantha367\"\n },\n {\n \"NAME\": \"Samuel120\"\n },\n {\n \"NAME\": \"Samuel28\"\n },\n {\n \"NAME\": \"Samuel416\"\n },\n {\n \"NAME\": \"Samuel479\"\n },\n {\n \"NAME\": \"Samuel57\"\n },\n {\n \"NAME\": \"Samuel91\"\n },\n {\n \"NAME\": \"Sandra126\"\n },\n {\n \"NAME\": \"Sandra313\"\n },\n {\n \"NAME\": \"Sandra376\"\n },\n {\n \"NAME\": \"Sandra63\"\n },\n {\n \"NAME\": \"Sarah298\"\n },\n {\n \"NAME\": \"Sarah314\"\n },\n {\n \"NAME\": \"Sarah361\"\n },\n {\n \"NAME\": \"Sarah377\"\n },\n {\n \"NAME\": \"Sarah408\"\n },\n {\n \"NAME\": \"Sarah471\"\n },\n {\n \"NAME\": \"Savannah130\"\n },\n {\n \"NAME\": \"Savannah193\"\n },\n {\n \"NAME\": \"Scott413\"\n },\n {\n \"NAME\": \"Scott476\"\n },\n {\n \"NAME\": \"Shane253\"\n },\n {\n \"NAME\": \"Shane316\"\n },\n {\n \"NAME\": \"Shannon107\"\n },\n {\n \"NAME\": \"Shannon278\"\n },\n {\n \"NAME\": \"Shannon341\"\n },\n {\n \"NAME\": \"Shannon384\"\n },\n {\n \"NAME\": \"Shannon44\"\n },\n {\n \"NAME\": \"Shannon447\"\n },\n {\n \"NAME\": \"Shelly36\"\n },\n {\n \"NAME\": \"Shelly99\"\n },\n {\n \"NAME\": \"Sherry289\"\n },\n {\n \"NAME\": \"Sherry352\"\n },\n {\n \"NAME\": \"Sierra261\"\n },\n {\n \"NAME\": \"Sierra324\"\n },\n {\n \"NAME\": \"Stephanie145\"\n },\n {\n \"NAME\": \"Stephanie208\"\n },\n {\n \"NAME\": \"Stephanie403\"\n },\n {\n \"NAME\": \"Stephanie466\"\n },\n {\n \"NAME\": \"Stephen177\"\n },\n {\n \"NAME\": \"Stephen240\"\n },\n {\n \"NAME\": \"Stephen427\"\n },\n {\n \"NAME\": \"Stephen490\"\n },\n {\n \"NAME\": \"Steven176\"\n },\n {\n \"NAME\": \"Steven239\"\n },\n {\n \"NAME\": \"Steven270\"\n },\n {\n \"NAME\": \"Steven301\"\n },\n {\n \"NAME\": \"Steven312\"\n },\n {\n \"NAME\": \"Steven333\"\n },\n {\n \"NAME\": \"Steven364\"\n },\n {\n \"NAME\": \"Steven375\"\n },\n {\n \"NAME\": \"Susan116\"\n },\n {\n \"NAME\": \"Susan140\"\n },\n {\n \"NAME\": \"Susan203\"\n },\n {\n \"NAME\": \"Susan53\"\n },\n {\n \"NAME\": \"Tamara146\"\n },\n {\n \"NAME\": \"Tamara209\"\n },\n {\n \"NAME\": \"Tammie125\"\n },\n {\n \"NAME\": \"Tammie62\"\n },\n {\n \"NAME\": \"Taylor287\"\n },\n {\n \"NAME\": \"Taylor350\"\n },\n {\n \"NAME\": \"Theresa182\"\n },\n {\n \"NAME\": \"Theresa245\"\n },\n {\n \"NAME\": \"Thomas105\"\n },\n {\n \"NAME\": \"Thomas149\"\n },\n {\n \"NAME\": \"Thomas166\"\n },\n {\n \"NAME\": \"Thomas212\"\n },\n {\n \"NAME\": \"Thomas229\"\n },\n {\n \"NAME\": \"Thomas42\"\n },\n {\n \"NAME\": \"Tiffany13\"\n },\n {\n \"NAME\": \"Tiffany76\"\n },\n {\n \"NAME\": \"Timothy294\"\n },\n {\n \"NAME\": \"Timothy299\"\n },\n {\n \"NAME\": \"Timothy357\"\n },\n {\n \"NAME\": \"Timothy362\"\n },\n {\n \"NAME\": \"Tina180\"\n },\n {\n \"NAME\": \"Tina243\"\n },\n {\n \"NAME\": \"Tina277\"\n },\n {\n \"NAME\": \"Tina310\"\n },\n {\n \"NAME\": \"Tina340\"\n },\n {\n \"NAME\": \"Tina373\"\n },\n {\n \"NAME\": \"Todd421\"\n },\n {\n \"NAME\": \"Todd484\"\n },\n {\n \"NAME\": \"Tonya102\"\n },\n {\n \"NAME\": \"Tonya39\"\n },\n {\n \"NAME\": \"Travis132\"\n },\n {\n \"NAME\": \"Travis195\"\n },\n {\n \"NAME\": \"Vanessa282\"\n },\n {\n \"NAME\": \"Vanessa345\"\n },\n {\n \"NAME\": \"Victor292\"\n },\n {\n \"NAME\": \"Victor355\"\n },\n {\n \"NAME\": \"Victoria424\"\n },\n {\n \"NAME\": \"Victoria487\"\n },\n {\n \"NAME\": \"Whitney118\"\n },\n {\n \"NAME\": \"Whitney2\"\n },\n {\n \"NAME\": \"Whitney55\"\n },\n {\n \"NAME\": \"Whitney65\"\n },\n {\n \"NAME\": \"Zachary131\"\n },\n {\n \"NAME\": \"Zachary152\"\n },\n {\n \"NAME\": \"Zachary194\"\n },\n {\n \"NAME\": \"Zachary215\"\n }\n]" + } + ] + }, + { + "name": "Update Users", + "event": [ + { + "listen": "test", + "script": { + "id": "28478358-4f9d-4e4e-ac9f-981ec127f639", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "\r\n{\r\n \"id\": 8,\r\n \"name\": \"new ngfhamel23D43\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/users", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create Users", + "event": [ + { + "listen": "test", + "script": { + "id": "b693e05a-5361-4002-b9f1-162f1b1f1d05", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"name\": \"new name123\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/users", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Count Users", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "b291ab98-afd1-42ee-a939-75096c2d6288", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "91de39fc-9d8c-4fdf-8364-9f671400245a", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"userGroups\"", + "disabled": true + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "4", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One User", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "ad46d89e-8cd4-4cc6-be21-675c613df4b2", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "09c9f799-9ccc-41f3-a099-0963a2d224fa", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [6]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUsers\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + }, + { + "name": "UserGroup", + "item": [ + { + "name": "UserGroups By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "a78032ec-b291-4b16-a11d-0de1ee532873", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/usergroups?include={\"INVESTIGATIONUSER\":\"INVESTIGATION\"}&limit=2&distinct=\"USER_.ID\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "usergroups" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}" + }, + { + "key": "include", + "value": "\"USER_\"", + "disabled": true + }, + { + "key": "limit", + "value": "2" + }, + { + "key": "order", + "value": "\"ID desc\"", + "disabled": true + }, + { + "key": "distinct", + "value": "\"USER_.ID\"" + } + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Update UserGroups", + "event": [ + { + "listen": "test", + "script": { + "id": "d1042055-8ac0-4d90-82c8-093309c8296d", + "exec": [ + "pm.test(\"Status: 400\", function () {\r", + " pm.response.to.have.status(400);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"createId\": \"simple/root\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/usergroups", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "usergroups" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Create UserGroups", + "event": [ + { + "listen": "test", + "script": { + "id": "6bbf422a-d9d5-4cbc-a5d0-82799e41b0ac", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\r\n {\r\n \"user\": 3,\r\n \"grouping\": 6\r\n }\r\n]\r\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://{{datagateway-api}}/usergroups", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "usergroups" + ] + } + }, + "response": [] + }, + { + "name": "Count UserGroups", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "8e944a9c-145f-46bb-9a00-9b330769947d", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "afa804a7-45ed-463b-b31f-7f599a841093", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/usergroups/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "usergroups", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One UserGroup", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "4c34521a-7ae0-4ac2-8249-2a21bf3778ed", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "7f2397a3-1de7-4f86-911b-d3ff2a3a1821", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/usergroups/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "usergroups", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2, 3, 4]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationUser\"", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {}, + "_postman_isSubFolder": true + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "18cb0bbc-d743-46ab-aabd-9a3e55d0ae5a", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "cafedb8c-b684-4fc8-98a4-6a25be1d6b8e", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "ISIS Specific Endpoints", + "item": [ + { + "name": "Instrument Facility Cycles", + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments/23/facilitycycles?order=\"id asc\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "23", + "facilitycycles" + ], + "query": [ + { + "key": "order", + "value": "\"id asc\"" + } + ] + } + }, + "response": [] + }, + { + "name": "Count Instrument Facility Cycles", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments/23/facilitycycles/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "23", + "facilitycycles", + "count" + ] + } + }, + "response": [] + }, + { + "name": "Instrument Facility Cycles Investigations", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments/23/facilitycycles/84762458/investigations?order=\"id asc\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "23", + "facilitycycles", + "84762458", + "investigations" + ], + "query": [ + { + "key": "order", + "value": "\"id asc\"" + }, + { + "key": "where", + "value": "{\"investigationInstruments.instrument.name\": {\"like\": \"ALF\"}}", + "disabled": true + }, + { + "key": "include", + "value": "\"investigationInstruments.instrument\"", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Count Instrument Facility Cycles Investigations", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/instruments/23/facilitycycles/84762458/investigations/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "instruments", + "23", + "facilitycycles", + "84762458", + "investigations", + "count" + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "test", + "script": { + "id": "90e89f71-e58b-4d1d-a304-db3c7a0da032", + "type": "text/javascript", + "exec": [ + "pm.test(\"Status: 200\", function () {", + " pm.response.to.have.status(200);", + "});" + ] + } + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "Session Related Requests", + "item": [ + { + "name": "Login - ICAT (anon)", + "event": [ + { + "listen": "test", + "script": { + "id": "2247f05c-ae9a-4b15-837b-c6dcd8732cbf", + "exec": [ + "var jsonData = JSON.parse(responseBody);\r", + "postman.setEnvironmentVariable(\"sessionID\", jsonData.sessionID);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"username\": \"\",\n\t\"password\": \"\",\n\t\"mechanism\": \"anon\"\n}", + "options": { + "raw": {} + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sessions", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sessions" + ] + } + }, + "response": [] + }, + { + "name": "Login - ICAT (simple)", + "event": [ + { + "listen": "test", + "script": { + "id": "9ea20d99-8104-4fbb-be78-cb4af8bc0aed", + "exec": [ + "var jsonData = JSON.parse(responseBody);\r", + "postman.setEnvironmentVariable(\"sessionID\", jsonData.sessionID);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"username\": \"root\",\n\t\"password\": \"pw\",\n\t\"mechanism\": \"simple\"\n}", + "options": { + "raw": {} + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sessions", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sessions" + ] + } + }, + "response": [] + }, + { + "name": "Login - DB", + "event": [ + { + "listen": "test", + "script": { + "id": "09367220-2b04-471f-a040-ed3b2b56f971", + "exec": [ + "var jsonData = JSON.parse(responseBody);\r", + "postman.setEnvironmentVariable(\"sessionID\", jsonData.sessionID);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "name": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"username\": \"user\",\n\t\"password\": \"password\",\n\t\"mechanism\": \"simple\"\n}", + "options": { + "raw": {} + } + }, + "url": { + "raw": "http://{{datagateway-api}}/sessions", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sessions" + ] + } + }, + "response": [] + }, + { + "name": "Session Details", + "event": [ + { + "listen": "test", + "script": { + "id": "9d68455e-05f5-4799-b7b6-58b22b250ecd", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/sessions", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "sessions" + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {} + }, + { + "name": "Frequently Used Requests", + "item": [ + { + "name": "Investigations By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "21592636-b010-4156-8e5e-d815e1306557", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "filter", + "type": "text", + "value": "{\"order\": \"TITLE+asc\"}", + "disabled": true + } + ], + "url": { + "raw": "http://{{datagateway-api}}/investigations", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations" + ], + "query": [ + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "distinct", + "value": "\"name\"", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Investigations By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "870723d2-67de-4310-93d2-bcd568a6848c", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "filter", + "type": "text", + "value": "{\"order\": \"TITLE+asc\"}", + "disabled": true + } + ], + "url": { + "raw": "http://{{datagateway-api}}/investigations?skip=5", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "investigations" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2, 3]}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"title\": {\"like\": \"voluptatem\"}}", + "disabled": true + }, + { + "key": "distinct", + "value": "[\"name\", \"visitId\"]", + "disabled": true + }, + { + "key": "skip", + "value": "5" + } + ] + } + }, + "response": [] + }, + { + "name": "Users By Filter", + "event": [ + { + "listen": "test", + "script": { + "id": "2edad0f1-c458-4b63-bf65-07fa5c8cfa18", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [1, 2, 3, 4, 5]}}", + "disabled": true + }, + { + "key": "include", + "value": "[\"userGroups\", {\"investigationUsers\":[\"investigation\"]}]", + "disabled": true + }, + { + "key": "include", + "value": "{\"investigationUsers\":{\"investigation\": \"datasets\"}}", + "disabled": true + }, + { + "key": "include", + "value": "[\"userGroups\", \"studies\", {\"investigationUsers\":{\"investigation\": \"datasets\"}}, \"instrumentScientists\"]", + "disabled": true + }, + { + "key": "include", + "value": "[\"USERGROUP\", {\"INVESTIGATIONUSER\":{\"INVESTIGATION\":\"DATASET\"}}]", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":[\"INVESTIGATION\"]}", + "disabled": true + }, + { + "key": "order", + "value": "\"userGroups.id desc\"", + "disabled": true + }, + { + "key": "distinct", + "value": "[\"name\", \"fullName\", \"modTime\"]", + "disabled": true + }, + { + "key": "where", + "value": "{\"userGroups.id\": {\"eq\": 50}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "distinct", + "value": "[\"userGroups.id\", \"userGroups.modTime\", \"userGroups.user.id\", \"id\"]", + "disabled": true + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "5", + "disabled": true + }, + { + "key": "include", + "value": "\"userGroups\"", + "disabled": true + }, + { + "key": "distinct", + "value": "\"investigationUsers.investigation.name\"", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Users By Filter - Distinct, no included fields", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?distinct=\"id\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"userGroups.id\": {\"in\": [44,23]}}", + "disabled": true + }, + { + "key": "include", + "value": "[\"userGroups\", {\"investigationUsers\":[\"investigation\"]}]", + "disabled": true + }, + { + "key": "include", + "value": "{\"investigationUsers\":{\"investigation\": \"datasets\"}}", + "disabled": true + }, + { + "key": "include", + "value": "[\"userGroups\", \"studies\", {\"investigationUsers\":{\"investigation\": \"datasets\"}}, \"instrumentScientists\"]", + "disabled": true + }, + { + "key": "include", + "value": "[\"USERGROUP\", {\"INVESTIGATIONUSER\":{\"INVESTIGATION\":\"DATASET\"}}]", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":[\"INVESTIGATION\"]}", + "disabled": true + }, + { + "key": "order", + "value": "\"id desc\"", + "disabled": true + }, + { + "key": "distinct", + "value": "[\"name\", \"fullName\", \"orcidId\", \"modTime\"]", + "disabled": true + }, + { + "key": "where", + "value": "{\"userGroups.id\": {\"eq\": 50}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"" + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "5", + "disabled": true + }, + { + "key": "include", + "value": "\"userGroups\"", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "15333" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 15 Sep 2020 10:33:56 GMT" + } + ], + "cookie": [], + "body": "[\n {\n \"id\": 1\n },\n {\n \"id\": 2\n },\n {\n \"id\": 3\n },\n {\n \"id\": 4\n },\n {\n \"id\": 5\n },\n {\n \"id\": 6\n },\n {\n \"id\": 7\n },\n {\n \"id\": 8\n },\n {\n \"id\": 9\n },\n {\n \"id\": 10\n },\n {\n \"id\": 11\n },\n {\n \"id\": 12\n },\n {\n \"id\": 13\n },\n {\n \"id\": 14\n },\n {\n \"id\": 15\n },\n {\n \"id\": 16\n },\n {\n \"id\": 17\n },\n {\n \"id\": 18\n },\n {\n \"id\": 19\n },\n {\n \"id\": 20\n },\n {\n \"id\": 21\n },\n {\n \"id\": 22\n },\n {\n \"id\": 23\n },\n {\n \"id\": 24\n },\n {\n \"id\": 25\n },\n {\n \"id\": 26\n },\n {\n \"id\": 27\n },\n {\n \"id\": 28\n },\n {\n \"id\": 29\n },\n {\n \"id\": 30\n },\n {\n \"id\": 31\n },\n {\n \"id\": 32\n },\n {\n \"id\": 33\n },\n {\n \"id\": 34\n },\n {\n \"id\": 35\n },\n {\n \"id\": 36\n },\n {\n \"id\": 37\n },\n {\n \"id\": 38\n },\n {\n \"id\": 39\n },\n {\n \"id\": 40\n },\n {\n \"id\": 41\n },\n {\n \"id\": 42\n },\n {\n \"id\": 43\n },\n {\n \"id\": 44\n },\n {\n \"id\": 45\n },\n {\n \"id\": 46\n },\n {\n \"id\": 47\n },\n {\n \"id\": 48\n },\n {\n \"id\": 49\n },\n {\n \"id\": 50\n },\n {\n \"id\": 51\n },\n {\n \"id\": 52\n },\n {\n \"id\": 53\n },\n {\n \"id\": 54\n },\n {\n \"id\": 55\n },\n {\n \"id\": 56\n },\n {\n \"id\": 57\n },\n {\n \"id\": 58\n },\n {\n \"id\": 59\n },\n {\n \"id\": 60\n },\n {\n \"id\": 61\n },\n {\n \"id\": 62\n },\n {\n \"id\": 63\n },\n {\n \"id\": 64\n },\n {\n \"id\": 65\n },\n {\n \"id\": 66\n },\n {\n \"id\": 67\n },\n {\n \"id\": 68\n },\n {\n \"id\": 69\n },\n {\n \"id\": 70\n },\n {\n \"id\": 71\n },\n {\n \"id\": 72\n },\n {\n \"id\": 73\n },\n {\n \"id\": 74\n },\n {\n \"id\": 75\n },\n {\n \"id\": 76\n },\n {\n \"id\": 77\n },\n {\n \"id\": 78\n },\n {\n \"id\": 79\n },\n {\n \"id\": 80\n },\n {\n \"id\": 81\n },\n {\n \"id\": 82\n },\n {\n \"id\": 83\n },\n {\n \"id\": 84\n },\n {\n \"id\": 85\n },\n {\n \"id\": 86\n },\n {\n \"id\": 87\n },\n {\n \"id\": 88\n },\n {\n \"id\": 89\n },\n {\n \"id\": 90\n },\n {\n \"id\": 91\n },\n {\n \"id\": 92\n },\n {\n \"id\": 93\n },\n {\n \"id\": 94\n },\n {\n \"id\": 95\n },\n {\n \"id\": 96\n },\n {\n \"id\": 97\n },\n {\n \"id\": 98\n },\n {\n \"id\": 99\n },\n {\n \"id\": 100\n },\n {\n \"id\": 101\n },\n {\n \"id\": 102\n },\n {\n \"id\": 103\n },\n {\n \"id\": 104\n },\n {\n \"id\": 105\n },\n {\n \"id\": 106\n },\n {\n \"id\": 107\n },\n {\n \"id\": 108\n },\n {\n \"id\": 109\n },\n {\n \"id\": 110\n },\n {\n \"id\": 111\n },\n {\n \"id\": 112\n },\n {\n \"id\": 113\n },\n {\n \"id\": 114\n },\n {\n \"id\": 115\n },\n {\n \"id\": 116\n },\n {\n \"id\": 117\n },\n {\n \"id\": 118\n },\n {\n \"id\": 119\n },\n {\n \"id\": 120\n },\n {\n \"id\": 121\n },\n {\n \"id\": 122\n },\n {\n \"id\": 123\n },\n {\n \"id\": 124\n },\n {\n \"id\": 125\n },\n {\n \"id\": 126\n },\n {\n \"id\": 127\n },\n {\n \"id\": 128\n },\n {\n \"id\": 129\n },\n {\n \"id\": 130\n },\n {\n \"id\": 131\n },\n {\n \"id\": 132\n },\n {\n \"id\": 133\n },\n {\n \"id\": 134\n },\n {\n \"id\": 135\n },\n {\n \"id\": 136\n },\n {\n \"id\": 137\n },\n {\n \"id\": 138\n },\n {\n \"id\": 139\n },\n {\n \"id\": 140\n },\n {\n \"id\": 141\n },\n {\n \"id\": 142\n },\n {\n \"id\": 143\n },\n {\n \"id\": 144\n },\n {\n \"id\": 145\n },\n {\n \"id\": 146\n },\n {\n \"id\": 147\n },\n {\n \"id\": 148\n },\n {\n \"id\": 149\n },\n {\n \"id\": 150\n },\n {\n \"id\": 151\n },\n {\n \"id\": 152\n },\n {\n \"id\": 153\n },\n {\n \"id\": 154\n },\n {\n \"id\": 155\n },\n {\n \"id\": 156\n },\n {\n \"id\": 157\n },\n {\n \"id\": 158\n },\n {\n \"id\": 159\n },\n {\n \"id\": 160\n },\n {\n \"id\": 161\n },\n {\n \"id\": 162\n },\n {\n \"id\": 163\n },\n {\n \"id\": 164\n },\n {\n \"id\": 165\n },\n {\n \"id\": 166\n },\n {\n \"id\": 167\n },\n {\n \"id\": 168\n },\n {\n \"id\": 169\n },\n {\n \"id\": 170\n },\n {\n \"id\": 171\n },\n {\n \"id\": 172\n },\n {\n \"id\": 173\n },\n {\n \"id\": 174\n },\n {\n \"id\": 175\n },\n {\n \"id\": 176\n },\n {\n \"id\": 177\n },\n {\n \"id\": 178\n },\n {\n \"id\": 179\n },\n {\n \"id\": 180\n },\n {\n \"id\": 181\n },\n {\n \"id\": 182\n },\n {\n \"id\": 183\n },\n {\n \"id\": 184\n },\n {\n \"id\": 185\n },\n {\n \"id\": 186\n },\n {\n \"id\": 187\n },\n {\n \"id\": 188\n },\n {\n \"id\": 189\n },\n {\n \"id\": 190\n },\n {\n \"id\": 191\n },\n {\n \"id\": 192\n },\n {\n \"id\": 193\n },\n {\n \"id\": 194\n },\n {\n \"id\": 195\n },\n {\n \"id\": 196\n },\n {\n \"id\": 197\n },\n {\n \"id\": 198\n },\n {\n \"id\": 199\n },\n {\n \"id\": 200\n },\n {\n \"id\": 201\n },\n {\n \"id\": 202\n },\n {\n \"id\": 203\n },\n {\n \"id\": 204\n },\n {\n \"id\": 205\n },\n {\n \"id\": 206\n },\n {\n \"id\": 207\n },\n {\n \"id\": 208\n },\n {\n \"id\": 209\n },\n {\n \"id\": 210\n },\n {\n \"id\": 211\n },\n {\n \"id\": 212\n },\n {\n \"id\": 213\n },\n {\n \"id\": 214\n },\n {\n \"id\": 215\n },\n {\n \"id\": 216\n },\n {\n \"id\": 217\n },\n {\n \"id\": 218\n },\n {\n \"id\": 219\n },\n {\n \"id\": 220\n },\n {\n \"id\": 221\n },\n {\n \"id\": 222\n },\n {\n \"id\": 223\n },\n {\n \"id\": 224\n },\n {\n \"id\": 225\n },\n {\n \"id\": 226\n },\n {\n \"id\": 227\n },\n {\n \"id\": 228\n },\n {\n \"id\": 229\n },\n {\n \"id\": 230\n },\n {\n \"id\": 231\n },\n {\n \"id\": 232\n },\n {\n \"id\": 233\n },\n {\n \"id\": 234\n },\n {\n \"id\": 235\n },\n {\n \"id\": 236\n },\n {\n \"id\": 237\n },\n {\n \"id\": 238\n },\n {\n \"id\": 239\n },\n {\n \"id\": 240\n },\n {\n \"id\": 241\n },\n {\n \"id\": 242\n },\n {\n \"id\": 243\n },\n {\n \"id\": 244\n },\n {\n \"id\": 245\n },\n {\n \"id\": 246\n },\n {\n \"id\": 247\n },\n {\n \"id\": 248\n },\n {\n \"id\": 249\n },\n {\n \"id\": 250\n },\n {\n \"id\": 251\n },\n {\n \"id\": 252\n },\n {\n \"id\": 253\n },\n {\n \"id\": 254\n },\n {\n \"id\": 255\n },\n {\n \"id\": 256\n },\n {\n \"id\": 257\n },\n {\n \"id\": 258\n },\n {\n \"id\": 259\n },\n {\n \"id\": 260\n },\n {\n \"id\": 261\n },\n {\n \"id\": 262\n },\n {\n \"id\": 263\n },\n {\n \"id\": 264\n },\n {\n \"id\": 265\n },\n {\n \"id\": 266\n },\n {\n \"id\": 267\n },\n {\n \"id\": 268\n },\n {\n \"id\": 269\n },\n {\n \"id\": 270\n },\n {\n \"id\": 271\n },\n {\n \"id\": 272\n },\n {\n \"id\": 273\n },\n {\n \"id\": 274\n },\n {\n \"id\": 275\n },\n {\n \"id\": 276\n },\n {\n \"id\": 277\n },\n {\n \"id\": 278\n },\n {\n \"id\": 279\n },\n {\n \"id\": 280\n },\n {\n \"id\": 281\n },\n {\n \"id\": 282\n },\n {\n \"id\": 283\n },\n {\n \"id\": 284\n },\n {\n \"id\": 285\n },\n {\n \"id\": 286\n },\n {\n \"id\": 287\n },\n {\n \"id\": 288\n },\n {\n \"id\": 289\n },\n {\n \"id\": 290\n },\n {\n \"id\": 291\n },\n {\n \"id\": 292\n },\n {\n \"id\": 293\n },\n {\n \"id\": 294\n },\n {\n \"id\": 295\n },\n {\n \"id\": 296\n },\n {\n \"id\": 297\n },\n {\n \"id\": 298\n },\n {\n \"id\": 299\n },\n {\n \"id\": 300\n },\n {\n \"id\": 301\n },\n {\n \"id\": 302\n },\n {\n \"id\": 303\n },\n {\n \"id\": 304\n },\n {\n \"id\": 305\n },\n {\n \"id\": 306\n },\n {\n \"id\": 307\n },\n {\n \"id\": 308\n },\n {\n \"id\": 309\n },\n {\n \"id\": 310\n },\n {\n \"id\": 311\n },\n {\n \"id\": 312\n },\n {\n \"id\": 313\n },\n {\n \"id\": 314\n },\n {\n \"id\": 315\n },\n {\n \"id\": 316\n },\n {\n \"id\": 317\n },\n {\n \"id\": 318\n },\n {\n \"id\": 319\n },\n {\n \"id\": 320\n },\n {\n \"id\": 321\n },\n {\n \"id\": 322\n },\n {\n \"id\": 323\n },\n {\n \"id\": 324\n },\n {\n \"id\": 325\n },\n {\n \"id\": 326\n },\n {\n \"id\": 327\n },\n {\n \"id\": 328\n },\n {\n \"id\": 329\n },\n {\n \"id\": 330\n },\n {\n \"id\": 331\n },\n {\n \"id\": 332\n },\n {\n \"id\": 333\n },\n {\n \"id\": 334\n },\n {\n \"id\": 335\n },\n {\n \"id\": 336\n },\n {\n \"id\": 337\n },\n {\n \"id\": 338\n },\n {\n \"id\": 339\n },\n {\n \"id\": 340\n },\n {\n \"id\": 341\n },\n {\n \"id\": 342\n },\n {\n \"id\": 343\n },\n {\n \"id\": 344\n },\n {\n \"id\": 345\n },\n {\n \"id\": 346\n },\n {\n \"id\": 347\n },\n {\n \"id\": 348\n },\n {\n \"id\": 349\n },\n {\n \"id\": 350\n },\n {\n \"id\": 351\n },\n {\n \"id\": 352\n },\n {\n \"id\": 353\n },\n {\n \"id\": 354\n },\n {\n \"id\": 355\n },\n {\n \"id\": 356\n },\n {\n \"id\": 357\n },\n {\n \"id\": 358\n },\n {\n \"id\": 359\n },\n {\n \"id\": 360\n },\n {\n \"id\": 361\n },\n {\n \"id\": 362\n },\n {\n \"id\": 363\n },\n {\n \"id\": 364\n },\n {\n \"id\": 365\n },\n {\n \"id\": 366\n },\n {\n \"id\": 367\n },\n {\n \"id\": 368\n },\n {\n \"id\": 369\n },\n {\n \"id\": 370\n },\n {\n \"id\": 371\n },\n {\n \"id\": 372\n },\n {\n \"id\": 373\n },\n {\n \"id\": 374\n },\n {\n \"id\": 375\n },\n {\n \"id\": 376\n },\n {\n \"id\": 377\n },\n {\n \"id\": 378\n },\n {\n \"id\": 379\n },\n {\n \"id\": 380\n },\n {\n \"id\": 381\n },\n {\n \"id\": 382\n },\n {\n \"id\": 383\n },\n {\n \"id\": 384\n },\n {\n \"id\": 385\n },\n {\n \"id\": 386\n },\n {\n \"id\": 387\n },\n {\n \"id\": 388\n },\n {\n \"id\": 389\n },\n {\n \"id\": 390\n },\n {\n \"id\": 391\n },\n {\n \"id\": 392\n },\n {\n \"id\": 393\n },\n {\n \"id\": 394\n },\n {\n \"id\": 395\n },\n {\n \"id\": 396\n },\n {\n \"id\": 397\n },\n {\n \"id\": 398\n },\n {\n \"id\": 399\n },\n {\n \"id\": 400\n },\n {\n \"id\": 401\n },\n {\n \"id\": 402\n },\n {\n \"id\": 403\n },\n {\n \"id\": 404\n },\n {\n \"id\": 405\n },\n {\n \"id\": 406\n },\n {\n \"id\": 407\n },\n {\n \"id\": 408\n },\n {\n \"id\": 409\n },\n {\n \"id\": 410\n },\n {\n \"id\": 411\n },\n {\n \"id\": 412\n },\n {\n \"id\": 413\n },\n {\n \"id\": 414\n },\n {\n \"id\": 415\n },\n {\n \"id\": 416\n },\n {\n \"id\": 417\n },\n {\n \"id\": 418\n },\n {\n \"id\": 419\n },\n {\n \"id\": 420\n },\n {\n \"id\": 421\n },\n {\n \"id\": 422\n },\n {\n \"id\": 423\n },\n {\n \"id\": 424\n },\n {\n \"id\": 425\n },\n {\n \"id\": 426\n },\n {\n \"id\": 427\n },\n {\n \"id\": 428\n },\n {\n \"id\": 429\n },\n {\n \"id\": 430\n },\n {\n \"id\": 431\n },\n {\n \"id\": 432\n },\n {\n \"id\": 433\n },\n {\n \"id\": 434\n },\n {\n \"id\": 435\n },\n {\n \"id\": 436\n },\n {\n \"id\": 437\n },\n {\n \"id\": 438\n },\n {\n \"id\": 439\n },\n {\n \"id\": 440\n },\n {\n \"id\": 441\n },\n {\n \"id\": 442\n },\n {\n \"id\": 443\n },\n {\n \"id\": 444\n },\n {\n \"id\": 445\n },\n {\n \"id\": 446\n },\n {\n \"id\": 447\n },\n {\n \"id\": 448\n },\n {\n \"id\": 449\n },\n {\n \"id\": 450\n },\n {\n \"id\": 451\n },\n {\n \"id\": 452\n },\n {\n \"id\": 453\n },\n {\n \"id\": 454\n },\n {\n \"id\": 455\n },\n {\n \"id\": 456\n },\n {\n \"id\": 457\n },\n {\n \"id\": 458\n },\n {\n \"id\": 459\n },\n {\n \"id\": 460\n },\n {\n \"id\": 461\n },\n {\n \"id\": 462\n },\n {\n \"id\": 463\n },\n {\n \"id\": 464\n },\n {\n \"id\": 465\n },\n {\n \"id\": 466\n },\n {\n \"id\": 467\n },\n {\n \"id\": 468\n },\n {\n \"id\": 469\n },\n {\n \"id\": 470\n },\n {\n \"id\": 471\n },\n {\n \"id\": 472\n },\n {\n \"id\": 473\n },\n {\n \"id\": 474\n },\n {\n \"id\": 475\n },\n {\n \"id\": 476\n },\n {\n \"id\": 477\n },\n {\n \"id\": 478\n },\n {\n \"id\": 479\n },\n {\n \"id\": 480\n },\n {\n \"id\": 481\n },\n {\n \"id\": 482\n },\n {\n \"id\": 483\n },\n {\n \"id\": 484\n },\n {\n \"id\": 485\n },\n {\n \"id\": 486\n },\n {\n \"id\": 487\n },\n {\n \"id\": 488\n },\n {\n \"id\": 489\n },\n {\n \"id\": 490\n },\n {\n \"id\": 491\n },\n {\n \"id\": 492\n },\n {\n \"id\": 493\n },\n {\n \"id\": 494\n },\n {\n \"id\": 495\n },\n {\n \"id\": 496\n },\n {\n \"id\": 498\n },\n {\n \"id\": 499\n }\n]" + }, + { + "name": "Users By Filter", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?distinct=\"NAME\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [492, 3]}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"ID desc\"", + "disabled": true + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "5", + "disabled": true + }, + { + "key": "distinct", + "value": "\"NAME\"" + }, + { + "key": "where", + "value": "{\"id\": {\"like\": 4}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"id desc\"", + "disabled": true + }, + { + "key": "order", + "value": "\"name asc\"", + "disabled": true + }, + { + "key": "order", + "value": "\"orcidId desc\"", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "20374" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Mon, 24 Aug 2020 12:18:53 GMT" + } + ], + "cookie": [], + "body": "[\n {\n \"NAME\": \"Aaron311\"\n },\n {\n \"NAME\": \"Aaron374\"\n },\n {\n \"NAME\": \"Aaron438\"\n },\n {\n \"NAME\": \"Adam133\"\n },\n {\n \"NAME\": \"Adam196\"\n },\n {\n \"NAME\": \"Adam428\"\n },\n {\n \"NAME\": \"Adam491\"\n },\n {\n \"NAME\": \"Adriana19\"\n },\n {\n \"NAME\": \"Adriana82\"\n },\n {\n \"NAME\": \"Alexandra135\"\n },\n {\n \"NAME\": \"Alexandra198\"\n },\n {\n \"NAME\": \"Alicia175\"\n },\n {\n \"NAME\": \"Alicia238\"\n },\n {\n \"NAME\": \"Alison113\"\n },\n {\n \"NAME\": \"Alison50\"\n },\n {\n \"NAME\": \"Alyssa420\"\n },\n {\n \"NAME\": \"Alyssa483\"\n },\n {\n \"NAME\": \"Amanda259\"\n },\n {\n \"NAME\": \"Amanda322\"\n },\n {\n \"NAME\": \"Amy160\"\n },\n {\n \"NAME\": \"Amy223\"\n },\n {\n \"NAME\": \"Andrea392\"\n },\n {\n \"NAME\": \"Andrea435\"\n },\n {\n \"NAME\": \"Andrea455\"\n },\n {\n \"NAME\": \"Andrea498\"\n },\n {\n \"NAME\": \"Andrew147\"\n },\n {\n \"NAME\": \"Andrew151\"\n },\n {\n \"NAME\": \"Andrew167\"\n },\n {\n \"NAME\": \"Andrew210\"\n },\n {\n \"NAME\": \"Andrew214\"\n },\n {\n \"NAME\": \"Andrew230\"\n },\n {\n \"NAME\": \"Andrew390\"\n },\n {\n \"NAME\": \"Andrew453\"\n },\n {\n \"NAME\": \"Angel34\"\n },\n {\n \"NAME\": \"Angel97\"\n },\n {\n \"NAME\": \"Angela399\"\n },\n {\n \"NAME\": \"Angela462\"\n },\n {\n \"NAME\": \"Anna303\"\n },\n {\n \"NAME\": \"Anna366\"\n },\n {\n \"NAME\": \"Anne172\"\n },\n {\n \"NAME\": \"Anne235\"\n },\n {\n \"NAME\": \"Anthony395\"\n },\n {\n \"NAME\": \"Anthony458\"\n },\n {\n \"NAME\": \"April271\"\n },\n {\n \"NAME\": \"April334\"\n },\n {\n \"NAME\": \"Ashley159\"\n },\n {\n \"NAME\": \"Ashley222\"\n },\n {\n \"NAME\": \"Bailey400\"\n },\n {\n \"NAME\": \"Bailey463\"\n },\n {\n \"NAME\": \"Barbara115\"\n },\n {\n \"NAME\": \"Barbara385\"\n },\n {\n \"NAME\": \"Barbara448\"\n },\n {\n \"NAME\": \"Barbara52\"\n },\n {\n \"NAME\": \"Benjamin15\"\n },\n {\n \"NAME\": \"Benjamin78\"\n },\n {\n \"NAME\": \"Beverly143\"\n },\n {\n \"NAME\": \"Beverly206\"\n },\n {\n \"NAME\": \"Brandon396\"\n },\n {\n \"NAME\": \"Brandon459\"\n },\n {\n \"NAME\": \"Brandy121\"\n },\n {\n \"NAME\": \"Brandy58\"\n },\n {\n \"NAME\": \"Brenda144\"\n },\n {\n \"NAME\": \"Brenda207\"\n },\n {\n \"NAME\": \"Brittany295\"\n },\n {\n \"NAME\": \"Brittany358\"\n },\n {\n \"NAME\": \"Bryan171\"\n },\n {\n \"NAME\": \"Bryan234\"\n },\n {\n \"NAME\": \"Carl1\"\n },\n {\n \"NAME\": \"Carl64\"\n },\n {\n \"NAME\": \"Carla110\"\n },\n {\n \"NAME\": \"Carla47\"\n },\n {\n \"NAME\": \"Carlos169\"\n },\n {\n \"NAME\": \"Carlos232\"\n },\n {\n \"NAME\": \"Carol284\"\n },\n {\n \"NAME\": \"Carol347\"\n },\n {\n \"NAME\": \"Casey148\"\n },\n {\n \"NAME\": \"Casey211\"\n },\n {\n \"NAME\": \"Catherine275\"\n },\n {\n \"NAME\": \"Catherine338\"\n },\n {\n \"NAME\": \"Catherine406\"\n },\n {\n \"NAME\": \"Catherine469\"\n },\n {\n \"NAME\": \"Charlotte150\"\n },\n {\n \"NAME\": \"Charlotte213\"\n },\n {\n \"NAME\": \"Christina381\"\n },\n {\n \"NAME\": \"Christina444\"\n },\n {\n \"NAME\": \"Christopher11\"\n },\n {\n \"NAME\": \"Christopher124\"\n },\n {\n \"NAME\": \"Christopher156\"\n },\n {\n \"NAME\": \"Christopher186\"\n },\n {\n \"NAME\": \"Christopher188\"\n },\n {\n \"NAME\": \"Christopher219\"\n },\n {\n \"NAME\": \"Christopher249\"\n },\n {\n \"NAME\": \"Christopher251\"\n },\n {\n \"NAME\": \"Christopher262\"\n },\n {\n \"NAME\": \"Christopher29\"\n },\n {\n \"NAME\": \"Christopher325\"\n },\n {\n \"NAME\": \"Christopher6\"\n },\n {\n \"NAME\": \"Christopher61\"\n },\n {\n \"NAME\": \"Christopher69\"\n },\n {\n \"NAME\": \"Christopher74\"\n },\n {\n \"NAME\": \"Christopher92\"\n },\n {\n \"NAME\": \"Colleen283\"\n },\n {\n \"NAME\": \"Colleen346\"\n },\n {\n \"NAME\": \"Curtis14\"\n },\n {\n \"NAME\": \"Curtis77\"\n },\n {\n \"NAME\": \"Dana154\"\n },\n {\n \"NAME\": \"Dana217\"\n },\n {\n \"NAME\": \"Daniel20\"\n },\n {\n \"NAME\": \"Daniel267\"\n },\n {\n \"NAME\": \"Daniel296\"\n },\n {\n \"NAME\": \"Daniel330\"\n },\n {\n \"NAME\": \"Daniel359\"\n },\n {\n \"NAME\": \"Daniel83\"\n },\n {\n \"NAME\": \"Darryl436\"\n },\n {\n \"NAME\": \"Darryl499\"\n },\n {\n \"NAME\": \"David383\"\n },\n {\n \"NAME\": \"David386\"\n },\n {\n \"NAME\": \"David418\"\n },\n {\n \"NAME\": \"David429\"\n },\n {\n \"NAME\": \"David446\"\n },\n {\n \"NAME\": \"David449\"\n },\n {\n \"NAME\": \"David481\"\n },\n {\n \"NAME\": \"David492\"\n },\n {\n \"NAME\": \"Dawn297\"\n },\n {\n \"NAME\": \"Dawn360\"\n },\n {\n \"NAME\": \"Debbie162\"\n },\n {\n \"NAME\": \"Debbie225\"\n },\n {\n \"NAME\": \"Denise117\"\n },\n {\n \"NAME\": \"Denise54\"\n },\n {\n \"NAME\": \"Dennis161\"\n },\n {\n \"NAME\": \"Dennis224\"\n },\n {\n \"NAME\": \"Dennis402\"\n },\n {\n \"NAME\": \"Dennis465\"\n },\n {\n \"NAME\": \"Derek111\"\n },\n {\n \"NAME\": \"Derek48\"\n },\n {\n \"NAME\": \"Desiree404\"\n },\n {\n \"NAME\": \"Desiree467\"\n },\n {\n \"NAME\": \"Diane24\"\n },\n {\n \"NAME\": \"Diane87\"\n },\n {\n \"NAME\": \"Douglas178\"\n },\n {\n \"NAME\": \"Douglas241\"\n },\n {\n \"NAME\": \"Dustin7\"\n },\n {\n \"NAME\": \"Dustin70\"\n },\n {\n \"NAME\": \"Eric391\"\n },\n {\n \"NAME\": \"Eric454\"\n },\n {\n \"NAME\": \"Erica4\"\n },\n {\n \"NAME\": \"Erica67\"\n },\n {\n \"NAME\": \"Erik183\"\n },\n {\n \"NAME\": \"Erik246\"\n },\n {\n \"NAME\": \"Erin112\"\n },\n {\n \"NAME\": \"Erin268\"\n },\n {\n \"NAME\": \"Erin331\"\n },\n {\n \"NAME\": \"Erin49\"\n },\n {\n \"NAME\": \"Francisco71\"\n },\n {\n \"NAME\": \"Francisco8\"\n },\n {\n \"NAME\": \"Frank138\"\n },\n {\n \"NAME\": \"Frank201\"\n },\n {\n \"NAME\": \"Frank25\"\n },\n {\n \"NAME\": \"Frank88\"\n },\n {\n \"NAME\": \"Garrett157\"\n },\n {\n \"NAME\": \"Garrett220\"\n },\n {\n \"NAME\": \"George16\"\n },\n {\n \"NAME\": \"George306\"\n },\n {\n \"NAME\": \"George369\"\n },\n {\n \"NAME\": \"George79\"\n },\n {\n \"NAME\": \"Gerald164\"\n },\n {\n \"NAME\": \"Gerald227\"\n },\n {\n \"NAME\": \"Gregory274\"\n },\n {\n \"NAME\": \"Gregory337\"\n },\n {\n \"NAME\": \"Gregory426\"\n },\n {\n \"NAME\": \"Gregory489\"\n },\n {\n \"NAME\": \"Howard256\"\n },\n {\n \"NAME\": \"Howard319\"\n },\n {\n \"NAME\": \"Jacob181\"\n },\n {\n \"NAME\": \"Jacob244\"\n },\n {\n \"NAME\": \"Jacqueline440\"\n },\n {\n \"NAME\": \"James10\"\n },\n {\n \"NAME\": \"James109\"\n },\n {\n \"NAME\": \"James12\"\n },\n {\n \"NAME\": \"James155\"\n },\n {\n \"NAME\": \"James218\"\n },\n {\n \"NAME\": \"James382\"\n },\n {\n \"NAME\": \"James412\"\n },\n {\n \"NAME\": \"James417\"\n },\n {\n \"NAME\": \"James445\"\n },\n {\n \"NAME\": \"James46\"\n },\n {\n \"NAME\": \"James475\"\n },\n {\n \"NAME\": \"James480\"\n },\n {\n \"NAME\": \"James73\"\n },\n {\n \"NAME\": \"James75\"\n },\n {\n \"NAME\": \"Jared128\"\n },\n {\n \"NAME\": \"Jared191\"\n },\n {\n \"NAME\": \"Jason103\"\n },\n {\n \"NAME\": \"Jason40\"\n },\n {\n \"NAME\": \"Jeffrey264\"\n },\n {\n \"NAME\": \"Jeffrey327\"\n },\n {\n \"NAME\": \"Jennifer185\"\n },\n {\n \"NAME\": \"Jennifer248\"\n },\n {\n \"NAME\": \"Jeremy141\"\n },\n {\n \"NAME\": \"Jeremy204\"\n },\n {\n \"NAME\": \"Jeremy414\"\n },\n {\n \"NAME\": \"Jeremy477\"\n },\n {\n \"NAME\": \"Jerry257\"\n },\n {\n \"NAME\": \"Jerry320\"\n },\n {\n \"NAME\": \"Jessica305\"\n },\n {\n \"NAME\": \"Jessica368\"\n },\n {\n \"NAME\": \"Jessica433\"\n },\n {\n \"NAME\": \"Jessica496\"\n },\n {\n \"NAME\": \"Joe269\"\n },\n {\n \"NAME\": \"Joe332\"\n },\n {\n \"NAME\": \"John187\"\n },\n {\n \"NAME\": \"John189\"\n },\n {\n \"NAME\": \"John250\"\n },\n {\n \"NAME\": \"John252\"\n },\n {\n \"NAME\": \"John30\"\n },\n {\n \"NAME\": \"John300\"\n },\n {\n \"NAME\": \"John308\"\n },\n {\n \"NAME\": \"John32\"\n },\n {\n \"NAME\": \"John363\"\n },\n {\n \"NAME\": \"John371\"\n },\n {\n \"NAME\": \"John397\"\n },\n {\n \"NAME\": \"John434\"\n },\n {\n \"NAME\": \"John460\"\n },\n {\n \"NAME\": \"John497\"\n },\n {\n \"NAME\": \"John93\"\n },\n {\n \"NAME\": \"John95\"\n },\n {\n \"NAME\": \"Johnny279\"\n },\n {\n \"NAME\": \"Johnny342\"\n },\n {\n \"NAME\": \"Jonathan100\"\n },\n {\n \"NAME\": \"Jonathan17\"\n },\n {\n \"NAME\": \"Jonathan260\"\n },\n {\n \"NAME\": \"Jonathan323\"\n },\n {\n \"NAME\": \"Jonathan37\"\n },\n {\n \"NAME\": \"Jonathan415\"\n },\n {\n \"NAME\": \"Jonathan478\"\n },\n {\n \"NAME\": \"Jonathan80\"\n },\n {\n \"NAME\": \"Joseph163\"\n },\n {\n \"NAME\": \"Joseph165\"\n },\n {\n \"NAME\": \"Joseph226\"\n },\n {\n \"NAME\": \"Joseph228\"\n },\n {\n \"NAME\": \"Joseph411\"\n },\n {\n \"NAME\": \"Joseph432\"\n },\n {\n \"NAME\": \"Joseph474\"\n },\n {\n \"NAME\": \"Joseph495\"\n },\n {\n \"NAME\": \"Julie27\"\n },\n {\n \"NAME\": \"Julie90\"\n },\n {\n \"NAME\": \"Justin389\"\n },\n {\n \"NAME\": \"Justin452\"\n },\n {\n \"NAME\": \"Kaitlyn106\"\n },\n {\n \"NAME\": \"Kaitlyn43\"\n },\n {\n \"NAME\": \"Karen280\"\n },\n {\n \"NAME\": \"Karen343\"\n },\n {\n \"NAME\": \"Karen407\"\n },\n {\n \"NAME\": \"Karen425\"\n },\n {\n \"NAME\": \"Karen470\"\n },\n {\n \"NAME\": \"Karen488\"\n },\n {\n \"NAME\": \"Katherine119\"\n },\n {\n \"NAME\": \"Katherine22\"\n },\n {\n \"NAME\": \"Katherine56\"\n },\n {\n \"NAME\": \"Katherine85\"\n },\n {\n \"NAME\": \"Kelly302\"\n },\n {\n \"NAME\": \"Kelly365\"\n },\n {\n \"NAME\": \"Kevin134\"\n },\n {\n \"NAME\": \"Kevin197\"\n },\n {\n \"NAME\": \"Kim380\"\n },\n {\n \"NAME\": \"Kim443\"\n },\n {\n \"NAME\": \"Kimberly23\"\n },\n {\n \"NAME\": \"Kimberly26\"\n },\n {\n \"NAME\": \"Kimberly86\"\n },\n {\n \"NAME\": \"Kimberly89\"\n },\n {\n \"NAME\": \"Kristen315\"\n },\n {\n \"NAME\": \"Kristen378\"\n },\n {\n \"NAME\": \"Kristy423\"\n },\n {\n \"NAME\": \"Kristy486\"\n },\n {\n \"NAME\": \"Kyle388\"\n },\n {\n \"NAME\": \"Kyle451\"\n },\n {\n \"NAME\": \"Leah21\"\n },\n {\n \"NAME\": \"Leah84\"\n },\n {\n \"NAME\": \"Linda142\"\n },\n {\n \"NAME\": \"Linda205\"\n },\n {\n \"NAME\": \"Lindsey127\"\n },\n {\n \"NAME\": \"Lindsey190\"\n },\n {\n \"NAME\": \"Lisa136\"\n },\n {\n \"NAME\": \"Lisa179\"\n },\n {\n \"NAME\": \"Lisa199\"\n },\n {\n \"NAME\": \"Lisa242\"\n },\n {\n \"NAME\": \"Lisa276\"\n },\n {\n \"NAME\": \"Lisa339\"\n },\n {\n \"NAME\": \"Lisa398\"\n },\n {\n \"NAME\": \"Lisa461\"\n },\n {\n \"NAME\": \"Logan35\"\n },\n {\n \"NAME\": \"Logan98\"\n },\n {\n \"NAME\": \"Loretta3\"\n },\n {\n \"NAME\": \"Loretta66\"\n },\n {\n \"NAME\": \"Madison137\"\n },\n {\n \"NAME\": \"Madison200\"\n },\n {\n \"NAME\": \"Maria285\"\n },\n {\n \"NAME\": \"Maria348\"\n },\n {\n \"NAME\": \"Maria405\"\n },\n {\n \"NAME\": \"Maria468\"\n },\n {\n \"NAME\": \"Marie108\"\n },\n {\n \"NAME\": \"Marie45\"\n },\n {\n \"NAME\": \"Marissa401\"\n },\n {\n \"NAME\": \"Marissa464\"\n },\n {\n \"NAME\": \"Mark263\"\n },\n {\n \"NAME\": \"Mark326\"\n },\n {\n \"NAME\": \"Mary430\"\n },\n {\n \"NAME\": \"Mary493\"\n },\n {\n \"NAME\": \"Matthew18\"\n },\n {\n \"NAME\": \"Matthew293\"\n },\n {\n \"NAME\": \"Matthew356\"\n },\n {\n \"NAME\": \"Matthew379\"\n },\n {\n \"NAME\": \"Matthew409\"\n },\n {\n \"NAME\": \"Matthew437\"\n },\n {\n \"NAME\": \"Matthew442\"\n },\n {\n \"NAME\": \"Matthew472\"\n },\n {\n \"NAME\": \"Matthew81\"\n },\n {\n \"NAME\": \"Megan291\"\n },\n {\n \"NAME\": \"Megan354\"\n },\n {\n \"NAME\": \"Megan387\"\n },\n {\n \"NAME\": \"Megan450\"\n },\n {\n \"NAME\": \"Melissa422\"\n },\n {\n \"NAME\": \"Melissa485\"\n },\n {\n \"NAME\": \"Michael122\"\n },\n {\n \"NAME\": \"Michael123\"\n },\n {\n \"NAME\": \"Michael168\"\n },\n {\n \"NAME\": \"Michael174\"\n },\n {\n \"NAME\": \"Michael231\"\n },\n {\n \"NAME\": \"Michael237\"\n },\n {\n \"NAME\": \"Michael410\"\n },\n {\n \"NAME\": \"Michael473\"\n },\n {\n \"NAME\": \"Michael59\"\n },\n {\n \"NAME\": \"Michael60\"\n },\n {\n \"NAME\": \"Micheal139\"\n },\n {\n \"NAME\": \"Micheal202\"\n },\n {\n \"NAME\": \"Michelle129\"\n },\n {\n \"NAME\": \"Michelle170\"\n },\n {\n \"NAME\": \"Michelle192\"\n },\n {\n \"NAME\": \"Michelle233\"\n },\n {\n \"NAME\": \"Michelle254\"\n },\n {\n \"NAME\": \"Michelle317\"\n },\n {\n \"NAME\": \"Michelle419\"\n },\n {\n \"NAME\": \"Michelle482\"\n },\n {\n \"NAME\": \"Miguel104\"\n },\n {\n \"NAME\": \"Miguel41\"\n },\n {\n \"NAME\": \"Monica393\"\n },\n {\n \"NAME\": \"Monica456\"\n },\n {\n \"NAME\": \"Nancy114\"\n },\n {\n \"NAME\": \"Nancy51\"\n },\n {\n \"NAME\": \"Natalie266\"\n },\n {\n \"NAME\": \"Natalie329\"\n },\n {\n \"NAME\": \"Natasha153\"\n },\n {\n \"NAME\": \"Natasha216\"\n },\n {\n \"NAME\": \"Nicholas255\"\n },\n {\n \"NAME\": \"Nicholas318\"\n },\n {\n \"NAME\": \"Nicholas33\"\n },\n {\n \"NAME\": \"Nicholas96\"\n },\n {\n \"NAME\": \"Norma258\"\n },\n {\n \"NAME\": \"Norma321\"\n },\n {\n \"NAME\": \"Olivia31\"\n },\n {\n \"NAME\": \"Olivia94\"\n },\n {\n \"NAME\": \"Pamela265\"\n },\n {\n \"NAME\": \"Pamela328\"\n },\n {\n \"NAME\": \"Patrick273\"\n },\n {\n \"NAME\": \"Patrick281\"\n },\n {\n \"NAME\": \"Patrick336\"\n },\n {\n \"NAME\": \"Patrick344\"\n },\n {\n \"NAME\": \"Peter184\"\n },\n {\n \"NAME\": \"Peter247\"\n },\n {\n \"NAME\": \"Phyllis441\"\n },\n {\n \"NAME\": \"Rachel173\"\n },\n {\n \"NAME\": \"Rachel236\"\n },\n {\n \"NAME\": \"Raymond394\"\n },\n {\n \"NAME\": \"Raymond457\"\n },\n {\n \"NAME\": \"Rebecca101\"\n },\n {\n \"NAME\": \"Rebecca38\"\n },\n {\n \"NAME\": \"Ricardo158\"\n },\n {\n \"NAME\": \"Ricardo221\"\n },\n {\n \"NAME\": \"Richard290\"\n },\n {\n \"NAME\": \"Richard353\"\n },\n {\n \"NAME\": \"Ricky288\"\n },\n {\n \"NAME\": \"Ricky351\"\n },\n {\n \"NAME\": \"Rita309\"\n },\n {\n \"NAME\": \"Rita372\"\n },\n {\n \"NAME\": \"Robert431\"\n },\n {\n \"NAME\": \"Robert494\"\n },\n {\n \"NAME\": \"Robert5\"\n },\n {\n \"NAME\": \"Robert68\"\n },\n {\n \"NAME\": \"Robin307\"\n },\n {\n \"NAME\": \"Robin370\"\n },\n {\n \"NAME\": \"Ruth286\"\n },\n {\n \"NAME\": \"Ruth349\"\n },\n {\n \"NAME\": \"Ryan272\"\n },\n {\n \"NAME\": \"Ryan335\"\n },\n {\n \"NAME\": \"Ryan72\"\n },\n {\n \"NAME\": \"Ryan9\"\n },\n {\n \"NAME\": \"Samantha304\"\n },\n {\n \"NAME\": \"Samantha367\"\n },\n {\n \"NAME\": \"Samuel120\"\n },\n {\n \"NAME\": \"Samuel28\"\n },\n {\n \"NAME\": \"Samuel416\"\n },\n {\n \"NAME\": \"Samuel479\"\n },\n {\n \"NAME\": \"Samuel57\"\n },\n {\n \"NAME\": \"Samuel91\"\n },\n {\n \"NAME\": \"Sandra126\"\n },\n {\n \"NAME\": \"Sandra313\"\n },\n {\n \"NAME\": \"Sandra376\"\n },\n {\n \"NAME\": \"Sandra63\"\n },\n {\n \"NAME\": \"Sarah298\"\n },\n {\n \"NAME\": \"Sarah314\"\n },\n {\n \"NAME\": \"Sarah361\"\n },\n {\n \"NAME\": \"Sarah377\"\n },\n {\n \"NAME\": \"Sarah408\"\n },\n {\n \"NAME\": \"Sarah471\"\n },\n {\n \"NAME\": \"Savannah130\"\n },\n {\n \"NAME\": \"Savannah193\"\n },\n {\n \"NAME\": \"Scott413\"\n },\n {\n \"NAME\": \"Scott476\"\n },\n {\n \"NAME\": \"Shane253\"\n },\n {\n \"NAME\": \"Shane316\"\n },\n {\n \"NAME\": \"Shannon107\"\n },\n {\n \"NAME\": \"Shannon278\"\n },\n {\n \"NAME\": \"Shannon341\"\n },\n {\n \"NAME\": \"Shannon384\"\n },\n {\n \"NAME\": \"Shannon44\"\n },\n {\n \"NAME\": \"Shannon447\"\n },\n {\n \"NAME\": \"Shelly36\"\n },\n {\n \"NAME\": \"Shelly99\"\n },\n {\n \"NAME\": \"Sherry289\"\n },\n {\n \"NAME\": \"Sherry352\"\n },\n {\n \"NAME\": \"Sierra261\"\n },\n {\n \"NAME\": \"Sierra324\"\n },\n {\n \"NAME\": \"Stephanie145\"\n },\n {\n \"NAME\": \"Stephanie208\"\n },\n {\n \"NAME\": \"Stephanie403\"\n },\n {\n \"NAME\": \"Stephanie466\"\n },\n {\n \"NAME\": \"Stephen177\"\n },\n {\n \"NAME\": \"Stephen240\"\n },\n {\n \"NAME\": \"Stephen427\"\n },\n {\n \"NAME\": \"Stephen490\"\n },\n {\n \"NAME\": \"Steven176\"\n },\n {\n \"NAME\": \"Steven239\"\n },\n {\n \"NAME\": \"Steven270\"\n },\n {\n \"NAME\": \"Steven301\"\n },\n {\n \"NAME\": \"Steven312\"\n },\n {\n \"NAME\": \"Steven333\"\n },\n {\n \"NAME\": \"Steven364\"\n },\n {\n \"NAME\": \"Steven375\"\n },\n {\n \"NAME\": \"Susan116\"\n },\n {\n \"NAME\": \"Susan140\"\n },\n {\n \"NAME\": \"Susan203\"\n },\n {\n \"NAME\": \"Susan53\"\n },\n {\n \"NAME\": \"Tamara146\"\n },\n {\n \"NAME\": \"Tamara209\"\n },\n {\n \"NAME\": \"Tammie125\"\n },\n {\n \"NAME\": \"Tammie62\"\n },\n {\n \"NAME\": \"Taylor287\"\n },\n {\n \"NAME\": \"Taylor350\"\n },\n {\n \"NAME\": \"Theresa182\"\n },\n {\n \"NAME\": \"Theresa245\"\n },\n {\n \"NAME\": \"Thomas105\"\n },\n {\n \"NAME\": \"Thomas149\"\n },\n {\n \"NAME\": \"Thomas166\"\n },\n {\n \"NAME\": \"Thomas212\"\n },\n {\n \"NAME\": \"Thomas229\"\n },\n {\n \"NAME\": \"Thomas42\"\n },\n {\n \"NAME\": \"Tiffany13\"\n },\n {\n \"NAME\": \"Tiffany76\"\n },\n {\n \"NAME\": \"Timothy294\"\n },\n {\n \"NAME\": \"Timothy299\"\n },\n {\n \"NAME\": \"Timothy357\"\n },\n {\n \"NAME\": \"Timothy362\"\n },\n {\n \"NAME\": \"Tina180\"\n },\n {\n \"NAME\": \"Tina243\"\n },\n {\n \"NAME\": \"Tina277\"\n },\n {\n \"NAME\": \"Tina310\"\n },\n {\n \"NAME\": \"Tina340\"\n },\n {\n \"NAME\": \"Tina373\"\n },\n {\n \"NAME\": \"Todd421\"\n },\n {\n \"NAME\": \"Todd484\"\n },\n {\n \"NAME\": \"Tonya102\"\n },\n {\n \"NAME\": \"Tonya39\"\n },\n {\n \"NAME\": \"Travis132\"\n },\n {\n \"NAME\": \"Travis195\"\n },\n {\n \"NAME\": \"Vanessa282\"\n },\n {\n \"NAME\": \"Vanessa345\"\n },\n {\n \"NAME\": \"Victor292\"\n },\n {\n \"NAME\": \"Victor355\"\n },\n {\n \"NAME\": \"Victoria424\"\n },\n {\n \"NAME\": \"Victoria487\"\n },\n {\n \"NAME\": \"Whitney118\"\n },\n {\n \"NAME\": \"Whitney2\"\n },\n {\n \"NAME\": \"Whitney55\"\n },\n {\n \"NAME\": \"Whitney65\"\n },\n {\n \"NAME\": \"Zachary131\"\n },\n {\n \"NAME\": \"Zachary152\"\n },\n {\n \"NAME\": \"Zachary194\"\n },\n {\n \"NAME\": \"Zachary215\"\n }\n]" + }, + { + "name": "Users By Filter - DB Include Filter", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?include=[\"USERGROUP\", {\"INVESTIGATIONUSER\":{\"INVESTIGATION\":\"DATASET\"}}]&limit=2&skip=4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"ID\": {\"in\": [49,23]}}", + "disabled": true + }, + { + "key": "include", + "value": "\"userGroups\"", + "disabled": true + }, + { + "key": "include", + "value": "[\"USERGROUP\", {\"INVESTIGATIONUSER\":{\"INVESTIGATION\":\"DATASET\"}}]" + }, + { + "key": "order", + "value": "\"id desc\"", + "disabled": true + }, + { + "key": "limit", + "value": "2" + }, + { + "key": "skip", + "value": "4" + }, + { + "key": "distinct", + "value": "[\"name\", \"fullName\", \"orcidId\", \"modTime\"]", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"eq\": 6}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"name asc\"", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "4521" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Wed, 02 Sep 2020 14:35:19 GMT" + } + ], + "cookie": [], + "body": "[\n {\n \"ID\": 5,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2007-07-28 18:17:48\",\n \"EMAIL\": \"ljames@tapia.biz\",\n \"FULLNAME\": \"Rachel Herman\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2014-09-07 20:48:44\",\n \"NAME\": \"Loretta3\",\n \"ORCIDID\": \"5437\",\n \"USERGROUP\": [\n {\n \"ID\": 11,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2003-08-28 02:17:38\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2003-04-20 18:29:09\",\n \"GROUP_ID\": 7,\n \"USER_ID\": 5\n }\n ]\n },\n {\n \"ID\": 6,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2007-07-28 18:17:48\",\n \"EMAIL\": \"ljames@tapia.biz\",\n \"FULLNAME\": \"Rachel Herman\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2014-09-07 20:48:44\",\n \"NAME\": \"Loretta66\",\n \"ORCIDID\": \"15966\",\n \"USERGROUP\": [\n {\n \"ID\": 13,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2011-02-27 11:47:00\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2016-08-25 00:53:55\",\n \"GROUP_ID\": 4,\n \"USER_ID\": 6\n }\n ],\n \"INVESTIGATIONUSER\": [\n {\n \"ID\": 36,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2011-03-06 18:05:52\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2003-03-09 01:58:15\",\n \"ROLE\": \"CI\",\n \"INVESTIGATION_ID\": 33,\n \"USER_ID\": 6,\n \"INVESTIGATION\": {\n \"ID\": 33,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2016-12-12 08:53:47\",\n \"DOI\": \"1-148-83222-X\",\n \"ENDDATE\": \"2008-05-04 00:00:00\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2005-01-04 07:22:59\",\n \"NAME\": \"INVESTIGATION 32\",\n \"RELEASEDATE\": \"2008-01-26 00:00:00\",\n \"STARTDATE\": \"2008-02-02 00:00:00\",\n \"SUMMARY\": \"Contain sea lose. Threat available well fish expert. Involve begin father.\",\n \"TITLE\": \"Trouble it write available low market open them. Maintain letter adult study child individual example. Behind appear throughout mother statement campaign month.\",\n \"VISIT_ID\": \"29\",\n \"FACILITY_ID\": 1,\n \"TYPE_ID\": 1,\n \"DATASET\": [\n {\n \"ID\": 135,\n \"COMPLETE\": false,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2012-06-07 21:26:39\",\n \"DESCRIPTION\": \"Respond opportunity record seek home. Yard anything get next page tree hundred. Feeling enter many treat kind community manage.\",\n \"DOI\": \"1-342-36668-9\",\n \"END_DATE\": null,\n \"LOCATION\": \"/agent/near.wav\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2018-10-27 14:59:23\",\n \"NAME\": \"DATASET 153\",\n \"STARTDATE\": \"2038-01-15 00:00:00\",\n \"INVESTIGATION_ID\": 33,\n \"SAMPLE_ID\": 33,\n \"TYPE_ID\": 1\n },\n {\n \"ID\": 14,\n \"COMPLETE\": true,\n \"CREATE_ID\": \"user\",\n \"CREATE_TIME\": \"2019-05-06 07:27:24\",\n \"DESCRIPTION\": \"Eat young business more similar important write local. Keep man despite kitchen positive. Store material all effort drug decade.\",\n \"DOI\": \"1-925475-68-9\",\n \"END_DATE\": null,\n \"LOCATION\": \"/full/song.png\",\n \"MOD_ID\": \"user\",\n \"MOD_TIME\": \"2002-02-24 04:37:23\",\n \"NAME\": \"DATASET 33\",\n \"STARTDATE\": \"2008-02-15 00:00:00\",\n \"INVESTIGATION_ID\": 33,\n \"SAMPLE_ID\": 33,\n \"TYPE_ID\": 3\n }\n ]\n }\n }\n ]\n }\n]" + }, + { + "name": "Users By Filter", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users?distinct=\"NAME\"", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [492, 3]}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"ID desc\"", + "disabled": true + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "5", + "disabled": true + }, + { + "key": "distinct", + "value": "\"NAME\"" + }, + { + "key": "where", + "value": "{\"id\": {\"like\": 4}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"fullName\": {\"like\": \"Vanessa Lewis\"}}", + "disabled": true + }, + { + "key": "where", + "value": "{\"id\": {\"lt\": 10}}", + "disabled": true + }, + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + }, + { + "key": "order", + "value": "\"id desc\"", + "disabled": true + }, + { + "key": "order", + "value": "\"name asc\"", + "disabled": true + }, + { + "key": "order", + "value": "\"orcidId desc\"", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "20374" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Mon, 24 Aug 2020 12:18:53 GMT" + } + ], + "cookie": [], + "body": "[\n {\n \"NAME\": \"Aaron311\"\n },\n {\n \"NAME\": \"Aaron374\"\n },\n {\n \"NAME\": \"Aaron438\"\n },\n {\n \"NAME\": \"Adam133\"\n },\n {\n \"NAME\": \"Adam196\"\n },\n {\n \"NAME\": \"Adam428\"\n },\n {\n \"NAME\": \"Adam491\"\n },\n {\n \"NAME\": \"Adriana19\"\n },\n {\n \"NAME\": \"Adriana82\"\n },\n {\n \"NAME\": \"Alexandra135\"\n },\n {\n \"NAME\": \"Alexandra198\"\n },\n {\n \"NAME\": \"Alicia175\"\n },\n {\n \"NAME\": \"Alicia238\"\n },\n {\n \"NAME\": \"Alison113\"\n },\n {\n \"NAME\": \"Alison50\"\n },\n {\n \"NAME\": \"Alyssa420\"\n },\n {\n \"NAME\": \"Alyssa483\"\n },\n {\n \"NAME\": \"Amanda259\"\n },\n {\n \"NAME\": \"Amanda322\"\n },\n {\n \"NAME\": \"Amy160\"\n },\n {\n \"NAME\": \"Amy223\"\n },\n {\n \"NAME\": \"Andrea392\"\n },\n {\n \"NAME\": \"Andrea435\"\n },\n {\n \"NAME\": \"Andrea455\"\n },\n {\n \"NAME\": \"Andrea498\"\n },\n {\n \"NAME\": \"Andrew147\"\n },\n {\n \"NAME\": \"Andrew151\"\n },\n {\n \"NAME\": \"Andrew167\"\n },\n {\n \"NAME\": \"Andrew210\"\n },\n {\n \"NAME\": \"Andrew214\"\n },\n {\n \"NAME\": \"Andrew230\"\n },\n {\n \"NAME\": \"Andrew390\"\n },\n {\n \"NAME\": \"Andrew453\"\n },\n {\n \"NAME\": \"Angel34\"\n },\n {\n \"NAME\": \"Angel97\"\n },\n {\n \"NAME\": \"Angela399\"\n },\n {\n \"NAME\": \"Angela462\"\n },\n {\n \"NAME\": \"Anna303\"\n },\n {\n \"NAME\": \"Anna366\"\n },\n {\n \"NAME\": \"Anne172\"\n },\n {\n \"NAME\": \"Anne235\"\n },\n {\n \"NAME\": \"Anthony395\"\n },\n {\n \"NAME\": \"Anthony458\"\n },\n {\n \"NAME\": \"April271\"\n },\n {\n \"NAME\": \"April334\"\n },\n {\n \"NAME\": \"Ashley159\"\n },\n {\n \"NAME\": \"Ashley222\"\n },\n {\n \"NAME\": \"Bailey400\"\n },\n {\n \"NAME\": \"Bailey463\"\n },\n {\n \"NAME\": \"Barbara115\"\n },\n {\n \"NAME\": \"Barbara385\"\n },\n {\n \"NAME\": \"Barbara448\"\n },\n {\n \"NAME\": \"Barbara52\"\n },\n {\n \"NAME\": \"Benjamin15\"\n },\n {\n \"NAME\": \"Benjamin78\"\n },\n {\n \"NAME\": \"Beverly143\"\n },\n {\n \"NAME\": \"Beverly206\"\n },\n {\n \"NAME\": \"Brandon396\"\n },\n {\n \"NAME\": \"Brandon459\"\n },\n {\n \"NAME\": \"Brandy121\"\n },\n {\n \"NAME\": \"Brandy58\"\n },\n {\n \"NAME\": \"Brenda144\"\n },\n {\n \"NAME\": \"Brenda207\"\n },\n {\n \"NAME\": \"Brittany295\"\n },\n {\n \"NAME\": \"Brittany358\"\n },\n {\n \"NAME\": \"Bryan171\"\n },\n {\n \"NAME\": \"Bryan234\"\n },\n {\n \"NAME\": \"Carl1\"\n },\n {\n \"NAME\": \"Carl64\"\n },\n {\n \"NAME\": \"Carla110\"\n },\n {\n \"NAME\": \"Carla47\"\n },\n {\n \"NAME\": \"Carlos169\"\n },\n {\n \"NAME\": \"Carlos232\"\n },\n {\n \"NAME\": \"Carol284\"\n },\n {\n \"NAME\": \"Carol347\"\n },\n {\n \"NAME\": \"Casey148\"\n },\n {\n \"NAME\": \"Casey211\"\n },\n {\n \"NAME\": \"Catherine275\"\n },\n {\n \"NAME\": \"Catherine338\"\n },\n {\n \"NAME\": \"Catherine406\"\n },\n {\n \"NAME\": \"Catherine469\"\n },\n {\n \"NAME\": \"Charlotte150\"\n },\n {\n \"NAME\": \"Charlotte213\"\n },\n {\n \"NAME\": \"Christina381\"\n },\n {\n \"NAME\": \"Christina444\"\n },\n {\n \"NAME\": \"Christopher11\"\n },\n {\n \"NAME\": \"Christopher124\"\n },\n {\n \"NAME\": \"Christopher156\"\n },\n {\n \"NAME\": \"Christopher186\"\n },\n {\n \"NAME\": \"Christopher188\"\n },\n {\n \"NAME\": \"Christopher219\"\n },\n {\n \"NAME\": \"Christopher249\"\n },\n {\n \"NAME\": \"Christopher251\"\n },\n {\n \"NAME\": \"Christopher262\"\n },\n {\n \"NAME\": \"Christopher29\"\n },\n {\n \"NAME\": \"Christopher325\"\n },\n {\n \"NAME\": \"Christopher6\"\n },\n {\n \"NAME\": \"Christopher61\"\n },\n {\n \"NAME\": \"Christopher69\"\n },\n {\n \"NAME\": \"Christopher74\"\n },\n {\n \"NAME\": \"Christopher92\"\n },\n {\n \"NAME\": \"Colleen283\"\n },\n {\n \"NAME\": \"Colleen346\"\n },\n {\n \"NAME\": \"Curtis14\"\n },\n {\n \"NAME\": \"Curtis77\"\n },\n {\n \"NAME\": \"Dana154\"\n },\n {\n \"NAME\": \"Dana217\"\n },\n {\n \"NAME\": \"Daniel20\"\n },\n {\n \"NAME\": \"Daniel267\"\n },\n {\n \"NAME\": \"Daniel296\"\n },\n {\n \"NAME\": \"Daniel330\"\n },\n {\n \"NAME\": \"Daniel359\"\n },\n {\n \"NAME\": \"Daniel83\"\n },\n {\n \"NAME\": \"Darryl436\"\n },\n {\n \"NAME\": \"Darryl499\"\n },\n {\n \"NAME\": \"David383\"\n },\n {\n \"NAME\": \"David386\"\n },\n {\n \"NAME\": \"David418\"\n },\n {\n \"NAME\": \"David429\"\n },\n {\n \"NAME\": \"David446\"\n },\n {\n \"NAME\": \"David449\"\n },\n {\n \"NAME\": \"David481\"\n },\n {\n \"NAME\": \"David492\"\n },\n {\n \"NAME\": \"Dawn297\"\n },\n {\n \"NAME\": \"Dawn360\"\n },\n {\n \"NAME\": \"Debbie162\"\n },\n {\n \"NAME\": \"Debbie225\"\n },\n {\n \"NAME\": \"Denise117\"\n },\n {\n \"NAME\": \"Denise54\"\n },\n {\n \"NAME\": \"Dennis161\"\n },\n {\n \"NAME\": \"Dennis224\"\n },\n {\n \"NAME\": \"Dennis402\"\n },\n {\n \"NAME\": \"Dennis465\"\n },\n {\n \"NAME\": \"Derek111\"\n },\n {\n \"NAME\": \"Derek48\"\n },\n {\n \"NAME\": \"Desiree404\"\n },\n {\n \"NAME\": \"Desiree467\"\n },\n {\n \"NAME\": \"Diane24\"\n },\n {\n \"NAME\": \"Diane87\"\n },\n {\n \"NAME\": \"Douglas178\"\n },\n {\n \"NAME\": \"Douglas241\"\n },\n {\n \"NAME\": \"Dustin7\"\n },\n {\n \"NAME\": \"Dustin70\"\n },\n {\n \"NAME\": \"Eric391\"\n },\n {\n \"NAME\": \"Eric454\"\n },\n {\n \"NAME\": \"Erica4\"\n },\n {\n \"NAME\": \"Erica67\"\n },\n {\n \"NAME\": \"Erik183\"\n },\n {\n \"NAME\": \"Erik246\"\n },\n {\n \"NAME\": \"Erin112\"\n },\n {\n \"NAME\": \"Erin268\"\n },\n {\n \"NAME\": \"Erin331\"\n },\n {\n \"NAME\": \"Erin49\"\n },\n {\n \"NAME\": \"Francisco71\"\n },\n {\n \"NAME\": \"Francisco8\"\n },\n {\n \"NAME\": \"Frank138\"\n },\n {\n \"NAME\": \"Frank201\"\n },\n {\n \"NAME\": \"Frank25\"\n },\n {\n \"NAME\": \"Frank88\"\n },\n {\n \"NAME\": \"Garrett157\"\n },\n {\n \"NAME\": \"Garrett220\"\n },\n {\n \"NAME\": \"George16\"\n },\n {\n \"NAME\": \"George306\"\n },\n {\n \"NAME\": \"George369\"\n },\n {\n \"NAME\": \"George79\"\n },\n {\n \"NAME\": \"Gerald164\"\n },\n {\n \"NAME\": \"Gerald227\"\n },\n {\n \"NAME\": \"Gregory274\"\n },\n {\n \"NAME\": \"Gregory337\"\n },\n {\n \"NAME\": \"Gregory426\"\n },\n {\n \"NAME\": \"Gregory489\"\n },\n {\n \"NAME\": \"Howard256\"\n },\n {\n \"NAME\": \"Howard319\"\n },\n {\n \"NAME\": \"Jacob181\"\n },\n {\n \"NAME\": \"Jacob244\"\n },\n {\n \"NAME\": \"Jacqueline440\"\n },\n {\n \"NAME\": \"James10\"\n },\n {\n \"NAME\": \"James109\"\n },\n {\n \"NAME\": \"James12\"\n },\n {\n \"NAME\": \"James155\"\n },\n {\n \"NAME\": \"James218\"\n },\n {\n \"NAME\": \"James382\"\n },\n {\n \"NAME\": \"James412\"\n },\n {\n \"NAME\": \"James417\"\n },\n {\n \"NAME\": \"James445\"\n },\n {\n \"NAME\": \"James46\"\n },\n {\n \"NAME\": \"James475\"\n },\n {\n \"NAME\": \"James480\"\n },\n {\n \"NAME\": \"James73\"\n },\n {\n \"NAME\": \"James75\"\n },\n {\n \"NAME\": \"Jared128\"\n },\n {\n \"NAME\": \"Jared191\"\n },\n {\n \"NAME\": \"Jason103\"\n },\n {\n \"NAME\": \"Jason40\"\n },\n {\n \"NAME\": \"Jeffrey264\"\n },\n {\n \"NAME\": \"Jeffrey327\"\n },\n {\n \"NAME\": \"Jennifer185\"\n },\n {\n \"NAME\": \"Jennifer248\"\n },\n {\n \"NAME\": \"Jeremy141\"\n },\n {\n \"NAME\": \"Jeremy204\"\n },\n {\n \"NAME\": \"Jeremy414\"\n },\n {\n \"NAME\": \"Jeremy477\"\n },\n {\n \"NAME\": \"Jerry257\"\n },\n {\n \"NAME\": \"Jerry320\"\n },\n {\n \"NAME\": \"Jessica305\"\n },\n {\n \"NAME\": \"Jessica368\"\n },\n {\n \"NAME\": \"Jessica433\"\n },\n {\n \"NAME\": \"Jessica496\"\n },\n {\n \"NAME\": \"Joe269\"\n },\n {\n \"NAME\": \"Joe332\"\n },\n {\n \"NAME\": \"John187\"\n },\n {\n \"NAME\": \"John189\"\n },\n {\n \"NAME\": \"John250\"\n },\n {\n \"NAME\": \"John252\"\n },\n {\n \"NAME\": \"John30\"\n },\n {\n \"NAME\": \"John300\"\n },\n {\n \"NAME\": \"John308\"\n },\n {\n \"NAME\": \"John32\"\n },\n {\n \"NAME\": \"John363\"\n },\n {\n \"NAME\": \"John371\"\n },\n {\n \"NAME\": \"John397\"\n },\n {\n \"NAME\": \"John434\"\n },\n {\n \"NAME\": \"John460\"\n },\n {\n \"NAME\": \"John497\"\n },\n {\n \"NAME\": \"John93\"\n },\n {\n \"NAME\": \"John95\"\n },\n {\n \"NAME\": \"Johnny279\"\n },\n {\n \"NAME\": \"Johnny342\"\n },\n {\n \"NAME\": \"Jonathan100\"\n },\n {\n \"NAME\": \"Jonathan17\"\n },\n {\n \"NAME\": \"Jonathan260\"\n },\n {\n \"NAME\": \"Jonathan323\"\n },\n {\n \"NAME\": \"Jonathan37\"\n },\n {\n \"NAME\": \"Jonathan415\"\n },\n {\n \"NAME\": \"Jonathan478\"\n },\n {\n \"NAME\": \"Jonathan80\"\n },\n {\n \"NAME\": \"Joseph163\"\n },\n {\n \"NAME\": \"Joseph165\"\n },\n {\n \"NAME\": \"Joseph226\"\n },\n {\n \"NAME\": \"Joseph228\"\n },\n {\n \"NAME\": \"Joseph411\"\n },\n {\n \"NAME\": \"Joseph432\"\n },\n {\n \"NAME\": \"Joseph474\"\n },\n {\n \"NAME\": \"Joseph495\"\n },\n {\n \"NAME\": \"Julie27\"\n },\n {\n \"NAME\": \"Julie90\"\n },\n {\n \"NAME\": \"Justin389\"\n },\n {\n \"NAME\": \"Justin452\"\n },\n {\n \"NAME\": \"Kaitlyn106\"\n },\n {\n \"NAME\": \"Kaitlyn43\"\n },\n {\n \"NAME\": \"Karen280\"\n },\n {\n \"NAME\": \"Karen343\"\n },\n {\n \"NAME\": \"Karen407\"\n },\n {\n \"NAME\": \"Karen425\"\n },\n {\n \"NAME\": \"Karen470\"\n },\n {\n \"NAME\": \"Karen488\"\n },\n {\n \"NAME\": \"Katherine119\"\n },\n {\n \"NAME\": \"Katherine22\"\n },\n {\n \"NAME\": \"Katherine56\"\n },\n {\n \"NAME\": \"Katherine85\"\n },\n {\n \"NAME\": \"Kelly302\"\n },\n {\n \"NAME\": \"Kelly365\"\n },\n {\n \"NAME\": \"Kevin134\"\n },\n {\n \"NAME\": \"Kevin197\"\n },\n {\n \"NAME\": \"Kim380\"\n },\n {\n \"NAME\": \"Kim443\"\n },\n {\n \"NAME\": \"Kimberly23\"\n },\n {\n \"NAME\": \"Kimberly26\"\n },\n {\n \"NAME\": \"Kimberly86\"\n },\n {\n \"NAME\": \"Kimberly89\"\n },\n {\n \"NAME\": \"Kristen315\"\n },\n {\n \"NAME\": \"Kristen378\"\n },\n {\n \"NAME\": \"Kristy423\"\n },\n {\n \"NAME\": \"Kristy486\"\n },\n {\n \"NAME\": \"Kyle388\"\n },\n {\n \"NAME\": \"Kyle451\"\n },\n {\n \"NAME\": \"Leah21\"\n },\n {\n \"NAME\": \"Leah84\"\n },\n {\n \"NAME\": \"Linda142\"\n },\n {\n \"NAME\": \"Linda205\"\n },\n {\n \"NAME\": \"Lindsey127\"\n },\n {\n \"NAME\": \"Lindsey190\"\n },\n {\n \"NAME\": \"Lisa136\"\n },\n {\n \"NAME\": \"Lisa179\"\n },\n {\n \"NAME\": \"Lisa199\"\n },\n {\n \"NAME\": \"Lisa242\"\n },\n {\n \"NAME\": \"Lisa276\"\n },\n {\n \"NAME\": \"Lisa339\"\n },\n {\n \"NAME\": \"Lisa398\"\n },\n {\n \"NAME\": \"Lisa461\"\n },\n {\n \"NAME\": \"Logan35\"\n },\n {\n \"NAME\": \"Logan98\"\n },\n {\n \"NAME\": \"Loretta3\"\n },\n {\n \"NAME\": \"Loretta66\"\n },\n {\n \"NAME\": \"Madison137\"\n },\n {\n \"NAME\": \"Madison200\"\n },\n {\n \"NAME\": \"Maria285\"\n },\n {\n \"NAME\": \"Maria348\"\n },\n {\n \"NAME\": \"Maria405\"\n },\n {\n \"NAME\": \"Maria468\"\n },\n {\n \"NAME\": \"Marie108\"\n },\n {\n \"NAME\": \"Marie45\"\n },\n {\n \"NAME\": \"Marissa401\"\n },\n {\n \"NAME\": \"Marissa464\"\n },\n {\n \"NAME\": \"Mark263\"\n },\n {\n \"NAME\": \"Mark326\"\n },\n {\n \"NAME\": \"Mary430\"\n },\n {\n \"NAME\": \"Mary493\"\n },\n {\n \"NAME\": \"Matthew18\"\n },\n {\n \"NAME\": \"Matthew293\"\n },\n {\n \"NAME\": \"Matthew356\"\n },\n {\n \"NAME\": \"Matthew379\"\n },\n {\n \"NAME\": \"Matthew409\"\n },\n {\n \"NAME\": \"Matthew437\"\n },\n {\n \"NAME\": \"Matthew442\"\n },\n {\n \"NAME\": \"Matthew472\"\n },\n {\n \"NAME\": \"Matthew81\"\n },\n {\n \"NAME\": \"Megan291\"\n },\n {\n \"NAME\": \"Megan354\"\n },\n {\n \"NAME\": \"Megan387\"\n },\n {\n \"NAME\": \"Megan450\"\n },\n {\n \"NAME\": \"Melissa422\"\n },\n {\n \"NAME\": \"Melissa485\"\n },\n {\n \"NAME\": \"Michael122\"\n },\n {\n \"NAME\": \"Michael123\"\n },\n {\n \"NAME\": \"Michael168\"\n },\n {\n \"NAME\": \"Michael174\"\n },\n {\n \"NAME\": \"Michael231\"\n },\n {\n \"NAME\": \"Michael237\"\n },\n {\n \"NAME\": \"Michael410\"\n },\n {\n \"NAME\": \"Michael473\"\n },\n {\n \"NAME\": \"Michael59\"\n },\n {\n \"NAME\": \"Michael60\"\n },\n {\n \"NAME\": \"Micheal139\"\n },\n {\n \"NAME\": \"Micheal202\"\n },\n {\n \"NAME\": \"Michelle129\"\n },\n {\n \"NAME\": \"Michelle170\"\n },\n {\n \"NAME\": \"Michelle192\"\n },\n {\n \"NAME\": \"Michelle233\"\n },\n {\n \"NAME\": \"Michelle254\"\n },\n {\n \"NAME\": \"Michelle317\"\n },\n {\n \"NAME\": \"Michelle419\"\n },\n {\n \"NAME\": \"Michelle482\"\n },\n {\n \"NAME\": \"Miguel104\"\n },\n {\n \"NAME\": \"Miguel41\"\n },\n {\n \"NAME\": \"Monica393\"\n },\n {\n \"NAME\": \"Monica456\"\n },\n {\n \"NAME\": \"Nancy114\"\n },\n {\n \"NAME\": \"Nancy51\"\n },\n {\n \"NAME\": \"Natalie266\"\n },\n {\n \"NAME\": \"Natalie329\"\n },\n {\n \"NAME\": \"Natasha153\"\n },\n {\n \"NAME\": \"Natasha216\"\n },\n {\n \"NAME\": \"Nicholas255\"\n },\n {\n \"NAME\": \"Nicholas318\"\n },\n {\n \"NAME\": \"Nicholas33\"\n },\n {\n \"NAME\": \"Nicholas96\"\n },\n {\n \"NAME\": \"Norma258\"\n },\n {\n \"NAME\": \"Norma321\"\n },\n {\n \"NAME\": \"Olivia31\"\n },\n {\n \"NAME\": \"Olivia94\"\n },\n {\n \"NAME\": \"Pamela265\"\n },\n {\n \"NAME\": \"Pamela328\"\n },\n {\n \"NAME\": \"Patrick273\"\n },\n {\n \"NAME\": \"Patrick281\"\n },\n {\n \"NAME\": \"Patrick336\"\n },\n {\n \"NAME\": \"Patrick344\"\n },\n {\n \"NAME\": \"Peter184\"\n },\n {\n \"NAME\": \"Peter247\"\n },\n {\n \"NAME\": \"Phyllis441\"\n },\n {\n \"NAME\": \"Rachel173\"\n },\n {\n \"NAME\": \"Rachel236\"\n },\n {\n \"NAME\": \"Raymond394\"\n },\n {\n \"NAME\": \"Raymond457\"\n },\n {\n \"NAME\": \"Rebecca101\"\n },\n {\n \"NAME\": \"Rebecca38\"\n },\n {\n \"NAME\": \"Ricardo158\"\n },\n {\n \"NAME\": \"Ricardo221\"\n },\n {\n \"NAME\": \"Richard290\"\n },\n {\n \"NAME\": \"Richard353\"\n },\n {\n \"NAME\": \"Ricky288\"\n },\n {\n \"NAME\": \"Ricky351\"\n },\n {\n \"NAME\": \"Rita309\"\n },\n {\n \"NAME\": \"Rita372\"\n },\n {\n \"NAME\": \"Robert431\"\n },\n {\n \"NAME\": \"Robert494\"\n },\n {\n \"NAME\": \"Robert5\"\n },\n {\n \"NAME\": \"Robert68\"\n },\n {\n \"NAME\": \"Robin307\"\n },\n {\n \"NAME\": \"Robin370\"\n },\n {\n \"NAME\": \"Ruth286\"\n },\n {\n \"NAME\": \"Ruth349\"\n },\n {\n \"NAME\": \"Ryan272\"\n },\n {\n \"NAME\": \"Ryan335\"\n },\n {\n \"NAME\": \"Ryan72\"\n },\n {\n \"NAME\": \"Ryan9\"\n },\n {\n \"NAME\": \"Samantha304\"\n },\n {\n \"NAME\": \"Samantha367\"\n },\n {\n \"NAME\": \"Samuel120\"\n },\n {\n \"NAME\": \"Samuel28\"\n },\n {\n \"NAME\": \"Samuel416\"\n },\n {\n \"NAME\": \"Samuel479\"\n },\n {\n \"NAME\": \"Samuel57\"\n },\n {\n \"NAME\": \"Samuel91\"\n },\n {\n \"NAME\": \"Sandra126\"\n },\n {\n \"NAME\": \"Sandra313\"\n },\n {\n \"NAME\": \"Sandra376\"\n },\n {\n \"NAME\": \"Sandra63\"\n },\n {\n \"NAME\": \"Sarah298\"\n },\n {\n \"NAME\": \"Sarah314\"\n },\n {\n \"NAME\": \"Sarah361\"\n },\n {\n \"NAME\": \"Sarah377\"\n },\n {\n \"NAME\": \"Sarah408\"\n },\n {\n \"NAME\": \"Sarah471\"\n },\n {\n \"NAME\": \"Savannah130\"\n },\n {\n \"NAME\": \"Savannah193\"\n },\n {\n \"NAME\": \"Scott413\"\n },\n {\n \"NAME\": \"Scott476\"\n },\n {\n \"NAME\": \"Shane253\"\n },\n {\n \"NAME\": \"Shane316\"\n },\n {\n \"NAME\": \"Shannon107\"\n },\n {\n \"NAME\": \"Shannon278\"\n },\n {\n \"NAME\": \"Shannon341\"\n },\n {\n \"NAME\": \"Shannon384\"\n },\n {\n \"NAME\": \"Shannon44\"\n },\n {\n \"NAME\": \"Shannon447\"\n },\n {\n \"NAME\": \"Shelly36\"\n },\n {\n \"NAME\": \"Shelly99\"\n },\n {\n \"NAME\": \"Sherry289\"\n },\n {\n \"NAME\": \"Sherry352\"\n },\n {\n \"NAME\": \"Sierra261\"\n },\n {\n \"NAME\": \"Sierra324\"\n },\n {\n \"NAME\": \"Stephanie145\"\n },\n {\n \"NAME\": \"Stephanie208\"\n },\n {\n \"NAME\": \"Stephanie403\"\n },\n {\n \"NAME\": \"Stephanie466\"\n },\n {\n \"NAME\": \"Stephen177\"\n },\n {\n \"NAME\": \"Stephen240\"\n },\n {\n \"NAME\": \"Stephen427\"\n },\n {\n \"NAME\": \"Stephen490\"\n },\n {\n \"NAME\": \"Steven176\"\n },\n {\n \"NAME\": \"Steven239\"\n },\n {\n \"NAME\": \"Steven270\"\n },\n {\n \"NAME\": \"Steven301\"\n },\n {\n \"NAME\": \"Steven312\"\n },\n {\n \"NAME\": \"Steven333\"\n },\n {\n \"NAME\": \"Steven364\"\n },\n {\n \"NAME\": \"Steven375\"\n },\n {\n \"NAME\": \"Susan116\"\n },\n {\n \"NAME\": \"Susan140\"\n },\n {\n \"NAME\": \"Susan203\"\n },\n {\n \"NAME\": \"Susan53\"\n },\n {\n \"NAME\": \"Tamara146\"\n },\n {\n \"NAME\": \"Tamara209\"\n },\n {\n \"NAME\": \"Tammie125\"\n },\n {\n \"NAME\": \"Tammie62\"\n },\n {\n \"NAME\": \"Taylor287\"\n },\n {\n \"NAME\": \"Taylor350\"\n },\n {\n \"NAME\": \"Theresa182\"\n },\n {\n \"NAME\": \"Theresa245\"\n },\n {\n \"NAME\": \"Thomas105\"\n },\n {\n \"NAME\": \"Thomas149\"\n },\n {\n \"NAME\": \"Thomas166\"\n },\n {\n \"NAME\": \"Thomas212\"\n },\n {\n \"NAME\": \"Thomas229\"\n },\n {\n \"NAME\": \"Thomas42\"\n },\n {\n \"NAME\": \"Tiffany13\"\n },\n {\n \"NAME\": \"Tiffany76\"\n },\n {\n \"NAME\": \"Timothy294\"\n },\n {\n \"NAME\": \"Timothy299\"\n },\n {\n \"NAME\": \"Timothy357\"\n },\n {\n \"NAME\": \"Timothy362\"\n },\n {\n \"NAME\": \"Tina180\"\n },\n {\n \"NAME\": \"Tina243\"\n },\n {\n \"NAME\": \"Tina277\"\n },\n {\n \"NAME\": \"Tina310\"\n },\n {\n \"NAME\": \"Tina340\"\n },\n {\n \"NAME\": \"Tina373\"\n },\n {\n \"NAME\": \"Todd421\"\n },\n {\n \"NAME\": \"Todd484\"\n },\n {\n \"NAME\": \"Tonya102\"\n },\n {\n \"NAME\": \"Tonya39\"\n },\n {\n \"NAME\": \"Travis132\"\n },\n {\n \"NAME\": \"Travis195\"\n },\n {\n \"NAME\": \"Vanessa282\"\n },\n {\n \"NAME\": \"Vanessa345\"\n },\n {\n \"NAME\": \"Victor292\"\n },\n {\n \"NAME\": \"Victor355\"\n },\n {\n \"NAME\": \"Victoria424\"\n },\n {\n \"NAME\": \"Victoria487\"\n },\n {\n \"NAME\": \"Whitney118\"\n },\n {\n \"NAME\": \"Whitney2\"\n },\n {\n \"NAME\": \"Whitney55\"\n },\n {\n \"NAME\": \"Whitney65\"\n },\n {\n \"NAME\": \"Zachary131\"\n },\n {\n \"NAME\": \"Zachary152\"\n },\n {\n \"NAME\": \"Zachary194\"\n },\n {\n \"NAME\": \"Zachary215\"\n }\n]" + } + ] + }, + { + "name": "Users By ID", + "event": [ + { + "listen": "test", + "script": { + "id": "77082576-fcd8-413f-b263-a413959ba8e6", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/10", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "10" + ] + } + }, + "response": [ + { + "name": "Users By ID", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/4", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "4" + ], + "query": [ + { + "key": "include", + "value": "{\"INVESTIGATIONUSER\":\"INVESTIGATION\"}", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "282" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Server", + "value": "Werkzeug/0.16.0 Python/3.6.8" + }, + { + "key": "Date", + "value": "Tue, 14 Jul 2020 12:22:50 GMT" + } + ], + "cookie": [], + "body": "{\n \"ID\": 4,\n \"CREATE_ID\": \"simple/root\",\n \"CREATE_TIME\": \"2020-06-02 10:46:13\",\n \"EMAIL\": \"elisa.hills@durganprice.com\",\n \"FULLNAME\": \"Erna Marvin II\",\n \"MOD_ID\": \"simple/root\",\n \"MOD_TIME\": \"2020-06-02 10:46:13\",\n \"NAME\": \"db/user11\",\n \"ORCIDID\": null\n}" + } + ] + }, + { + "name": "Count Users", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "37697db7-8b97-460d-88ca-71609015a20f", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "a1cb2b16-6025-4897-a7a7-3a66f3ce9f45", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/count", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "count" + ], + "query": [ + { + "key": "where", + "value": "{\"id\": {\"in\": [2]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"id\"", + "disabled": true + }, + { + "key": "include", + "value": "\"userGroups\"", + "disabled": true + }, + { + "key": "limit", + "value": "10", + "disabled": true + }, + { + "key": "skip", + "value": "4", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Find One Users", + "event": [ + { + "listen": "prerequest", + "script": { + "id": "9ee6d069-27e8-482a-927b-466f7d3ca2a9", + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "id": "46a5b796-5646-4d99-b9c5-82e2103c2110", + "exec": [ + "pm.test(\"Status: 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "http://{{datagateway-api}}/users/findone", + "protocol": "http", + "host": [ + "{{datagateway-api}}" + ], + "path": [ + "users", + "findone" + ], + "query": [ + { + "key": "where", + "value": "{\"ID\": {\"in\": [2, 3, 4]}}", + "disabled": true + }, + { + "key": "distinct", + "value": "\"ID\"", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "ICAT Entity Manager", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "https://icat-dev.isis.stfc.ac.uk:8181/icat/entityManager?sessionId=&query=select distinct investigation from Investigation investigation , investigation.facility as facility , facility.instruments as instrument , facility.facilityCycles as facilityCycle , investigation.investigationInstruments as investigationInstrumentPivot , investigationInstrumentPivot.instrument as investigationInstrument where facility.id = 1 and instrument.id = 23 and facilityCycle.id = 84762458 and investigationInstrument.id = instrument.id and investigation.startDate BETWEEN facilityCycle.startDate AND facilityCycle.endDate ORDER BY investigation.startDate desc, investigation.title asc , investigation.id asc limit 0, 50 include investigation.studyInvestigations.study, investigation.investigationInstruments.instrument", + "protocol": "https", + "host": [ + "icat-dev", + "isis", + "stfc", + "ac", + "uk" + ], + "port": "8181", + "path": [ + "icat", + "entityManager" + ], + "query": [ + { + "key": "sessionId", + "value": "" + }, + { + "key": "query", + "value": "select distinct facilityCycle from FacilityCycle facilityCycle , facilityCycle.facility as facility , facility.instruments as instrument , facility.investigations as investigation , investigation.investigationInstruments as investigationInstrumentPivot , investigationInstrumentPivot.instrument as investigationInstrument where facility.id = 1 and instrument.id = 4 and investigationInstrument.id = instrument.id and investigation.startDate BETWEEN facilityCycle.startDate AND facilityCycle.endDate ORDER BY facilityCycle.startDate desc, facilityCycle.name asc , facilityCycle.id asc limit 0, 50", + "disabled": true + }, + { + "key": "query", + "value": "SELECT DISTINCT(o) FROM FacilityCycle o JOIN o.facility AS f JOIN f.instruments AS s1 JOIN s1.investigationInstruments AS s2 JOIN s2.instrument AS s3 JOIN f.investigations AS s4 WHERE s1.id = '4' AND s3.id = '4' AND s4.startDate >= o.startDate AND s4.startDate <= o.endDate ORDER BY o.id ASC", + "disabled": true + }, + { + "key": "query", + "value": "SELECT o FROM Investigation o JOIN o.facility AS f JOIN f.facilityCycles AS s1 JOIN f.instruments AS s2 JOIN o.investigationInstruments AS ii JOIN ii.instrument AS s3 WHERE s1.endDate >= o.startDate AND s1.id = '22' AND s1.startDate <= o.startDate AND s2.id = '12' AND s3.id = '12' ", + "disabled": true + }, + { + "key": "query", + "value": "SELECT `FACILITYCYCLE`.`ID` AS `FACILITYCYCLE_ID`, `FACILITYCYCLE`.`CREATE_ID` AS `FACILITYCYCLE_CREATE_ID`, `FACILITYCYCLE`.`CREATE_TIME` AS `FACILITYCYCLE_CREATE_TIME`, `FACILITYCYCLE`.`DESCRIPTION` AS `FACILITYCYCLE_DESCRIPTION`, `FACILITYCYCLE`.`ENDDATE` AS `FACILITYCYCLE_ENDDATE`, `FACILITYCYCLE`.`MOD_ID` AS `FACILITYCYCLE_MOD_ID`, `FACILITYCYCLE`.`MOD_TIME` AS `FACILITYCYCLE_MOD_TIME`, `FACILITYCYCLE`.`NAME` AS `FACILITYCYCLE_NAME`, `FACILITYCYCLE`.`STARTDATE` AS `FACILITYCYCLE_STARTDATE`, `FACILITYCYCLE`.`FACILITY_ID` AS `FACILITYCYCLE_FACILITY_ID` FROM `FACILITYCYCLE` INNER JOIN `FACILITY` ON `FACILITYCYCLE`.`FACILITY_ID` = `FACILITY`.`ID` INNER JOIN `INSTRUMENT` ON `INSTRUMENT`.`FACILITY_ID` = `FACILITY`.`ID` INNER JOIN `INVESTIGATION` ON `INVESTIGATION`.`FACILITY_ID` = `FACILITY`.`ID` INNER JOIN `INVESTIGATIONINSTRUMENT` ON `INVESTIGATIONINSTRUMENT`.`INVESTIGATION_ID` = `INVESTIGATION`.`ID` INNER JOIN `INSTRUMENT` AS `INSTRUMENT_1` ON `INVESTIGATIONINSTRUMENT`.`INSTRUMENT_ID` = `INSTRUMENT_1`.`ID` WHERE `INSTRUMENT`.`ID` = %(ID_1)s AND `INSTRUMENT_1`.`ID` = `INSTRUMENT`.`ID` AND `INVESTIGATION`.`STARTDATE` >= `FACILITYCYCLE`.`STARTDATE` AND `INVESTIGATION`.`STARTDATE` <= `FACILITYCYCLE`.`ENDDATE`", + "disabled": true + }, + { + "key": "query", + "value": "select distinct facilityCycle from FacilityCycle facilityCycle , facilityCycle.facility as facility , facility.instruments as instrument , facility.investigations as investigation , investigation.investigationInstruments as investigationInstrumentPivot , investigationInstrumentPivot.instrument as investigationInstrument where facility.id = 1 and instrument.id = 23 and investigationInstrument.id = instrument.id and investigation.startDate BETWEEN facilityCycle.startDate AND facilityCycle.endDate ORDER BY facilityCycle.startDate desc, facilityCycle.name asc , facilityCycle.id asc limit 0, 50", + "disabled": true + }, + { + "key": "query", + "value": "select distinct investigation from Investigation investigation , investigation.facility as facility , facility.instruments as instrument , facility.facilityCycles as facilityCycle , investigation.investigationInstruments as investigationInstrumentPivot , investigationInstrumentPivot.instrument as investigationInstrument where facility.id = 1 and instrument.id = 23 and facilityCycle.id = 84762458 and investigationInstrument.id = instrument.id and investigation.startDate BETWEEN facilityCycle.startDate AND facilityCycle.endDate ORDER BY investigation.startDate desc, investigation.title asc , investigation.id asc limit 0, 50 include investigation.studyInvestigations.study, investigation.investigationInstruments.instrument" + } + ] + } + }, + "response": [] + }, + { + "name": "ICAT Session", + "request": { + "auth": { + "type": "noauth" + }, + "method": "GET", + "header": [], + "url": { + "raw": "https://localhost.localdomain:18181/icat/session/SESSION_ID_HERE", + "protocol": "https", + "host": [ + "localhost", + "localdomain" + ], + "port": "18181", + "path": [ + "icat", + "session", + "SESSION_ID_HERE" + ], + "query": [ + { + "key": "json", + "value": "{\"plugin\": \"db\", \"credentials\": [{\"username\":\"username\"}, {\"password\":\"password\"}]}", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "protocolProfileBehavior": {} + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{sessionID}}", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "id": "eaf55380-df65-4a46-9691-6ac53d5dea4b", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "addd7b3c-c0da-45e1-af44-d157c02522fc", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "id": "83b3665f-e4d3-44ae-a7e9-113d6d54ed15", + "key": "datagateway-api", + "value": "http://127.0.0.1:15000" + }, + { + "id": "89e7edfc-9900-4c67-b43f-4d4f21bb5744", + "key": "sessionID", + "value": "" + } + ], + "protocolProfileBehavior": {} +} \ No newline at end of file