{"info":{"_postman_id":"6fa2a14d-d3dc-41d7-a1b2-693452252b51","name":"Internship : API Fetch","description":"<html><head></head><body><p>The user list and the transactions list are generated using sample data. Every request will return unique results.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10440411","collectionId":"6fa2a14d-d3dc-41d7-a1b2-693452252b51","publishedId":"UVXokDWV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-01-20T14:10:28.000Z"},"item":[{"name":"Get users list","id":"62cf2c54-dd78-402a-820a-0ae6be0491ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://user-transaction-fetch-api.herokuapp.com/user","urlObject":{"protocol":"https","path":["user"],"host":["user-transaction-fetch-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"f3a4c8af-a276-459f-ab91-d84d6c6ecdc8","name":"200 : OK","originalRequest":{"method":"GET","header":[],"url":"https://user-transaction-fetch-api.herokuapp.com/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 23 Jan 2022 21:33:23 GMT"},{"key":"Server","value":"Apache/2.4.38 (Debian)"},{"key":"X-Powered-By","value":"PHP/8.1.1"},{"key":"Content-Length","value":"1002"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"angry-balloon\",\n        \"email\": \"angry-balloon@ucoz.plt\",\n        \"status\": \"passive\",\n        \"id\": 1\n    },\n    {\n        \"name\": \"smile-cucumber\",\n        \"email\": \"smile-cucumber@ucoz.indoor\",\n        \"status\": \"semi\",\n        \"id\": 2\n    },\n    {\n        \"name\": \"smile-balloon\",\n        \"email\": \"smile-balloon@site.box\",\n        \"status\": \"active\",\n        \"id\": 3\n    },\n    {\n        \"name\": \"hidden-warrior\",\n        \"email\": \"hidden-warrior@commerce.ua\",\n        \"status\": \"semi\",\n        \"id\": 4\n    },\n    {\n        \"name\": \"big-cherry\",\n        \"email\": \"big-cherry@suprunovka.plt\",\n        \"status\": \"semi\",\n        \"id\": 5\n    },\n    {\n        \"name\": \"fine-balloon\",\n        \"email\": \"fine-balloon@khpi.plt\",\n        \"status\": \"active\",\n        \"id\": 6\n    },\n    {\n        \"name\": \"small-phone\",\n        \"email\": \"small-phone@khpi.plt\",\n        \"status\": \"semi\",\n        \"id\": 7\n    },\n    {\n        \"name\": \"baby-president\",\n        \"email\": \"baby-president@meta.indoor\",\n        \"status\": \"passive\",\n        \"id\": 8\n    },\n    {\n        \"name\": \"hidden-student\",\n        \"email\": \"hidden-student@payment.kh\",\n        \"status\": \"active\",\n        \"id\": 9\n    },\n    {\n        \"name\": \"warm-student\",\n        \"email\": \"warm-student@ucoz.world\",\n        \"status\": \"passive\",\n        \"id\": 10\n    },\n    {\n        \"name\": \"fine-snail\",\n        \"email\": \"fine-snail@google.indoor\",\n        \"status\": \"semi\",\n        \"id\": 11\n    },\n    {\n        \"name\": \"smile-fox\",\n        \"email\": \"smile-fox@gmail.indoor\",\n        \"status\": \"passive\",\n        \"id\": 12\n    }\n]"}],"_postman_id":"62cf2c54-dd78-402a-820a-0ae6be0491ca"},{"name":"Get transaction list by user id","id":"9875ff6e-9857-457a-8001-89bd7e17b7db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://user-transaction-fetch-api.herokuapp.com/transaction/user/5","urlObject":{"protocol":"https","path":["transaction","user","5"],"host":["user-transaction-fetch-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"19c2e078-d305-4eed-8bc3-8f1ab5504fcd","name":"200 : OK","originalRequest":{"method":"GET","header":[],"url":"https://user-transaction-fetch-api.herokuapp.com/transaction/user/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 20 Jan 2022 14:07:11 GMT"},{"key":"Server","value":"Apache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"identifier\": \"61e96c8f70ab5\",\n        \"timestamp\": 1642002067,\n        \"line\": {\n            \"price\": 545,\n            \"product_name\": \"Milk\",\n            \"quantity\": 22\n        },\n        \"customer_id\": \"1\"\n    },\n    {\n        \"identifier\": \"61e96c8f70abe\",\n        \"timestamp\": 1642001965,\n        \"line\": {\n            \"price\": 153,\n            \"product_name\": \"Coca-cola\",\n            \"quantity\": 70\n        },\n        \"customer_id\": \"1\"\n    },\n    {\n        \"identifier\": \"61e96c8f70ac0\",\n        \"timestamp\": 1642001668,\n        \"line\": {\n            \"price\": 880,\n            \"product_name\": \"Nuts\",\n            \"quantity\": 10\n        },\n        \"customer_id\": \"1\"\n    },\n    {\n        \"identifier\": \"61e96c8f70ac1\",\n        \"timestamp\": 1642001767,\n        \"line\": {\n            \"price\": 919,\n            \"product_name\": \"Panda\",\n            \"quantity\": 76\n        },\n        \"customer_id\": \"1\"\n    },\n    {\n        \"identifier\": \"61e96c8f70ac2\",\n        \"timestamp\": 1642000926,\n        \"line\": {\n            \"price\": 153,\n            \"product_name\": \"Porridge\",\n            \"quantity\": 62\n        },\n        \"customer_id\": \"1\"\n    },\n    {\n        \"identifier\": \"61e96c8f70ac3\",\n        \"timestamp\": 1642001378,\n        \"line\": {\n            \"price\": 370,\n            \"product_name\": \"Milk\",\n            \"quantity\": 85\n        },\n        \"customer_id\": \"1\"\n    },\n    {\n        \"identifier\": \"61e96c8f70ac4\",\n        \"timestamp\": 1642001603,\n        \"line\": {\n            \"price\": 451,\n            \"product_name\": \"Coca-cola\",\n            \"quantity\": 18\n        },\n        \"customer_id\": \"1\"\n    },\n    {\n        \"identifier\": \"61e96c8f70ac5\",\n        \"timestamp\": 1642001472,\n        \"line\": {\n            \"price\": 763,\n            \"product_name\": \"Water\",\n            \"quantity\": 11\n        },\n        \"customer_id\": \"1\"\n    }\n]"},{"id":"9e1e766d-4988-4d9a-ab9f-dfafb9431af7","name":"404  : Not Found","originalRequest":{"method":"GET","header":[],"url":"https://user-transaction-fetch-api.herokuapp.com/transaction/user/9"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 20 Jan 2022 14:07:21 GMT"},{"key":"Server","value":"Apache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"9875ff6e-9857-457a-8001-89bd7e17b7db"},{"name":"Get log","id":"f3b60f01-c178-49df-9166-934ee4fc30fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://user-transaction-fetch-api.herokuapp.com/log","urlObject":{"protocol":"https","path":["log"],"host":["user-transaction-fetch-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3b60f01-c178-49df-9166-934ee4fc30fc"},{"name":"Taxi Rate calculator demo","id":"7e8ef5ee-ece5-4b33-8c56-5e7d27d9808c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"function calculate ($rate){\n    return $rate;\n}","options":{"raw":{"language":"text"}}},"url":"localhost:8011/taxi/demo","urlObject":{"port":"8011","path":["taxi","demo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e8ef5ee-ece5-4b33-8c56-5e7d27d9808c"}]}