{"info":{"_postman_id":"c472d905-8fda-4ca9-9174-dad6667b5ffa","name":"Dataprocessing Eindopdracht","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"15172879","collectionId":"c472d905-8fda-4ca9-9174-dad6667b5ffa","publishedId":"TzCLA9Fm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-03-30T08:00:20.000Z"},"item":[{"name":"Products","item":[{"name":"GET Products","id":"ee91b9c4-1c63-4c75-8901-45aca4b1232d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/products","urlObject":{"protocol":"http","port":"5000","path":["products"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"9b6b1565-bb0e-4ce0-8f16-3ed7490f8eee","name":"Get a list of all products","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:5000/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"231"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Thu, 01 Apr 2021 23:41:04 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"cat food\",\n        \"price\": 1.25,\n        \"productID\": 1\n    },\n    {\n        \"name\": \"dog food\",\n        \"price\": 5.35,\n        \"productID\": 2\n    },\n    {\n        \"name\": \"guinea pig food\",\n        \"price\": 12,\n        \"productID\": 3\n    }\n]"}],"_postman_id":"ee91b9c4-1c63-4c75-8901-45aca4b1232d"},{"name":"POST Products","id":"d87e91a8-3f0e-4f83-b2f6-e51c271796f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://127.0.0.1:5000/products","urlObject":{"protocol":"http","port":"5000","path":["products"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d87e91a8-3f0e-4f83-b2f6-e51c271796f5"},{"name":"PUT Products","id":"22c9ad46-51e5-4084-8859-066241e3d5be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://127.0.0.1:5000/products/1","urlObject":{"protocol":"http","port":"5000","path":["products","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"22c9ad46-51e5-4084-8859-066241e3d5be"},{"name":"DELETE Products","id":"640dd6bc-a241-4708-af0c-37e8de28d7cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/products/1","urlObject":{"protocol":"http","port":"5000","path":["products","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"095a6272-bf11-40bf-9bd1-c7966ae8d493","name":"Delete a product by ID","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/products/1"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"0"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Thu, 01 Apr 2021 23:54:32 GMT"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"640dd6bc-a241-4708-af0c-37e8de28d7cc"}],"id":"982651ad-d438-441c-b987-4ef38bbea25c","_postman_id":"982651ad-d438-441c-b987-4ef38bbea25c","description":""},{"name":"Employees","item":[{"name":"GET Employees","id":"6845c91c-1033-4dfc-a564-ae441487b835","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/employees","urlObject":{"protocol":"http","port":"5000","path":["employees"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5d684f36-d959-4523-8403-0c29ff604058","name":"Get a list of all employees","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/employees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"335"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Thu, 01 Apr 2021 23:44:21 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"employeeID\": 100,\n        \"firstName\": \"Pieter\",\n        \"lastName\": \"Post\",\n        \"middleInitial\": \"\"\n    },\n    {\n        \"employeeID\": 101,\n        \"firstName\": \"Jannie\",\n        \"lastName\": \"Post\",\n        \"middleInitial\": \"\"\n    },\n    {\n        \"employeeID\": 102,\n        \"firstName\": \"Jannes\",\n        \"lastName\": \"Post\",\n        \"middleInitial\": \"\"\n    }\n]"}],"_postman_id":"6845c91c-1033-4dfc-a564-ae441487b835"},{"name":"POST  Emplyees","id":"2613c439-5dd2-4cbd-9e33-1dbc890a26ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://127.0.0.1:5000/employees","urlObject":{"protocol":"http","port":"5000","path":["employees"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2613c439-5dd2-4cbd-9e33-1dbc890a26ce"},{"name":"PUT Emplyees","id":"a4d0f25e-0fce-43f7-8312-5926d328d97f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://127.0.0.1:5000/employees/100","urlObject":{"protocol":"http","port":"5000","path":["employees","100"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4d0f25e-0fce-43f7-8312-5926d328d97f"},{"name":"DELETE Emplyees","id":"8278d7bc-dc82-4d63-ba98-f1e353b5b47d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/employees/100","urlObject":{"protocol":"http","port":"5000","path":["employees","100"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"53e60e04-24ad-49a7-9a37-4c67aac25064","name":"Delete a employee by ID","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/employees/100"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"0"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Fri, 02 Apr 2021 00:04:46 GMT"}],"cookie":[],"responseTime":null,"body":null},{"id":"8616fd84-1ded-495c-b594-a18445ac24cc","name":"DELETE Emplyees","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/employees/100"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"0"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Fri, 02 Apr 2021 00:23:25 GMT"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8278d7bc-dc82-4d63-ba98-f1e353b5b47d"}],"id":"825d3e0b-d42e-4a8b-8910-1b704b92c779","_postman_id":"825d3e0b-d42e-4a8b-8910-1b704b92c779","description":""},{"name":"Customers","item":[{"name":"GET Customers","id":"583738a4-f04b-4892-96c7-cf124b06db59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/customers","urlObject":{"protocol":"http","port":"5000","path":["customers"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"3d7179e6-3d7d-4e8e-9a54-b3b66c0e12ac","name":"Get a list of all customers","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/customers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"330"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Thu, 01 Apr 2021 23:43:30 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"customerID\": 10,\n        \"firstName\": \"Karel\",\n        \"lastName\": \"Bos\",\n        \"middleInitial\": \"\"\n    },\n    {\n        \"customerID\": 11,\n        \"firstName\": \"Jan\",\n        \"lastName\": \"Pieter\",\n        \"middleInitial\": \"\"\n    },\n    {\n        \"customerID\": 12,\n        \"firstName\": \"Bert\",\n        \"lastName\": \"Ernie\",\n        \"middleInitial\": \"en\"\n    }\n]"}],"_postman_id":"583738a4-f04b-4892-96c7-cf124b06db59"},{"name":"POST Customers","id":"f74ba1eb-0c0a-4712-9281-8adb6b7608c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://127.0.0.1:5000/customers","urlObject":{"protocol":"http","port":"5000","path":["customers"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f74ba1eb-0c0a-4712-9281-8adb6b7608c0"},{"name":"PUT Customers","id":"f82edb2b-d462-4319-8529-8459e57425d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://127.0.0.1:5000/customers/10","urlObject":{"protocol":"http","port":"5000","path":["customers","10"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f82edb2b-d462-4319-8529-8459e57425d3"},{"name":"DELETE Customers","id":"45874dbc-d001-401e-a820-aed7fc8797c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/customers/10","urlObject":{"protocol":"http","port":"5000","path":["customers","10"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1aa3625f-85ac-46b6-95c8-cddc68b266e2","name":"Delete a customer by ID","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/customers/10"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"0"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Fri, 02 Apr 2021 00:02:56 GMT"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"45874dbc-d001-401e-a820-aed7fc8797c0"}],"id":"7c84997b-8939-4e50-92f3-f505882cb2b1","_postman_id":"7c84997b-8939-4e50-92f3-f505882cb2b1","description":""},{"name":"Sales","item":[{"name":"GET Sales","id":"8946a9fd-7f1f-436a-b801-ceb322385588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/sales","urlObject":{"protocol":"http","port":"5000","path":["sales"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"f2c6c76f-f6ef-4eaa-966a-315f14b4e704","name":"Get a list of all sales","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/sales"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"370"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Thu, 01 Apr 2021 23:45:48 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"customerID\": 201,\n        \"productID\": 31,\n        \"quantity\": 75,\n        \"salesID\": 21,\n        \"salesPersonalID\": 211\n    },\n    {\n        \"customerID\": 303,\n        \"productID\": 6,\n        \"quantity\": 5,\n        \"salesID\": 22,\n        \"salesPersonalID\": 206\n    },\n    {\n        \"customerID\": 303,\n        \"productID\": 8,\n        \"quantity\": 5,\n        \"salesID\": 23,\n        \"salesPersonalID\": 207\n    }\n]"}],"_postman_id":"8946a9fd-7f1f-436a-b801-ceb322385588"},{"name":"POST Sales","id":"4abeead0-435e-4a79-9d4e-753d185486ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://127.0.0.1:5000/sales","urlObject":{"protocol":"http","port":"5000","path":["sales"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4abeead0-435e-4a79-9d4e-753d185486ec"},{"name":"PUT Sales","id":"e098e602-eac2-4c51-b1d1-858eedb222f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://127.0.0.1:5000/sales/21","urlObject":{"protocol":"http","port":"5000","path":["sales","21"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e098e602-eac2-4c51-b1d1-858eedb222f0"},{"name":"DELETE Sales","id":"3847b5a3-bfc7-4ab1-9e0a-c83eff4db0b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/sales/21","urlObject":{"protocol":"http","port":"5000","path":["sales","21"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"e47768e7-e6c6-4cb5-91e8-9257e185c25d","name":"Delete a sale by ID","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:5000/sales/21"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"0"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.2"},{"key":"Date","value":"Fri, 02 Apr 2021 00:16:57 GMT"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3847b5a3-bfc7-4ab1-9e0a-c83eff4db0b4"}],"id":"61ea0401-c627-4ede-b12e-064c5fd50e1c","_postman_id":"61ea0401-c627-4ede-b12e-064c5fd50e1c","description":""}]}